question

maria-nabil avatar image
maria-nabil asked Tristan Lutgen answered

ACTION_CLOVER_PAY VS. ACTION_SECURE_PAY

I need to implement card present payment on clover device

(to swipe the credit card in the machine and pay )

what is better to use ACTION_CLOVER_PAY or ACTION_SECURE_PAY ?

Is swiping the credit card applicable in ACTION_CLOVER_PAY ? or only the manual entering of

credit card informations ?

Thanks in advance .

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.

Jacob Abrams avatar image
Jacob Abrams answered

ACTION_CLOVER_PAY should be used when you want the merchant to give the customer a choice of any supported tender type (check, cash, credit/debit, manual card entry, other). A merchant facing screen will appear allowing the merchant to select the tender type. Note that this also works with multi-device tethering setups, meaning that if you launch ACTION_CLOVER_PAY on a merchant-facing Clover Station which is USB tethered to a customer-facing Clover Mini, then the customer-facing Mini will prompt for a card-present payment.

ACTION_SECURE_PAY should be used when you want to jump directly to a card payment (it supports manual card entry), this will exclude cash, check and some other merchant-facing only tender types. This method does not support multi-device tethering setups. This means the above tethering example does not apply, the card-present payment will always be launched on the merchant-facing device and tethering will be ignored.

There is also the PaymentConnector#sale method which operates similarly to ACTION_SECURE_PAY in that it only supports customer-facing tenders and excludes cash, checks, etc but this method is aware of multi-device tethering setups.

10 |2000

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

Tristan Lutgen avatar image
Tristan Lutgen answered

During development we came across an issue recently where the paymentconnector.sale() request is creating an extra PayActivity Receipt Screen on the Clover Station Solo. This extra screen does not appear on any of the other Clover devices we test with (Flex, Mini, Duo.)

This is leading to another issue when the merchant also has "Automatically print customer receipt after each order". If this option is turned on, the extra screen is also causing extra receipts to print. Do you know how we would avoid this issue? Is there a different way we could go about using the paymentConnector or SaleRequest?

10 |2000

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

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