API order INTERNAL_SERVICE_ERROR live and sandbox

kandt
Contributor
Contributor

Hi all, hoping to get some help on my issue (on sandbox and live). 

I am trying to process a payment through the 'Orders' rest api (mock api here: https://www.paypal.com/apex/product-profile/orders/payOrder).
 
I can create an order [POST https://api.sandbox.paypal.com/v1/checkout/orders/],

which redirects me to a payment page.

From there, after I authorize funds, I get sent to the return_url (which I specified), which makes a pay api call

[POST https://api.sandbox.paypal.com/v1/checkout/orders/<ORDER_ID>/pay]
But the payment api call fails and returns this

 

{
name: 'INTERNAL_SERVICE_ERROR',
message: 'The server encountered an internal error that prevented it from fulfilling this request.',
information_link: 'https://developer.paypal.com/docs/api/orders#errors',
debug_id: 'f82adb69bf00b'
}


I have tried the Apex api mock service - it only works with the default data, and if you try to submit the same requests through an external tool like cURL or Postman, it will error out with INTERNAL_SERVICE_ERROR

Not sure where to go from there.

Login to Me Too
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.