Internal server error, trying to execute an approved payment
elitu
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Nov-04-2017
11:52 PM
Hi,
I have'nt touched a thing(it was working just fine for a few days) , and suddenly i'm getting internal server error, trying to execute an approved payment
payments/payment/#{payment_id}/execute
The create payment response:
{"id":"PAY-86J33994G20450222LH7LAJQ","intent":"authorize","state":"created","payer":{"payment_method":"paypal"},"application_context":{"locale":"en-US","landing_page":"login","brand_name":"Challenge Hero","shipping_preference":"no_shipping"},"transactions":[{"amount":{"total":"1.00","currency":"USD","details":{"subtotal":"1.00"}},"payee":{"email":"mailofeli-facilitator- at - gmail.com"},"description":"The challenge itself","item_list":{"items":[{"name":"Challenge 205","sku":"205","price":"1.00","currency":"USD","quantity":1}]},"related_resources":[]}],"create_time":"2017-11-05T06:31:01Z","links":[{"href":"https://api.sandbox.paypal.com/v1/payments/payment/PAY-86J33994G20450222LH7LAJQ","rel":"self","method":"GET"},{"href":"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1JA17170S7098914J","rel":"approval_url","method":"REDIRECT"},{"href":"https://api.sandbox.paypal.com/v1/payments/payment/PAY-86J33994G20450222LH7LAJQ/execute","rel":"execute","method":"POST"}]}
The execute response:
{"name":"INTERNAL_SERVICE_ERROR","details":[],"message":"An internal service error has occurred","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"6b106add793f0"}
4 REPLIES 4
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov-06-2017
02:40 AM
Hello,
I've tested this today and it's working for me. Maybe it was a temporary issue on the 5th.
"id": "PAY-20K14080GF620573XLIADXOQ",
"intent": "sale",
"state": "approved",
"cart": "7KN130900B100772H",
"payer": {
"payment_method": "paypal",
"status": "VERIFIED",
Was my post helpful? If so, please give me a kudos!
I've tested this today and it's working for me. Maybe it was a temporary issue on the 5th.
"id": "PAY-20K14080GF620573XLIADXOQ",
"intent": "sale",
"state": "approved",
"cart": "7KN130900B100772H",
"payer": {
"payment_method": "paypal",
"status": "VERIFIED",
Was my post helpful? If so, please give me a kudos!
elitu
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov-06-2017
03:09 AM
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov-06-2017
05:36 AM
Hi,
Tested again, with intent as "authorize"
"id": "PAY-47P01548E7550111ELIAGJRY",
"intent": "authorize",
"state": "approved",
"cart": "5NT684718R2516221",
"payer": {
"payment_method": "paypal",
"status": "VERIFIED",
Was my post helpful? If so, please give me a kudos!
Tested again, with intent as "authorize"
"id": "PAY-47P01548E7550111ELIAGJRY",
"intent": "authorize",
"state": "approved",
"cart": "5NT684718R2516221",
"payer": {
"payment_method": "paypal",
"status": "VERIFIED",
Was my post helpful? If so, please give me a kudos!
elitu
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov-06-2017
11:40 PM
It's working now, but i'm afraid it won't tommorow. It's not stable and frustrating.
(The attached image is taken from my system log - the create action result on the left , the execute on the right.)
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Paypal Pay button generates GENERIC_ERROR in PayPal Payments Standard
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- PayPal Standard Checkout Integration in PHP (500 error) in Sandbox Environment
- Payment not automatically being captured, funds not transferred in Sandbox Environment
- PayPal Native checkout card errors in Sandbox Environment