Code 500(INTERNAL_SERVER_ERROR) when trying to authorize order AFTER order approved by customer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to build a payment flow using PHP and your REST API.
I am able to create an order, have the user approve it, but when I get around to authorize the payment, I am getting an error code 500, with the text: INTERNAL_SERVER_ERROR. My debug id is: c27acb33a0611
When I create an order with intent to capture, I get a correctly informed error message, but when I try to use the flow as intended, with the intent set to AUTHORIZE, I am simply not able to make the call.
What do I do? I am using the follwing calls in order:
1. v2/checkout/orders
2. (Have the user approve the order)
3. v2/checkout/orders/{id}/authorize
I am getting an error at point 3. I should also mention that I am working in Sandbox mode.
- Labels:
-
Payments REST APIs

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Assistance Needed: Passing and Retrieving Custom Data in PayPal Webhook Payload in PayPal Payments Standard
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- Payments Refunded Automatically After Successful Transactions - PayPal Business Account Issue in REST APIs
- How to enable on-demand / recurring payments to existing PayPal checkout? in SDKs
- iDEAL payments being refunded back to customers in PayPal Payments Standard