question

vishal388 avatar image
vishal388 asked mikebrooking answered

Partial Refund Amount Display

When I am issuing partial refund, on clover flex, how do I ensure that it displays the amount that will be refunded?

In below example, full order was of $70.32, and I was trying to process the refund of $35.

untitled.png

At the moment, it shows the full amount of the order. Everything in background is all good, and only amount I send in refund request is getting refunded.


I am using remote cloud sdk and this is how my refund request looked like:

 var cloverRefundRequest = new clover.remotepay.RefundPaymentRequest(); 
cloverRefundRequest.setOrderId(refundRequest.orderId);
 cloverRefundRequest.setPaymentId(refundRequest.paymentId);
 cloverRefundRequest.setFullRefund(false);
 cloverRefundRequest.setAmount(parseFloat(refundRequest.paymentAmount * 100));
cloverConnector.refundPayment(cloverRefundRequest);



semi-integrations
untitled.png (246.5 KiB)
10 |2000

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

mikebrooking avatar image
mikebrooking answered

There was a change that provided additional payment details that resulted in showing the original payment that the refund operation was applied to. We realize this is confusing, and will be providing an update in the near future to only show the refund amount being processed.

10 |2000

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

vishal388 avatar image
vishal388 answered David Marginian Deactivated commented

Any suggestions?

1 comment
10 |2000

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

David Marginian avatar image David Marginian ♦♦ commented ·

Seems like this may be a bug on our end, I will create a ticket.

2 Likes 2 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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