List payment request returns wrong payment items

mahdiridho
Contributor
Contributor

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 :

  1. trx ID Nov 25th, 2018
  2. trx ID Nov 13th, 2018
  3. trx ID Nov 8th, 2018
  4. trx ID Nov 7th, 2018

But, on the response I get the following items :

  1. trx ID Nov 13th, 2018
  2. trx ID Nov 8th, 2018
  3. trx ID Nov 7th, 2018
  4. trx ID Nov 6th, 2018

The print out of trx ID Nov 25th, 2018 :

Nov.25th.jpg

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?

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.