question

Devendra avatar image
Devendra asked ·

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 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.

1 Answer

justin.a avatar image
justin.a answered ·
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
Share
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.

Welcome to the
Clover Developer Community