cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving 500 Internal Server Error with basic js workflow

Contributor

Receiving 500 Internal Server Error with basic js workflow

Hi,

 

i'm receiving a 500 Server error most of the time with a basic integration of the paypal buttons - and therefore checkout.

 

Everything looks ok until this request (ordernumber is always different but not valid when it comes to a 500):

https://www.sandbox.paypal.com/webapps/hermes/api/order/*****/capture

 

It returns a 500 :

 

{"ack":"error","message":"Unhandled api error","meta":{"calc":"14a1a10ed47d3","rlog":"ypXqGXIrJLbuliO3bbBEWAdlN7trlfNi1o5Fq7nPVnA%2Bf1qHYgKE6Asd1fbHd%2Bex%2FIzqYptnS7aaaFdnAz%2BPiQ_16915871fa7"},"server":"1-P8TMckWiIkytlHVM2u4l4kYhEIbZJr0J6CSbkY03JF4VkBdPWL5JvihWIShgwJI-FS-q-YCh7eIFOERddRcfTrS_aJO1iRr3-vXGLyu7FPKs3BdvZ0muskcYG8iKgcw9O5rWP2WcMRa4dsd6lBdsp5mlDLA5W1qoxoEmbG3Jq6Ksi_hGhxJJr87Ivy9BQEFgbrLvC0SG3BeftpzgEHQWQRhDWAXD7MsuII5IQOXklKlxUF73gIRniVgNFB4NU4"}

 

Merchant-ID: 6RY3V5ZAV5558

 

Is there an issue with the sandbox or is there anything wrong with the implementation ? (which is unlikely since it's practically the sample code)

2 REPLIES 2
New Community Member

Re: Receiving 500 Internal Server Error with basic js workflow

I'm having really bad time with this.

Any tips?

Thanks

Contributor

Re: Receiving 500 Internal Server Error with basic js workflow

I have users (less than 1%) that are experiencing this as well on production. I realize the OP specified the sandbox environment but I thought I'd try adding to this post since the issues seem similar and error in the response is the same. Unfortunately I have no additional details I can add to help figure out what's going on here. A similar post (https://www.paypal-community.com/t5/SDKs/Sandbox-Account-Error-Order-could-not-be-captured/td-p/1761...) I found suggested that users may need to log out and then log back into paypal. I'll report back here if that fixes the issue.

 

It would be nice if a paypal engineer commented on the status of this issue -- waiting for more info, looking into the logs and trying to reproduce, etc.

 

Merch ID: V5UX5DWTG5PCC

 

paypal_order-could-not-be-captured.pngScreen Shot 2019-10-15 at 2.46.54 PM.png