question

Lorraine LIng avatar image
Lorraine LIng asked

Occasionally there is long delay in refundPayment API from Android Clover SDK

Hi, We have noticed that from time to time there is a multi-minute delay in refundPayment API call from the Android Clover SDK.

Here is a sample:

Order id: J20Z083CZQF2M

Payment id: 53QRJA1BKYGPR

Refund initiated time: 16-Jan-2023 9:15:48 AM PST

Refund completed time: 16-Jan-2023 9:19:14 AM PST

It took approximately 4 mins to execute the refund. Normally this is done within a minute. Can we look into why we are running into performance issues?

Our code for reference.


RefundPaymentRequest refundPaymentRequest = new RefundPaymentRequest();
 
//Set required transaction settings
refundPaymentRequest.setOrderId(refundRequest.getOrderId());
refundPaymentRequest.setPaymentId(refundRequest.getPaymentId());
refundPaymentRequest.setAmount(refundRequest.getAmount());
 
paymentConnector.refundPayment(refundPaymentRequest);
// Response will arrive in onRefundPaymentResponse our implementation of IPaymentConnectorListener.


Let us know if we can provide anything additional details.

Lorraine


Clover Android SDKRefund
10 |2000

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

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