question

devendra avatar image
devendra asked justina Deactivated edited

Remote Pay Java SDK - Handshake issue

Hi, if Clover got the approved response from bank but failed to send back to POS due to any reason, then does it automatically revert back/refund the approved amount earlier
How this scenario works?
Thanks.
RefundSaleRemote Pay Cloud
10 |2000

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

1 Answer

justina avatar image
justina Deactivated answered justina Deactivated edited
Hi @Devendra,

There is no automatic refund/reversal this scenario. If a sale were fired and the transaction was successful Clover side, the device would send a SaleResponse to the calling POS. If for whatever reason the POS doesn't receive the SaleResponse, you would have to implement a check within your code to account for it.

For example, you could call ICloverConnector#retrieveDeviceStatus if you haven't heard back from the Clover Device after a period of time and make use of ICloverConnector#retrievePayment to see if the previously fired transaction was successful.

-- Justin
10 |2000

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