ramya1 avatar image
ramya1 asked ramya commented

Station 2018 ACTION_SECURE_PAY Tip issue

We are using ACTION_SECURE_PAY For Payments in all devices.

For Mini its working fine but for Station 2018 we are getting below issue

Added a Tip, however, it did not show on credit card receipt and when we checked Order in Orders App, in that page also we are unable to see Tip.

We are using below code
Intent intent = new Intent(Intents.ACTION_SECURE_PAY);
intent.putExtra(Intents.EXTRA_AMOUNT, amount);
intent.putExtra(Intents.EXTRA_TIP_AMOUNT, tip);
intent.putExtra(Intents.EXTRA_TAX_AMOUNT, tax);
intent.putExtra(Intents.EXTRA_SERVICE_CHARGE_AMOUNT, service_charge);
intent.putExtra(Intents.EXTRA_ORDER_ID, orderId);
intent.putExtra(Intents.EXTRA_CARD_ENTRY_METHODS, cardEntryMethodsAllowed);
startActivityForResult(intent, SECURE_PAY_REQUEST_CODE);

Is ACTION_SECURE_PAY works same in Mini and Station 2018?Can we use ACTION_STATION_SECURE_PAY instead of ACTION_SECURE_PAY for Station 2018? Does it work same as ACTION_SECURE_PAY?But the pay doesn't have any Extras passed and result.

Any suggestions will help us

PaymentsIntentsClover Station 2018
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

Frank Faustino avatar image
Frank Faustino Deactivated answered ramya commented
Hi, @Ramya1.
You must use ACTION_STATION_SECURE_PAY for the Station 2018. There's no need to pass in Extras. The Station 2018 handles tipping differently from the Mini (Station 2018 adjusts the transaction to include the tip after the transaction authorizes, Mini includes the tip with the sale transaction).

Also, make sure "Ask for tip" is enabled in merchant setup.
1 comment
10 |2000

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

ramya avatar image ramya commented ·

Thanks Frank Faustino , will check it.

0 Likes 0 ·

Welcome to the
Clover Developer Community