Says Sandbox Transaction Id Invalid

saurabh5986
Contributor
Contributor

Working on Add Tracking with rest api 

 

URL : https://api.sandbox.paypal.com/v1/shipping/trackers-batch

 

{"trackers":[{"transaction_id":"ID Returned when paid using paypal like PAYID-JSDDFLKSKS43354354",
"tracking_number":"43534543",
"tracking_number_type":"CARRIER_PROVIDED",
"status":"SHIPPED",
"carrier":"FEDEX",
"notify_buyer":true}]}

 

 

Gives response

{
"tracker_identifiers": [],
"errors": [
{
"name": "RESOURCE_NOT_FOUND",
"message": "The specified resource does not exist",
"details": [
{
"field": "/trackers/1/transaction_id",
"value": "PAYID-LVZWCCQ7JC31710JR593492V",
"location": "body",
"issue": "INVALID_TRANSACTION_ID",
"description": "The PayPal transaction id is invalid"
}
],
"links": []
}
],
"links": [
{
"rel": "self",
"method": "POST",
"encType": "application/json"
}
]
}
 
IN Postman 
 
Why my transaction id is incorrect 
I am using .net sdk which returns Payment object after payment and Payment.Id I am saving
 
Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.