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