Paypal sandbox payment returns 500: internal server error

Peter2962
Contributor
Contributor

Hi,

I have been trying to test my paypal payment integration using php sdk but after redirecting from paypal payment page to my side, i get internal server error. What could be causing this? And how do i solve the problem?

Request details:

Endpoint: https://api.sandbox.paypal.com/v1/payments/payment/{paymentId}/execute
Auth: Authorization Bearer {generatedAccessToken}
Accept: application/json

Body: payer_id -> {generated payerID parameter}

Thank you.

Login to Me Too
1 REPLY 1

MTS_Justin
Moderator
Moderator
Hello,

A PayPal correlation or debug id should be returned in the response where the "10001" error was reported.

Please share this correlation / debug id so I can review it.

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.