0

Is there any ICCDATA Parser available in PHP ? It should be ICCDATA data parser, I have ISO8583 parser, but that do NOT parses ICCDATA.

user723826
  • 83
  • 1
  • 6

1 Answers1

1

The root of your answer is to properly understand the element's format and then searching for the correct thing.

I am assuming you are referring to Data Element 55 Integrated Circuit Data (ICC) when you say the ISO-8583 ICCDATA field. The EMV (ISO 7814), VISA, MasterCard, and other specifications are pretty clear on its format.

What you require is an X.690 BER-TLV parser to break down this portion of the message, not just a generic TLV field parser.

There have been some other posts on Stack Exchange as well on this, this is a good one. This is a good on on the differences between simple and BER-TLV.

GitHub has BER-TLV parsers if you need a jump start and this one by NuclearDog was one that came up towards the top of the list when searched.

Once you have your code written EMVLabs has a tool for helping you check you encoding or to see if you get the same result with their BER-TLV decoder tool. (obviously don't put production data there).

Community
  • 1
  • 1
CRSouser
  • 658
  • 9
  • 25