Payment execution returns "Client Authentication failed" error
OrCam
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Aug-12-2018
11:20 PM
Hi,
Trying to execute a payment using PHP-SDK, all the process goes well until the execution.
$payment = \PayPal\Api\Payment::get($paymentId, $this->apiContext); $execution = new \PayPal\Api\PaymentExecution(); $execution->setPayerId($payerID); try { $result = $payment->execute($execution, $this->apiContext); try { $payment = PayPal\Api\Payment::get($paymentId, $this->apiContext); } catch (Exception $ex) { exit(1); } } catch (Exception $ex) { exit(1); }
Running the execution function failed every time with the same "Client Authentication failed" error.
Why the authentication failed only for the execution? what i'mdoing wrong?
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Webhook deregistration issue and event validation issue in REST APIs
- How to retrieve merchant integration status through the API? in REST APIs
- Problem setting up Third-Party API Users in NVP/SOAP APIs
- Is anyone having a problem integrating a Business Account into the WordPress store? in PayPal Payments Standard
- I Have PayPal API Billing Authentication Failure Python-Flask in REST APIs