RESOURCE_NOT_FOUND issue in both sandbox and live

liman
Contributor
Contributor

Hi Paypal Team,

 

My team keep getting INVALID_RESOURCE_ID in response once a while when trying to get order using the checkout version 2 rest apis.

Example is the response; 

 

{"name":"RESOURCE_NOT_FOUND","details":[{"issue":"INVALID_RESOURCE_ID","description":"Specified resource ID does not exist. Please check the resource ID and try again."}],"message":"The specified resource does not exist.","debug_id":"a79a98a9b55c4","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_RESOURCE_ID","rel":"information_link"..."}]}

 

Meanwhile the order id we are using was actually from paypal. We used this link ; https://developer.paypal.com/docs/checkout/integrate/#6-verify-the-transaction

The issue comes from  line , request = OrdersGetRequest(order_id) , order_id being the transaction id we get from paypal.

 

Can you please help?

 

Login to Me Too
34 REPLIES 34

apesyntax
Contributor
Contributor

This is the same issue I had, but not sure if this is a problem of me living in Mexico, but the same thing solved the issue I just switched to live URL and it got through this error.  

 

thanks for the feedback.

Login to Me Too

cartmanila
Contributor
Contributor

Hello Paypal team. I'm also having they same issue. Could someone take a look on the debug id i just posted.

 

{"name":"RESOURCE_NOT_FOUND","details":[{"issue":"INVALID_RESOURCE_ID","description":"Specified resource ID does not exist. Please check the resource ID and try again."}],"message":"The specified resource does not exist.","debug_id":"c2830c4e0f305","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_RESOURCE_ID","rel":"information_link"..."}]}

Login to Me Too

UweRichter
Contributor
Contributor

is there any solution? it just ends here?!

Login to Me Too
Solved

SirVivor
New Community Member

Hi Paypal-Team,

I had exactly the same problem, in my case it was the examples, because there is used:

$ AuthorizationsCaptureRequest($authorizationId);

but after the first steps in your example it has to be

$request = new OrdersCaptureRequest($orderId);

 

This took me about 3 hours... The GitHub-Examples for the Checkout-PHP-SDK are really a mess.

Florian

Login to Me Too

MTS_Justin
Moderator
Moderator
Hello,

Thanks for your update and sharing the solution you found.

Our SDK's are depreciated and therefore are not currently being updated.

@all -- If you experience a similar issue in the future, please create a new thread to report the issue in.

Thanks !

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Haven't Found your Answer?

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