Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for ExpressPay and EcobankPay EMV QR codes and fixed some validation issues. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brutaldev
Copy link

  • Added test for 5 live EMV QR codes that failed to be parsed but are actually valid.
  • Fixed merchant information tag ID range validation, it can be from 2 to 51 and it's even extracted in that range.
  • Fixed validation failures when there is no additional data or merchant language template (both are optional).
  • Fixed Issue Breaks when using EcoBank QR Codes (EMV compliant) #2 by checking there is available length to substring before attempting it.
  • Fixed some code analysis warnings.
  • Assume if the merchant information has no child nodes (not a child TLV) then the Globally Unique Identifier IS the string, this sis the case for Visa and MasterCard PAN/Alias/Card Numbers present in actual EMV QR codes.

…me validation issues.

- Added test for 5 live EMV QR codes that failed to be parsed but are actually valid.
- Fixed merchant information tag ID range validation, it can be from 2 to 51 and it's even extracted in that range.
- Fixed validation failures when there is no additional data or merchant language template (both are optional).
- Fixed Issue juanroman-zz#2 by checking there is available length to substring before attempting it.
- Fixed some code analysis warnings.
- Assume if the merchant information has no child nodes (not a child TLV) then the Globally Unique Identifier IS the string, this sis the case for Visa and MasterCard PAN/Alias/Card Numbers present in actual EMV QR codes.

Issue juanroman-zz#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant