- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I call "create payment", I get the following response from the server: The access token added to the header is also valid. The request seems to be OK. Do you have a limit on the number of times you can call sandbox paypal api a day? Or is there something I'm letting go of?
curl --request POST --url https://api.sandbox.paypal.com/v1/payments/payment --header 'Content-Type: application/json' --Authorization Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --data '{ "intent": "sale", "payer": { "payment_method": "paypal", "status": null, "funding_instruments": null, "external_selected_funding_instrument_type": null, "payer_info": null }, "transactions":[{ "amount": { "currency": "USD","total": "1,000.00" }, "payee": null, "description": null, "note_to_payee": null, "custom": null, "invoice_number": null, "soft_descriptor": null, "payment_options": null, "item_list": null, "notify_url": null, "order_url": null, "related_resources": null } ], "redirect_urls": { "return_url": "http://localhost:8081/pay/temp/confirm?orderSheetNo=", "cancel_url": "http://localhost:8081/pay/temp/confirm?orderSheetNo=" } } '
response
{ "name": "INTERNAL_SERVICE_ERROR", "message": "An internal service error has occurred", "information_link": "https://developer.paypal.com/docs/api/payments/#errors", "debug_id": "bd3f748b9c01" }
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, checked in the logs and see that we had a temporary issue on Sandbox, fixed it now. Do you still experience the same issue?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, checked in the logs and see that we had a temporary issue on Sandbox, fixed it now. Do you still experience the same issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was also having these errors last week and am again getting 'INTERNAL_SERVICE_ERROR' in response to authorization creation requests from api.sandbox.paypal.com.
{
"name": "INTERNAL_SERVICE_ERROR",
"message": "An internal service error occurred.",
"information_link": "https://developer.paypal.com/docs/api/payments/#errors",
"debug_id": "32a335d7af26c"
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, in your request you are passing "payment_method": "credit_card" but as your Sandbox account is not PRO then it will fail. You can either pass "payment_method": "paypal" or upgrade the Sandbox account as PRO:
- Go to https://developer.paypal.com
- click "Login into Dashboard" on the top right corner of the page
- Log in with your PayPal credentials
- Click on "Accounts", beside "Sandbox" at the left-hand side of the page
- Click on the gray arrow beside the account you want to upgrade to PRO
- Click on "Profile" under the email address
- Click on "Upgrade to PRO", near to "Account type"
- Click on "Enable" in order to confirm your request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I am facing the same problem error 500
"debug_id":"ef6e1fd718f8b"
Request seems to be working on my local maching no sand box. But when I send it from server It's giving me 500 error.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, in your case the issue is the same, the Sandbox account is not PRO and you are calling a payment creation with payment_method : credit_card. In your case as the Sandbox account is from UAE is not possible to use PRO. Create instead an US or UK account and upgrade it to PRO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Me tooo!
ERROR: Error: Request to post https://www.sandbox.paypal.com/v1/payments/payment failed with 500 error. Correlation id: 4cc97eaf743f0, 4cc97eaf743f0
{
"name": "INTERNAL_SERVICE_ERROR",
"message": "An internal service error has occurred",
"information_link": "https://developer.paypal.com/docs/api/payments/#errors",
"debug_id": "4cc97eaf743f0"
}
request/</<@https://www.paypalobjects.com/api/checkout.js:14232:39
./node_modules/post-robot/src/index.js/_RECEIVE_MESSAGE_TYPE[conf.b.POST_MESSAGE_TYPE.RESPONSE]@https://www.paypalobjects.com/api/checkout.js:3192:31
receiveMessage@https://www.paypalobjects.com/api/checkout.js:2742:25
messageListener@https://www.paypalobjects.com/api/checkout.js:2763:13
./node_modules/post-robot/src/index.js/_RECEIVE_MESSAGE_TYPE[conf.b.POST_MESSAGE_TYPE.RESPONSE]@https://www.paypalobjects.com/api/checkout.js:3192:31
receiveMessage@https://www.paypalobjects.com/api/checkout.js:2742:25
messageListener@https://www.paypalobjects.com/api/checkout.js:2763:13
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I also get an this error
The JSon returned for me is.
'{"name":"INTERNAL_SERVICE_ERROR","debug_id":"e1e2f89a37856","message":"An internal service error has occurred. Resend the request at another time. If this error continues, contact PayPal Merchant Technical Support.","details":[]}'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello in live mode i have same error
[27-1[Removed. Phone #s not permitted] PayPal\Core\PayPalHttpConnection : INFO: Response Status : 500
[27-1[Removed. Phone #s not permitted] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 500 when accessing https://api.paypal.com/v1/payments/payment/PAYID-MU6BZVY85636573V85463431/execute. {"name":"INTERNAL_SERVICE_ERROR","message":"An internal service error has occurred","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"fa98bd460cf3d"}

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