question

kcinfuse avatar image
kcinfuse asked David Marginian Deactivated commented

Voiding Preauth Request via SDK

Currently doing a preauth flow using the payment connector.


Ideal flow:

Preauth a transaction for a certain amount, then make a sale with that amount. The sale should handle closing/voiding the initial pre-auth.


What I've done:

Via the SDK, I'm unable to capture the pre-auth if the order has more than one line item, so I've resorted to using paymentConnector.sale().


This seems to work fine, but it leaves the initial pre-authorization open. Is there a way to delete/void this preAuth after successful sale? I've tried using a VoidPaymentRequest but it hasn't worked because, I assume, a preauth transaction is different from a normal payment.

Clover Android SDKPaymentConnectorAuth
10 |2000

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

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