API order INTERNAL_SERVICE_ERROR live and sandbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- failed to pay with sandbox account in Sandbox Environment
- Paypal 3DS intigration error in NVP/SOAP APIs
- PERMISSION_DENIED trying to refund capture in live mode in REST APIs
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs
- permission_denied response in call to patch order when paying by Card in Braintree Client-side Integration (JS, iOS, Android SDKs)