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

Scope: 'AdditionalDataField' invalid '00' tag #29

Closed
sabrirauf opened this issue Nov 24, 2022 · 1 comment · May be fixed by #36
Closed

Scope: 'AdditionalDataField' invalid '00' tag #29

sabrirauf opened this issue Nov 24, 2022 · 1 comment · May be fixed by #36
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@sabrirauf
Copy link

Describe the bug
Scope: 'AdditionalDataField' invalid '00' tag returned with com.emv.qrcode.core.exception.InvalidTagException

To Reproduce
Steps to reproduce the behavior:
DecoderMpm.decode(value, MerchantPresentedMode.class);
Value Ex: 0002010102112632002816728000581200000000849800025204581253031445502015802LK5925Burger's King and Family 6007Colombo610500800625800329459b40e599f4d96ac78d689dc388f2205181630921441682-0002630408AF

Expected behavior
Returning MerchantPresentedMode object without error

@mvallim mvallim self-assigned this Dec 27, 2022
@mvallim mvallim added question Further information is requested wontfix This will not be worked on labels Dec 27, 2022
@mvallim
Copy link
Owner

mvallim commented Dec 27, 2022

Hi @sabrirauf ,

In the documentation of EMVCo, there is no exists tag '00' in Data Objects for Additional Data Field Template (ID "62").

Name ID Format Length Presence
Bill Number "01" ans var. up to "25" O
Mobile Number "02" ans var. up to "25" O
Store Label "03" ans var. up to "25" O
Loyalty Number "04" ans var. up to "25" O
Reference Label "05" ans var. up to "25" O
Customer Label "06" ans var. up to "25" O
Terminal Label "07" ans var. up to "25" O
Purpose of Transaction "08" ans var. up to "25" O
Additional Consumer Data Request "09" ans var. up to "03" O
RFU for EMVCo "10"-"49" S O
Payment System specific templates. "50"-"99" S O

Ref: Data Objects for Additional Data Field Template (ID "62") page 22

I checked your data and the '00' tag is not valid, following the official EMVCo documentation.

209610098-f7ecb662-2021-40c0-8b47-9a8cc5d41ce1

Thank you for using, and report question.

@mvallim mvallim added help wanted Extra attention is needed and removed wontfix This will not be worked on labels Dec 27, 2022
@mvallim mvallim pinned this issue Dec 27, 2022
@mvallim mvallim closed this as completed Dec 27, 2022
@mvallim mvallim linked a pull request Mar 3, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants