List payment request returns wrong payment items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have the shop run client REST API for payment checkout over 1 year. Everything works well untill yesterday We got a strange issue when request the payment list :
curl -v "https://api.paypal.com/v1/payments/payment?count=4" -H "Content-Type: application/json" -H "Authorization: Bearer SESSION_TOKEN"
We can see 4 payment items on the list of the API response. However the list items are incorrect, We can't see a new payment item created on Nov 25th, 2018. While it has been existing on our paypal account activities, so the list should return the following items :
- trx ID Nov 25th, 2018
- trx ID Nov 13th, 2018
- trx ID Nov 8th, 2018
- trx ID Nov 7th, 2018
But, on the response I get the following items :
- trx ID Nov 13th, 2018
- trx ID Nov 8th, 2018
- trx ID Nov 7th, 2018
- trx ID Nov 6th, 2018
The print out of trx ID Nov 25th, 2018 :
Nothing strange with the transaction, all info are fine. Why does it not exist on the response of the list payment ?
[ {id: "PAYID-xxxx", intent: "sale", state: "approved", cart: "xxxx", payer: {objects}, transactions: [objects], create_time:"2018-11-13T02:52:41Z", "update_time": "2018-11-13T03:18:17Z", links: [objects], {id: "PAYID-xxxx", intent: "sale", state: "approved", cart: "xxxx", payer: {objects}, transactions: [objects], create_time: "2018-11-08T01:53:32Z", "update_time": "2018-11-09T09:54:28Z", links: [objects], {id: "PAYID-xxxx", intent: "sale", state: "approved", cart: "xxxx", payer: {objects}, transactions: [objects], create_time: "2018-11-07T10:09:14Z", "update_time": "2018-11-07T10:14:22Z", links: [objects], {id: "PAYID-xxxx", intent: "sale", state: "approved", cart: "xxxx", payer: {objects}, transactions: [objects], create_time: "2018-11-06T08:19:56Z", "update_time": "2018-11-06T10:22:48Z", links: [objects], ]
What is the exact problem here? And where is it from?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PAYER_ACTION_REQUIRED returned for Capture intent when calling v2 checkout orders in Sandbox Environment
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- Issue with Venmo Button Not Showing in Sandbox Environment
- Paypal payment error analysis and root cause in NVP/SOAP APIs
- payment button error with return variable in PayPal Payments Standard