aseigo
Payment gateway libraries
I’ve been looking at the options in the Elixirverse for payment gateways (Stripe, PayPal, et al) and I’ve already found the following:
- GitHub - swelham/cashier: Cashier is an Elixir library that aims to be an easy to use payment gateway, whilst offering the fault tolerance and scalability benefits of being built on top of Erlang/OTP · GitHub (by @swelham)
- GitHub - joshnuss/commerce_billing: A payment processing library for Elixir · GitHub
- GitHub - era/pay: Pay is an Elixir Lib to deal with Paypal and other payment solutions. · GitHub
All had commits in November (so ~2 months ago), have zero releases, and between 35-80 commits with a handful of committers … so all are similarly active, it seems.
All implement support for only one payment gateway, however … PayPal or Stripe, depending on the one. This leaves me scratching my head, and so I figured I’d lazyweb this and see if any of you have experience with the above libraries.
If so .. what was your experience like? (Usage, quality, issues, upstreaming fixes / improvements …)
On a more philosopical level, I do wish there was one good, (more) complete solution rather than three unfinished options .. but I’m used to both open source and new-tech ecosystems, so I’m not surprised .. my kingdom for a better world, and all that ![]()
Most Liked Responses
alexgaribay
I’ve used GitHub - sorentwo/braintree-elixir: 💳 Native elixir client for Braintree · GitHub for BrainTree and GitHub - beam-community/stripity-stripe: An Elixir Library for Stripe · GitHub for Stripe. Both have worked without issue for me.
swelham
I had this same frustration at the end of last year which is why I started the cashier repo with the aim to continue adding gateways. Sadly as always I ran out of time leading up to Christmas and haven’t yet had chance to pick it up again this year.
I still aim to maintain this project moving forwards and complete the first release including the PayPal gateway initially. If anyone is interested in contributing either with testing or developing please do me know and I will assist in anyway I can.
andre1sk
GitHub - joshnuss/commerce_billing: A payment processing library for Elixir · GitHub is modeled after active merchant and actually supports 2 gateways so looks like a leader as of now
one of the gateways is bogus though ![]()








