cancel
Showing results for 
Search instead for 
Did you mean: 

Says Sandbox Transaction Id Invalid

Contributor

Says Sandbox Transaction Id Invalid

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