paypal - INVALID_RESOURCE_ID when Authorization.Capture is called on an authorized payment using sandbox account -


i using paypal.1.6.0\lib\net45\paypal.dll

i created payment authorize intent , have authorized authid (payment.cart) , paypal.api.payment.id.

when try call authorization.capture(apicontext, capture) authid, get

{      "name":"invalid_resource_id",     "message":"the requested resource id not found",     "information_link":"https://developer.paypal.com/webapps/developer/docs/api/#invalid_resource_id",     "debug_id":"d73f6a0c1b8bc" } 

i tested using sandbox account.

trying link gets me 'page not found error'. clues?

i realized looking @ wrong 'authorization code'. not ((payment)executedpayment).cart posted in original question ((payment)executedpayment).transactions.firstordefault().authorization.id

i able use correct authcode , able capture authorization. executedpayment return value payment.execute method.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -