question

Dan avatar image
Dan asked ·

Determine if a payment card is inserted into the device

Hi folks,


Is it possible to determine if a card has been inserted into the chip reader via the SDK? Ideally, we would like to ensure a card is still inserted into a device or if it has been removed. And in a best case scenario, make sure it is the card that performed the most recent card transaction.


Edit:

The reason for this is that I've been told by a client that carrying out a further operation on a user's credit card account (working with the credit card company) might require that the card is inserted into the device for some compliance reasons I am still not fully aware of. So I've been asked to verify if something like that is even possible.


Thanks!

Payments
2 comments
10 |2000 characters needed characters left characters exceeded

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

Can you explain what you are trying to accomplish? Third party apps cannot use the payment interfaces such as the chip card reader directly.

0 Likes 0 · ·
Dan avatar image Dan Jacob Abrams ♦♦ ·

Thanks Jacob, I know it sounds like an unusual use case, I have edited the question with slightly more detail. I highly doubted this would be possible as there is probably very little reason to expose a feature like that to developers, just double checking more than anything

0 Likes 0 · ·
Jeffrey Blattman avatar image
Jeffrey Blattman answered ·
The reason for this is that I've been told by a client that carrying out a further operation on a user's credit card account (working with the credit card company) might require that the card is inserted into the device

If by "further operation" you mean an additional transaction, the only way to accomplish that is by removing the card and performing a second transaction. There's not a way to re-use the card for a second transaction if it happens to still be inserted.

And as Jacob said above, as an app you are limited to starting a Clover app to perform a transaction. Developer apps aren't privy to the details of interacting with the chip card reader (and trust me that's a Good Thing if you value your sanity).

1 comment Share
10 |2000 characters needed characters left characters exceeded

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

Thanks Jeff, no it wasn't another Clover transaction but something the credit card company are providing their customers. That's what I suspected, I will let my people know :)

0 Likes 0 · ·
David Marginian avatar image
David Marginian answered ·

Android SDK or one of our Remote Pay/Clover Connector SDKs?

2 comments Share
10 |2000 characters needed characters left characters exceeded

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

Hi David, apologies it would be from the Android SDK

0 Likes 0 · ·

I am not certain, I would have to defer to @Jeffrey Blattman.

0 Likes 0 · ·

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