- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Labels:
-
API
-
Express Checkout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"..."}]}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!

- « Previous page
- Next page »
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- subscription_id has disappeared in REST APIs
- Unable to issue a refund from our business sandbox account in Sandbox Environment
- Recurring Payment issue in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Can't create a new Sandbox app as platform in Sandbox Environment