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.