I am using NFC technology in android project. I am going to create a Tap to pay feature in my android app. I have implemented some required steps into my app such as permissions, intent filters and everything is working fine. I am able to detect the smart card in my project.
I have understood some concepts like there are some commands such as :
A.) PPSE (Proximity payment system environment)
- Gives the available application IDs
- A single payment card can have multiple AIDs
- A card can have credit and debit payments
- A card can support domestic and international payments on different payment networks such as VISA supports domestic and MasterCard supports international.
B.) Select the AID Command through which I am willing to process the payment.
C.) Get processing options command.
D.) Read Record Command(Track2 Equivalent Data) [this actually hold the required details like : card number and card expiry date]
How to properly select the AID to get the card details considering the cases in PPSE command.
I have tried to use the open source java library to read the card details
I have successfully fetched the card details using this library but Since I am not able to achieve the card details reading when the card can have multiple AIDs available.
I tried to read the card details by sending the last command but it is not working. Since It is mandatory to perform all the four APDU commands. How can I properly handle the AID selection considering the correct payment option.
Any available resources will also make some contribution.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745105851a4611551.html
评论列表(0条)