A Clojure library for parsing ISO8583 messages into Clojure maps.
This is an updated fork of alpian/clj-iso8583. The core logic is largely unchanged, but the project has been updated to use more modern Clojure practices.
((parser field-definitions) message-bytes)
(write field-definitions {:pan "1111222233334444" :processing-code "010000" :transaction-amount "000000110000"})
Install leiningen, then from the project directory:
# run unit tests
lein test
To deploy to Clojars:
- make sure that
project.clj
andCHANGELOG.md
are updated - tag with the latest version:
git tag -a v1.2.3 -m "v1.2.3"
- login to clojars.org and create a one-time deploy token
- deploy to clojars:
lein deploy clojars
(use the one-time token as the password)
To deploy to Github Packages:
- Make sure that
project.clj
andCHANGELOG.md
are updated - Tag the latest version:
git tag -a v1.2.3 -m "v1.2.3"
- Run
lein deploy github
and enter your GitHub username and a Personal Access Token with package write permissions
Original project copyright © 2012 Ian Davies. Additional changes copyright © 2022 Chris Oakman. Additional changes copyright © 2024 Treasury Prime.
Distributed under the Eclipse Public License.