question

Sukhbir Singh avatar image
Sukhbir Singh asked Sukhbir Singh commented

PreAuth transaction should react as Sale after successful capturing

Hi @Jeffrey Blattman @David Marginian


We are making some PRE-AUTH payment transactions and also have captured all with 0.00 tip amount, but each of them currently has the status of "Pending" and the ability to add a tip to them via clover transaction application. All PRE-AUTH transactions are reacting as AUTH transactions after successful captured.


I want that all PRE-AUTH transactions should be reacting as SALE transactions after successful captured, Is it possible?


Is there any way to update the status of the PRE-AUTH payment transaction to "Closed" after capturing it?


We want to eliminate the ability for someone to come into the terminal and go the "Transaction" application and add a tip amount to the payment.


Currently, we are using Payment Connector for making PRE-AUTH transaction and captured PRE-AUTH transaction with the help of following code:


For PRE-AUTH transaction:

PreAuthRequest request = new PreAuthRequest();

request.setExternalId(ExternalIdUtils.generateNewID());

request.setAmount(paymentAmount);

request.setOrderId(order.getId());

request.setCardEntryMethods(CardEntryMethods.ALL);

request.setDisableReceiptSelection(true);

request.setDisableDuplicateChecking(true);

mPaymentConnector.preAuth(request);


To capture the PRE-AUTH transaction:


CapturePreAuthRequest request = new CapturePreAuthRequest();

request.setAmount(response.getPayment().getAmount());

request.setPaymentId(response.getPayment().getId());

request.setRequestId(request.getRequestId());

request.setTipAmount(0L);

mPaymentConnector.capturePreAuth(request);



Please let us know if there any possible solution.


Thanks.

PaymentsPaymentConnector
10 |2000

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

1 Answer

David Marginian avatar image
David Marginian Deactivated answered Sukhbir Singh commented


I don't think this is possible.

https://docs.clover.com/clover-platform/docs/transaction-types

"Once the merchant captures a Pre-Auth amount, the transaction further continues as an Auth transaction and is governed by the same Auth transaction rules."

3 comments
10 |2000

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

Sukhbir Singh avatar image Sukhbir Singh commented ·

@David Marginian Thanks for the quick response. We have already read out the same document. Is there any way to settle the Auth transaction without doing Batch Closeout?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ Sukhbir Singh commented ·

I don't believe so.

0 Likes 0 ·
Sukhbir Singh avatar image Sukhbir Singh David Marginian ♦♦ commented ·

@David Marginian OK, Thanks for the valuable response and time.

0 Likes 0 ·

Welcome to the
Clover Developer Community