Skip to content

treasuryprime/com.treasuryprime.iso8583

Repository files navigation

com.treasuryprime.iso8583 CI Status Clojars Project

A Clojure library for parsing ISO8583 messages into Clojure maps.

Versioning

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.

Usage

Parsing

((parser field-definitions) message-bytes)

Writing

(write field-definitions {:pan "1111222233334444" :processing-code "010000" :transaction-amount "000000110000"})

Development

Install leiningen, then from the project directory:

# run unit tests
lein test

To deploy to Clojars:

  1. make sure that project.clj and CHANGELOG.md are updated
  2. tag with the latest version: git tag -a v1.2.3 -m "v1.2.3"
  3. login to clojars.org and create a one-time deploy token
  4. deploy to clojars: lein deploy clojars (use the one-time token as the password)

To deploy to Github Packages:

  1. Make sure that project.clj and CHANGELOG.md are updated
  2. Tag the latest version: git tag -a v1.2.3 -m "v1.2.3"
  3. Run lein deploy github and enter your GitHub username and a Personal Access Token with package write permissions

License

Original project copyright © 2012 Ian Davies. Additional changes copyright © 2022 Chris Oakman. Additional changes copyright © 2024 Treasury Prime.

Distributed under the Eclipse Public License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages