Account: Sandbox
The create payment (API: https://api.sandbox.paypal.com/v1/payments/payment) is creating the payment and returning the success status.
The Authorize function returns a payer id which is passed to execute API (API: https://api.sandbox.paypal.com/v1/payments/payment/<paymentId>/execute/), which returns a bad request.
I have verified the correctness of the Authorization token, payment Id and the payer id, and they are as expected.
Kindly help. Kindly let me know if I need to furnish more details.
... View more