Order API returned me Internal Server Error

behjianyuan
Contributor
Contributor

I have been returned with Internal Server Error for the past 2 days when I have passed all necessary header to the API in sandbox.


API -> /v2/checkout/orders/{order_id}/capture Link to API doc 

So I have passed my access token, set application to json and included one of my sandbox-ed order_id and yet I am receiving this error. I am baffled on the error. Anyhow, the reason I need this API to work is to get the capture_id so that I could proceed. If anyone knows another way/API to get the capture_id, do tell me. 

Thanks for all the help in advance!

Login to Me Too
1 REPLY 1

MTS_Jennifer
Moderator
Moderator

Hello,

Thank you for posting to the Merchant Technical Support Community.

That particular error message can happen for many different reasons, here's a few possibilities:

  • PayPal Maintenance Window (Try your API call at a different time)
  • You have a missing or incorrect parameter in your request (do a var dump to make sure that all your variables are passing correct information)
  • Your request was interrupted before it could be completed (verify your time out settings)

Here is a listing of our http status code errors.

 

Thank you,

Jennifer

PayPal

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.