Hi @Jeffrey Blattman @David Marginian,
We are facing an issue during the partial refund implemented by the android Payment connector. When we make a partial refund in that transaction which was made by card-swiping with the amount less than $51 got failed every time. Let's see the following cases:
Case 1.
Perform a transaction for $ 41.00 via inserting the Card
Process a partial refund for the same with the amount $ 39.00
The result is a successful refund.
Case 2.
Perform a transaction for $ 41.00 via EMV_CONTACTLESS
Process a partial refund for the same with the amount $ 39.00
The result is a successful refund.
Case 3.
Perform a transaction for $ 41.00 via card swapping
Process a partial refund for the same with the amount $ 39.00
The result is a “FAIL” indicating that the transaction cannot be refunded.
(We have analyzed this case many times with some tests and found that if the payment amount is more than $50 it will success otherwise fail)
Also in the case of failure during the debugging, we have found following exception at SDK side:
E/PaymentRefundCardNotPresentActivity: doInBackground(PaymentRefundCardNotPresentActivity.java:153): refund failed
com.clover.sdk.v1.ServiceException: status code: 500 This payment can no longer be refunded back to the card. Refund customer via manual refund or in cash.
at com.clover.sdk.v1.ServiceConnector.throwOnFailure(ServiceConnector.java:329)
at com.clover.sdk.v1.ServiceConnector.execute(ServiceConnector.java:260)
Please suggest a solution to resolve it.
Thanks.