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