I need to solve a problem where Tag 8A Authorization Response Data is not returned as part of the EMV tag data in the case of a non approval response. The payment platform has advised to take the last 2 bytes of tag 91 and assign it to tag 8A, but tag 91 does not always contain the Authorization Response Code Value and Tag 8A is not always returned in some cases or brands.
I'd like to implement a more robust fix where we validate the format of tag 91 instead of just saying If Visa. do this. If Discover. do that.
Any suggestions on how tag 91 is structured such as a reference to EMV Book documentation would be greatly appreciated.
2,239 15 15 silver badges 18 18 bronze badges asked Mar 7, 2018 at 0:24 81 1 1 gold badge 1 1 silver badge 3 3 bronze badgesI investigated this problem in past and here are the results.
In case tag 0x8A is unknown it can be taken from tag 0x91 , but only for some Card Brands/profiles.
In general, if the length of 0x91 is 10 bytes (20 hex chars), the tag value can split to:
The tag 0x8A presented inside tag 0x91 in next card profiles:
IT IS NOT a case to extract 0x8A value from tag 0x91 for next card profiles:
Extraction of tag 0x8A value from tag 0x91 may work only as temporary solution. You may see not all card profiles allow it. In fact it needs to be returned in clear form Acquirer in the reply message.