RefundPaymentRequest refund = new RefundPaymentRequest();
refund.setPaymentId(paymentId);
refund.setOrderId(orderId);
refund.setAmount(amount);
refund.setFullRefund(false);
mPaymentConnector.refundPayment(refund);
Thank you.
Hi @Raymond Lee
We are using clover flex and clover mobile device and the issue is still. In the case of failure, we didn't find reasion of failiour.
Thank you.
Can you provide the paymentId for the payment you are trying to refund? We can take a look as to why the refund failed, and why the reason is null.
Hi @Raymond Lee
Thanks for your answer. But you can also try on your side via the following steps:
Let me clear you via the following example:
1. We did pay for $50.
2. We hit the refund request of $50 for the same transaction. (In that case, the refund will be successful).
3. We hit the refund again for the same transaction.
You will found:
{"message":null,"result":"FAIL","success":false,"reason":null,"refund":null}
Thanks.
2 People are following this question.
Loyalty/Payment App 1 Answer
Can we integrate payment connector in any tablet for application rather than any clover device ? 1 Answer
"Semi Custom" Receipt Printing 0 Answers
Android Secure Payment example out of date or deprecated package "remotepay"? 1 Answer
How can we disable debit card option via configuration 1 Answer