question

Uttam avatar image
Uttam asked

Tip Adjust is returning Payment not found using payment connetor

Hello,

We are trying to do tip adjust on a captured payment using Clover Payment Connector SDK but the response says "Payment not found" even though the payment exists in Clover. We can see the payment using Clover Transactions app. And we try again after some mintutes, it work. This behavior is random. Sometimes tip adjust works but sometime it gives payment not found error. We are using same MerchantID and same clover device.


Request:

Time:2021-09-27 23:23:00.784

{"paymentId":"50TBTR9KYQTN0","orderId":"BV96MTVY0223P","tipAmount":1649}

Response:

{"success":false,"result":"FAIL","message":"Error adding tip. Did not find a payment with id = 50TBTR9KYQTN0","reason":"Payment not found","paymentId":"50TBTR9KYQTN0","tipAmount":1649}


Retried again after some time and it succeeds,

Time: 2021-09-27 23:27:10.146

Request:

{"paymentId":"50TBTR9KYQTN0","orderId":"BV96MTVY0223P","tipAmount":1649}

Response:

{"success":true,"result":"SUCCESS","message":null,"reason":null,"paymentId":"50TBTR9KYQTN0","tipAmount":1649}


Steps -

Create pre auth payment using Clover Payment Connector SDK

Capture the authorization using REST API.

Tip adjust using payment connector SDK.


This happens in both demo and production units.

Thanks,

Uttam


REST APIClover Android SDKPaymentConnectorRemote Pay Androidremote pay java
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community