Seeing “[RESOURCE_NOT_FOUND] The specified resource does not exist. INVALID_RESOURCE_ID” in your WooCommerce PayPal Payments logs or order notes? In plain English, PayPal is saying: “The thing you want me to charge doesn’t exist (for this account/mode).” That usually comes down to one of four things: a Live vs Sandbox mix-up, a broken connection/webhook, a bad/expired PayPal order ID, or PayPal declining the attempt. Let’s sort out which one you’re dealing with and get checkouts working again.
WooCommerce PayPal Payments is failing with “[RESOURCE_NOT_FOUND] The specified resource does not exist. INVALID_RESOURCE_ID” and the order goes to Failed. What’s causing this, and how do I fix it?
If you’re wondering what’s broken: PayPal is being asked to work with an order it can’t find for this account and mode.
The error usually looks something like this:
[RESOURCE_NOT_FOUND] The specified resource does not exist. {"issue":"INVALID_RESOURCE_ID","description":"Specified resource ID does not exist."}
In plain English:
“That PayPal order or payment ID doesn’t exist here.”
“Here” might be:
In WooCommerce PayPal Payments, this usually comes from:
RESOURCE_NOT_FOUND.Let’s narrow it down.
Start with a failed order that shows this error.
Look for PayPal-related notes and the error text.
[RESOURCE_NOT_FOUND] and INVALID_RESOURCE_ID.Based on what you see:
[RESOURCE_NOT_FOUND] ... INVALID_RESOURCE_ID without an explicit decline, go to Step 2.Now decide whether this is a mode/ID problem or a connection problem.
ppcp or paypal and today’s date.Near the bottom, look for:
/v2/checkout/orders/<id> or a PATCH to that order.https://api-m.paypal.com → Live.https://api-m.sandbox.paypal.com → Sandbox.Next step depends on what you find:
When the order note says “Payment provider declined the payment” and the log includes RESOURCE_NOT_FOUND / INVALID_RESOURCE_ID, the integration is working.
PayPal got the request.
PayPal just didn’t like it.
INVALID_RESOURCE_ID / RESOURCE_NOT_FOUND error and include that debug ID.Key point: if PayPal is declining the payment, there’s nothing to “fix” in WooCommerce. Your options are another payment method or a policy change on PayPal’s side.
If the log shows requests going to the wrong environment, WooCommerce is trying to act on an order that lives somewhere else.
Going forward: don’t re-use IDs or tokens across environments. Sandbox orders are invisible in Live, and Live orders are invisible in Sandbox. Mixing them almost always leads to INVALID_RESOURCE_ID.
If you see RESOURCE_NOT_FOUND / INVALID_RESOURCE_ID together with timeouts, DNS errors, or repeated retries, something between your site and PayPal is in the way.
Common signs:
Aggressive caching or security tools can block PayPal’s callbacks.
/checkout/).wc-ajax endpoints the PayPal plugin uses.If the error disappears with those protections off, add permanent exceptions for the WooCommerce API and checkout pages, then turn your security features back on.
Sometimes another plugin or theme causes the problem.
If that works, re-enable plugins in small groups until the error returns. The last one you turned on is the likely conflict. You can then replace it or send that vendor your log snippet and PayPal debug ID.
If new one-off purchases work but subscription renewals or charges using a saved method fail with INVALID_RESOURCE_ID, the vault ID or billing agreement PayPal is using is no longer valid.
Once a customer has a fresh, valid token on the current account, renewals for that subscription should stop hitting INVALID_RESOURCE_ID.
You’re in good shape when:
RESOURCE_NOT_FOUND / INVALID_RESOURCE_ID in the log.v2/checkout/orders calls against the right environment (Live vs Sandbox) with no 404s.Hit Continue Chat and paste a fresh log snippet, including the debug_id and the request URL. I’ll help you read it and narrow down the cause on your site.
Scroll down to the contact form. Enter your name, email, and WordPress needs. Someone from Atiba will review your setup and get back to you as soon as possible.
WP Assistant is a free tool created by Atiba Software, a WordPress design and development company located in Nashville, TN. If you need more personalized WordPress assistance let us know, and we’ll get back to you ASAP!