question

maria-nabil avatar image
maria-nabil asked Jacob Abrams 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.

1 Answer

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

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