We want to make partial refund payment of full payment of single order
We are able do spilt payment spilit amount refund but we need to do partial refund in clover. So please look at this and inform us.
Thank you in advance.
We want to make partial refund payment of full payment of single order
We are able do spilt payment spilit amount refund but we need to do partial refund in clover. So please look at this and inform us.
Thank you in advance.
You should be able to use the RefundPaymetRequest with the PaymentConnector/CloverConnector and specify the amount you want to refund. Just know that this refund request has to have the orderId and the paymentId
Hi bryanvargas, Thanks for you quick responce, We are using below code in clover station but we are not able to do partial payment. So please guide us and share refereance code which we can for partial. initPaymentConector() var mAmt: Double = setAmount.toDouble() mAmt *= 100 val refundAmount = mAmt.toLong() val refundRequest = RefundPaymentRequest() refundRequest.paymentId = setPaymentId refundRequest.orderId = setOrderId refundRequest.amount = refundAmount refundRequest.fullRefund = setFullRefund refundRequest.disablePrinting = false refundRequest.disableReceiptSelection = false if (paymentConnector != null) { paymentConnector.refundPayment(refundRequest) }
Thanks in adcvance.
You are setting the refundRequest to fullRefund that is why you are not able to refund partial amount, remove this line and just use the amount.
refundRequest.fullRefund = setFullRefund
We are using this line as boolean false but we are not to do refund.
refundRequest.fullRefund = setFullRefund(false)
7 People are following this question.