INVALID_RESOURCE_ID error

surfmappers
Contributor
Contributor

I'm getting this error from Python paypalrestsdk (1.11.5) (https://pypi.org/project/paypalrestsdk/1.11.5/)

 

  • INVALID_RESOURCE_ID: The requested resource ID was not found

Even that the payment_id seems correct: PAYID-LSR47DY4KD72608JN556963G

 

My code is just something like that:

  payment = paypalrestsdk.Payment.find(payment_id)

 

This ocur when paypal redirect me to success URL (therefore paypal that send me this code and then tell me that is invalid?)

Any help?

Login to Me Too
1 REPLY 1

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.