- 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
Accepted Solutions
- 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
I'm also getting same issue. but it worked before one week. ( i have check client id and secrets).
{"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":"b44913a6c553d","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
Are you still facing an issue ? if you are can you please paste the debug_id":"b44913a6c553d" and the environment sandbox or live so we can help debug the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think I have the same problem. I started to implement PayPal Checkout on a site we are developing. All the client code seems to be working fine. Here is the result I get back which I think means the order has been completed and captured
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
J replaced my Sandbox Credentials with Live credentials and everything works as I would expect. Is this just an issue with the sandbox?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having my engineers take a look - we will get back soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any updates? I am getting the same problem, double check the client ID and Security key all is fine but still getting the same problem "Resource _NOT_Found", "debug_id" is "64684278ed69e"
{"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":"64684278ed69e","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
I think we know what you might be doing - it looks like you are using the "id" for the Capture (purchase_units.captures.id instead of the "id" for the Order to look up the Order.
Can you paste the response for Create Order / Capture Order and the URI you are using for Get Order and I should be able to point it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm sure I used the order id and not the capture id. I even copied and used the URL returned in the links array
In the above example I posted, the link I attempted to retrieve was
"href": "https://api.sandbox.paypal.com/v2/checkout/orders/7WM38203LM766873W",
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried switching credentials back to my sandbox account and it did work this time. I don't think I changed anything else since I tried it last week.

- « 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