Hi Team
We are trying to void a payment immediately after a sale request if it was partially paid using the clover android SDK
VoidPaymentRequest voidPaymentRequest = new VoidPaymentRequest(); voidPaymentRequest.setPaymentId(payment.getId()); voidPaymentRequest.setOrderId(payment.getOrder().getId()); voidPaymentRequest.setVoidReason("USER_CANCEL"); paymentConnector.voidPayment(voidPaymentRequest);
It seems debit card payments are not being voided and are marking the order as PARTIALLY_PAID.
What is the ideal way of initiating a void for debit card orders?
Also, Is there a way to identify from a sale response if it was a debit card order? Using the clover android sdk