Says Sandbox Transaction Id Invalid
saurabh5986
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-11-2019
06:45 AM
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
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.
Related Content
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- IPN works in sandbox but not live in Sandbox Environment
- Change the button from Sandbox to Production in REST APIs
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs
- Handful of payments on my app are being processed by Sandbox account in PayPal Payments Standard