400{"name":"BUSINESS_VALIDATION_ERROR","debug_id":"a307b11d5d6e4","message":"Validation Error.","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","details":[{"field":"validation_failure","issue":"Invalid Payment Token."}]}PayPal\Exception\PayPalConnectionException: Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/billing-agreements/EC-9B5301987B875725B/agreement-execute. in /home/coursean/public_html/application/third_party/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php:207 Stack trace: #0 /home/coursean/public_html/application/third_party/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php(78): PayPal\Core\PayPalHttpConnection->execute('') #1 /home/coursean/public_html/application/third_party/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalResourceModel.php(104): PayPal\Transport\PayPalRestCall->execute(Array, '/v1/payments/bi...', 'POST', '', Array) #2 /home/coursean/public_html/application/third_party/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Api/Agreement.php(408): PayPal\Common\PayPalResourceModel::executeCall('/v1/payments/bi...', 'POST', '', NULL, Object(PayPal\Rest\ApiContext), Object(PayPal\Transport\PayPalRestCall)) #3 /home/coursean/public_html/application/libraries/Paypal_lib.php(370): PayPal\Api\Agreement->execute('EC-9B5301987B87...', Object(PayPal\Rest\ApiContext)) #4 /home/coursean/public_html/application/controllers/Paypal.php(193): Paypal_lib->execute_billing_agreement('EC-9B5301987B87...') #5 /home/coursean/public_html/system/core/CodeIgniter.php(532): Paypal->ipn_billing() #6 /home/coursean/public_html/index.php(320): require_once('/home/coursean/...') #7 {main}