Trying to read a debit card number using standard EMV protocol on a card that supports NFC Interac Flash.
Here is my transaction sequence:
Request1: 00A404000E325041592E5359532E444446303100 (Select 2PAY.SYS.DDF01 to get PSE directory)
Response1: 6F2C840E325041592E5359532E4444463031A51ABF0C1761154F07A00000027710105007496E74657261638701019000 (AID A0000002771010 found, Interac)
Request2: 00A4040007A000000277101000 (Select AID A0000002771010)
Response2: 6F348407A0000002771010A5295007496E74657261638701015F2D02656E9F38159F59039F5A019F02069F1A025F2A029F37049F58016285 (Selected AID, response include PDOL, see image below.
http://i.stack.imgur.com/c9FjM.png
Request3: 80A800001583130000990000000000000001240124000001230000 (Get processing option, based on structure above)
Response3: 6985 (Command not allowed; conditions of use not satisfied.)
I am unable to get pass the 6985 error; after 2 days of spec reading and trial-and-error.
Any hints / thoughts / successful example in reading card number from a Debit Card (Interac)? Card being tested is a TD Debit Card with Interac Flash contactless function.
Thanks a lot!
--- Note: I was able to read card number from Visa and MasterCard without GET PROCESSING OPTION. But since I kept getting 6985 without GPO, I try to do it, but failed. I don't really need to do GPO, just need to get card number and expiration date. ---