Specified resource ID does not exist. Please check the resource ID and try again

BeanWei
Contributor
Contributor

Hi,

 

I need paypal team help!

 

I'am a  merchant, i have integrated PayPal's REST API.

When i capture the order after Paypal IPN webhook send me the buyer had paid (the order status is approved).

 

But i get the 404 ERROR

 

{
    "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": "4e9abd0f52757",
    "links": [
        {
            "rel": "information_link",
            "method": "GET"
        }
    ]
}
 
OrderId: 4DT37795XB823354V
CaptureOrderApi:  https://api-m.paypal.com/v2/checkout/orders/4DT37795XB823354V/capture
 
I dont think is my code issue, the service some times ok, some times error

 

Login to Me Too
3 REPLIES 3

MTS_Chiranjeevi
Moderator
Moderator

Good day @BeanWei,

 

Thank you for posting to the PayPal community.

 

This should be an issue with the "Expired" Order ID used in the API call. 

 

The API caller(Merchant) has 3 hours from the time the order is created, to redirect your payer. Once redirected, the API caller has 3 hours for the payer to approve the order and either authorize or capture the order. 

 

https://developer.paypal.com/docs/api/orders/v2/#definition-order 

 

I would suggest to please perform a test payment and make sure you capture the order within 3 hours timeframe. 

 

If your still facing any issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detail information and error details.

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

BeanWei
Contributor
Contributor

Thx, Chiranjeevi.

 

I will try it.

Login to Me Too

ehaaaaaaaaa
Member
Member

I have same issue. 
Could you please provide guidance on how to appropriately handle the "Expired" status? 

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.