Checkout flow - Javascript and REST satus PAYER_ACTION_REQUIRED
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to use a combination of the Javascript SDK from the client browser and the REST API from my server to process a payment. Here's the flow:
1. Javascript on the client browser uses paypal.Buttons (intent=authorize) to create an order
2. Pop up window displays
3. User approves payment
4. Javascript in the onApprove() function captures the orderID and passes it to the server
5. Server uses the REST API to authorize (POST to /v2/checkout/orders/orderid/authorize)
The authorize call returns status of PAYER_ACTION_REQUIRED.
Why? The user has already approved the payment. Why is further action required?
I am missing something about how the flow is supposed to work.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- ExpressCheckout to REST API - Is Partner Program Now Required to Host Simple 3rd Party Transactions? in REST APIs
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs
- Credit card payment error in woocommerce in PayPal Payments Standard
- PAYER_ACTION_REQUIRED in REST APIs