Developer - request multiple authorizations for an order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An order is valid for 29 days. During this period, you can request from one to ten or more authorizations to ensure the availability of funds. By default, you can make up to ten basic authorizations for each order. To configure your account to enable up to 99 basic authorizations for each order, contact PayPal Customer Support. https://developer.paypal.com/docs/integration/direct/payments/orders/#overview
How do I create multiple authorizations for an order?
I tried creating an order with intent=authorize and then post
https://api.paypal.com/v2/checkout/orders/orderId/authorize
First it succeeded, yet when I want to create another authorization, it gave me error:
issue":"ORDER_ALREADY_AUTHORIZED","description":"Order already authorized.If 'intent=AUTHORIZE' only one authorization per order is allowed."
"debug_id":"47084737aefa3"
So I canceled the original authorization and then tried to create a new one, still got the same error.
Then I changed intent=capture, it gave me
"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"ACTION_DOES_NOT_MATCH_INTENT","description":"Order was created with an intent to 'CAPTURE'. Please use v2/checkout/orders/order_id/capture to complete the transaction or alternately Create an order with an intent of 'AUTHORIZE'."
"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"8c381672a8f1e"
Any help would be much appreciated!!!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Im am a developer and i am having issues getting google pay to work on my account. in Sandbox Environment
- Partial authorizations for standard checkout in REST APIs
- Unable to get Client Secret in the Developer Sandbox. in Sandbox Environment
- Unable to login with sandbox credentials to Test "Login with Paypal" button. in Sandbox Environment
- Redirect back to my website after successful Subscription in Sandbox Environment