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
{
"create_time": "2019-08-18T21:20:00Z",
"update_time": "2019-08-18T21:20:00Z",
"id": "7WM38203LM766873W",
"intent": "CAPTURE",
"status": "COMPLETED",
"payer": {
"email_address": "xxxxxx",
"payer_id": "K3J458A8L98E2",
"address": {
"country_code": "US"
},
"name": {
"given_name": "xxxx",
"surname": "xxxxx"
}
},
"purchase_units": [
{
"description": "Order 1000",
"reference_id": "default",
"invoice_id": "10002-042195",
"amount": {
"value": "10.50",
"currency_code": "USD"
},
"payee": {
"email_address": "xxxxxxxxxxxx",
"merchant_id": "xxxxxxxxxxxxx"
},
"shipping": {
"name": {
"full_name": "Robert <removed>"
},
"address": {
"address_line_1": "<removed>",
"admin_area_2": "San Jose",
"admin_area_1": "CA",
"postal_code": "95131",
"country_code": "US"
}
},
"payments": {
"captures": [
{
"status": "COMPLETED",
"id": "6U393904AL2708629",
"invoice_id": "10002-042195",
"final_capture": true,
"create_time": "2019-08-18T21:20:00Z",
"update_time": "2019-08-18T21:20:00Z",
"amount": {
"value": "10.50",
"currency_code": "USD"
},
"seller_protection": {
"status": "ELIGIBLE",
"dispute_categories": [
"ITEM_NOT_RECEIVED",
"UNAUTHORIZED_TRANSACTION"
]
},
"links": [
{
"href": "https://api.sandbox.paypal.com/v2/payments/captures/6U393904AL2708629",
"rel": "self",
"method": "GET",
"title": "GET"
},
{
"href": "https://api.sandbox.paypal.com/v2/payments/captures/6U393904AL2708629/refund",
"rel": "refund",
"method": "POST",
"title": "POST"
},
{
"href": "https://api.sandbox.paypal.com/v2/checkout/orders/7WM38203LM766873W",
"rel": "up",
"method": "GET",
"title": "GET"
}
]
}
]
}
}
],
"links": [
{
"href": "https://api.sandbox.paypal.com/v2/checkout/orders/7WM38203LM766873W",
"rel": "self",
"method": "GET",
"title": "GET"
}
]
}
On the server I try to receive the order information and get an HTTP 404 error. I also tried in POSTMAN and get the following message
{
"name": "RESOURCE_NOT_FOUND",
"details": [
{
"location": "path",
"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": "480add2072fdf",
"links": [
{
"href": "https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_RESOURCE_ID",
"rel": "information_link",
"method": "GET"
}
]
}
Am I missing a step? I've been reading all the API documentation and all I read is the client call then validate using the REST link on the server.
Thanks in Advance
Robert
... View more