Reputation: 7778
I want to get the authorization id from sales order if the payment is done using the paypal express checkout. I am able to get payer id and correlation id.
Can I get authorization id using these two values if yes How?
Upvotes: 0
Views: 1388
Reputation: 19356
You'll need to call our DoExpressCheckoutPayment
API to finalize the transaction once the buyer has returned back to your (specifically, to the page indicated in your RETURNURL parameter).
After you've called DoExpressCheckoutPayment
, the response will contain a PAYMENTSTATUS=Pending
and a TRANSACTIONID
. Its value will be your authorizationID.
You can subsequently capture this authorization with our DoCapture
API.
Upvotes: 1