question

aakashmcoderz avatar image
aakashmcoderz asked aakashmcoderz commented

Refunding Cash order but cash log does not update.

Hello
I am trying to integrate refund for an order in my app using Android SDK like this

private fun startRefund(order: Order) {
    val refundPaymentRequest = RefundPaymentRequest()
    refundPaymentRequest.orderId = order.id
    refundPaymentRequest.fullRefund = true
    refundPaymentRequest.amount = order.total
    refundPaymentRequest.paymentId = order.payments.lastOrNull()?.id
    paymentConnector.refundPayment(refundPaymentRequest)
}

I get the order status changed from "PAID" to "REFUNDED" but I don't see any cash log update in 'Cash Log' app.
I am expecting a reversal entry of amount in Cash Log.

Please guide me if I am missing something here.
Thank you


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

aakashmcoderz avatar image aakashmcoderz commented ·
Hello Clover team

It's been more than a week since I've posted this query.
Kindly help me out.

0 Likes 0 ·

0 Answers

·

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