zemuldo / iso_8583

:credit_card::moneybag: JavaScript library for iso 8583 messaging. Handles message validation & conversion between interfaces using iso 8583 standard. Contributors are welcome.
https://zemuldo.github.io/iso_8583/
MIT License
88 stars 54 forks source link

Don't parse field 127.X, only 127 as a string #131

Open jlaustill opened 1 year ago

jlaustill commented 1 year ago

Is your feature request related to a problem? Please describe. We are receiving ISO messages where 127 is a complete custom string, and we are currently solving it by commenting out the code that parses field 127

Describe the solution you'd like It would be great to be able to pass in a parameter to skip 127.x and only return 127 as a hex string

Describe alternatives you've considered We currently have a fork where we have commented this code out. We would be happy to do a PR to implement this change if it is something you would be interested in supporting.

Additional context You can check out our fork to see what we have commented about :)

jlaustill commented 1 year ago

I opened a PR for it here https://github.com/zemuldo/iso_8583/pull/132/files