Hi,
Is there any setting to stop partial payment in ACTION_SECURE_PAY?
Hi,
Is there any setting to stop partial payment in ACTION_SECURE_PAY?
I don't think so, I think you will need to compare the amount in the result with the requested amount and either initiate a void or a new transaction for the difference. See https://docs.clover.com/docs/transaction-types#partial-authorizations-us-and-canada which is for Clover Connector but should also apply in your use case.
Hi David,
Have tried a void transaction but getting 403 App doesn't have required permission.
Is there any way to void transaction?
Used below code
orderConnector.voidPayment2(orderId,paymentId,"",reason,"");
You need to use Payment Connector, the Order Connector void API is only available to Clover apps (see the API documentation).
Hi David,
I was unable to void payment using PaymentConnector in sandbox.
Have given permissions also.
Is there anything have to add? Can you please check it.
WeakReference<IPaymentConnector> cloverConnectorWeakReference; IPaymentConnector paymentConnector;
paymentConnector = initializePaymentConnector(); cloverConnectorWeakReference = new WeakReference<IPaymentConnector>(paymentConnector);
private PaymentConnector initializePaymentConnector() { Account cloverAccount = CloverAccount.getAccount(this); String remoteApplicationId = "AW3H9WPYBBVH4.ZC7VX7HCC6862"; IPaymentConnectorListener paymentConnectorListener = new IPaymentConnectorListener() { @Override public void onVoidPaymentResponse(VoidPaymentResponse response) { } }; return new PaymentConnector(this, cloverAccount, paymentConnectorListener, remoteApplicationId); }
VoidPaymentRequest voidPaymentRequest = new VoidPaymentRequest(); voidPaymentRequest.setOrderId(orderId); voidPaymentRequest.setPaymentId(paymentId); voidPaymentRequest.setVoidReason("REJECT_PARTIAL_AUTH"); final IPaymentConnector cloverConnector = cloverConnectorWeakReference.get(); cloverConnector.voidPayment(voidPaymentRequest);
2 People are following this question.
Is it possible to stop portrait mode in Station 2018 for Secure Payment?
We want to integrate pay in store options for customers
How to integrate clover station payment from web app in php
Is it possible to add Apple Pay and Google pay and disable Key-in entry?
Payment issues with Clover Station Printer (P550) for Station 2018