question

kapilk avatar image
kapilk asked David Marginian Deactivated commented

Read Automatically take payment on connected device config in clover station

Hi @David Marginian
Our application is running on clover station device and we launch the clover payment page by using

Intent intent = new Intent(Intents.ACTION_CLOVER_PAY);

Our requirement is - Clover payment page won't be shown in our app if Automatically take payment on connected device (please refer attached image) check is enabled in clover station under setup -> payment options. So, How can we get this config information by using platform API or clover sdk API?
we could not find this config flag in Merchant properties API response data.


1647336061073.jpeg


Clover Android SDKClover Station
1647336125784.png (371.5 KiB)
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

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

Have you tried https://docs.clover.com/reference/devicegetmerchantdevice I don't have a tethered device to test with so I am not certain that property will be returned.

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.

kapilk avatar image kapilk commented ·

Hi @ David Marginian

We are not receiving any flag for that config..


0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ kapilk commented ·

Are you sure it doesn't come back in the merchant properties, it will be called something like skipPaymentScreen? If it doesn't then I am not aware of an API that will return it.

0 Likes 0 ·
kapilk avatar image kapilk David Marginian ♦♦ commented ·
Yes, I'm sure and You can check in response payload shared to you.

Then how can we get that information.? Please help me on this..

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