question

ismdcf avatar image
ismdcf asked 15mgm15 answered

Voiding of Debit Payments via Clover android sdk not working

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

PaymentsClover Android SDKPaymentConnectorpaymentstate
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.

ismdcf avatar image ismdcf commented ·

Kind Reminder On this

0 Likes 0 ·

1 Answer

·
15mgm15 avatar image
15mgm15 answered

@ismdcf Did you find an answer?

10 |2000

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

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