question

bobbygill avatar image
bobbygill asked parquet76 edited

How to stop Partial Payments on debit card?

We have an app where we don't want customers to allow doing Partial Payments using their debit cards.

Suppose, Order Total Amount is $10 and the customer has only $5 on their debit card, it should fail the transaction instead of asking them to make a Partial Payment and allowing them to use other payment methods for the remaining amount.

We want to restrict Partial Payment and reject that payment when the debit card has an insufficient balance.

Payments
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

·
parquet76 avatar image
parquet76 answered parquet76 edited

What API are you using to take the payment? If you are using the Rest Pay API - https://docs.clover.com/docs/handling-partial-payment-issues, if you are using a Clover Connector SDK you need to check the response and verify the amount of the payment is = the amount in the response. If you are using EComm I think partial payments should fail.

4 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.

bobbygill avatar image bobbygill commented ·

@ , We are using Clover Android SDK. 'com.clover.sdk:clover-android-sdk:262.2'

We are using the below code to initiate the payment.

Intent intent = new Intent(Intents.ACTION_SECURE_PAY);
intent.putExtra(Intents.EXTRA_ORDER_ID, orderId);
intent.putExtra(Intents.EXTRA_AMOUNT, (long) (finalOrderAmount * 100));
//Disable duplicate transaction warning screen
TransactionSettings transactionSettings = new TransactionSettings();
transactionSettings.setDisableDuplicateCheck(true);
transactionSettings.setDisableReceiptSelection(true);
transactionSettings.setCardEntryMethods(Intents.CARD_ENTRY_METHOD_ALL);
intent.putExtra(Intents.EXTRA_TRANSACTION_SETTINGS, transactionSettings);

startActivityForResult(intent, SECURE_PAY_REQUEST_CODE);


Once Payment is done, our intent is getting called and we are receiving a response related to payment status. Here, we want that payment to be failed when there is an insufficient balance on Debit Card used by the customer.

0 Likes 0 ·
parquet76 avatar image parquet76 bobbygill commented ·

The POS (your app) needs to make a decision in this case, either allow the partial payment and start a new payment for the unpaid amount, or void the payment and start a new payment for the full amount. If you want to simply void the payment, then you need to void the payment, Clover won't give you a failure because the Clover POS needs a graceful way to handle this.

0 Likes 0 ·
bobbygill avatar image bobbygill parquet76 commented ·
@ How can we test this on the Sandbox environment?
0 Likes 0 ·
Show more comments

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