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.
- can we assign a unique detail to every subscription creation? in NVP/SOAP APIs
- Need help to integrate PayPal Checkout with Ecwid in PayPal Upgrade Community
- Buy Now button in the sandbox - no customer confirmation email in Sandbox Environment
- Mandatory Account Creation Hindering Customer Experience in REST APIs
- “This payment cannot be processed because there was an error with the capture order API call”. in REST APIs