Hello, is there some access possible to the magnetic stripe reader to read for example gift cards in a custom application?
Thank you, Ondrej
Technically, you can read gift cards, if the gift card is white listed. You must go through the Secure Payments app. Your app is not allowed to access the card reader directly. Take a look at the ACTION_SECURE_CARD_DATA
action in the Clover Android SDK. Basically, you start an activity for result and have the card data returned in the result.
There may be better ways to go about this however. Can you give more detail on what you are trying to achieve?
As to whether we would be able to white list the specific card, I'll ask someone else to chime in.
Hi @jeff ,
I am creating an application that will need to process gift and loyalty cards and would like the ability to read card account numbers encoded on magnetic stripe.
As for specific cards, for example let's say that we will need to read cards with IDs starting with :
7777
But the exact list will not be known during the distribution of the application. Maybe later we will need to read some more cards - it depends on the merchant's requirements. Do you think, that it will be possible later to add some more card prefixes?
Thank you, Ondrej
The BIN white list cannot be that dynamic as it's implemented now. Our secure card reader needs to know about the BINs ahead of time to know if it's okay to return the data unencrypted. That list has to come from our servers for security purposes. Further, to register your app to process the gift card, you must register statically for the BINs of interest.
2 People are following this question.