How to test a PayPal capture API call with Sandbox -
i have setup paypal sandbox test accounts, personal (buyer) , business (merchant).
i'd test paypal 'docapture' api operation. problem i'm encountering need authorizationid , don't know how obtain it. if run 'doexpresscheckoutpayment' api call, not authorizationid returned, using merchant api credentials, though 'ack' of success. need using buyer credentials 'doexpresscheckoutpayment' call? don't see api credentials in paypal sandbox profile personal account.
express checkout example authorization , capturing can find here.
short answer - according docapture documentation
authorizationid ... transaction id returned doexpresscheckoutpayment...
according doexpresscheckout documentation need field response, attention, paymentinfo#transactionid
... value authorizationid use authorization & capture apis.
Comments
Post a Comment