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

Formation of the response template CLA=80, INS=A6 #80

Open
IvanTomshin opened this issue May 25, 2022 · 2 comments
Open

Formation of the response template CLA=80, INS=A6 #80

IvanTomshin opened this issue May 25, 2022 · 2 comments

Comments

@IvanTomshin
Copy link

Hi!
I'm looking into your source code, it's very good. However, there are cards that require instead of GET PROCESSING CLA=80, INS=A8.
Execute command CLA=80 INS=A6. How to generate a template for this command? This affects mobile payment applications.

Best regards, Ivan.

@devnied
Copy link
Owner

devnied commented May 26, 2022

Hi,
Thanks for your feedback.
You can create or override an existing parser to change the Get processing command.

EmvTemplate parser = EmvTemplate.Builder() //
				.setConfig(EmvTemplate.Config())
.build();
parser.addParsers(new CustomParser());
EmvCard card = parser.readEmvCard();

You custom parser can extends EmvParser and override getGetProcessingOptions with your custom implementation.

In with case and for which kind of cards you need to send a command 80 A6 ? (I don't find this case in the EMV Book documentation).

Regards,

@IvanTomshin
Copy link
Author

IvanTomshin commented May 27, 2022 via email

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

No branches or pull requests

2 participants