INTERNAL_SERVICE_ERROR on checkout/pay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I try to use checkout from docs (all data is got from https://developer.paypal.com/docs/marketplaces/orders/integration-guide/#create-order this page, i just replaces emails with my own? 2 emails for receive money, and one for payment).
The steps are:
1. i get access token (success action)
2. i create an checkout (success action)
3. i confirm this checkout by client (success action)
4. i get checkout info, (order status is COMPLETED, purchase_units status is PENDING)
5. i try to pay the order and get an 500 error:
{
"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/#INTERNAL_SERVICE_ERROR",
"debug_id": "490c47f865964"
}
All required headers i set (Accept, Authorization, Content-Type)
And i get this 500 error always, i can't pay. what i do wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
This issue is due to the order API permissions for marketplaces not being enabled on your sandbox account.
Testing for order API for marketplaces within the sandbox environment won't be available until this summer.
Was my post helpful? If so, please give me a kudos!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Internal Server Error 500 in SDKs
- 500 INTERNAL_SERVICE_ERROR on /v2/checkout/orders using vault_id as payment_source in REST APIs
- INTERNAL_SERVICE_ERROR when calling PATCH /v2/checkout/orders/ on Sandbox in Sandbox Environment
- INTERNAL_SERVICE_ERROR capture in Sandbox Environment
- Add tracking INVALID_TRANSACTION_ID in REST APIs