finds.dev← search

// the find

joshnuss/commerce_billing

★ 183 · Elixir · MIT · updated Nov 2016

A payment processing library for Elixir

A thin Elixir payment processing wrapper that abstracts gateway calls behind a supervised GenServer worker. Modeled after ActiveMerchant, it only ever shipped one real gateway (Stripe) before going dark in 2016. Do not use this in production.

The GenServer-per-gateway architecture is a reasonable design — each gateway runs in its own supervised process, so a crash doesn't take down the app. The API surface is clean and pattern-matches well on Elixir idioms. The bogus gateway for local testing is a good habit borrowed from ActiveMerchant.

Abandoned for nearly a decade — last commit 2016, Stripe API has gone through multiple breaking versions since then. Only one real gateway ever implemented despite a roadmap promising PayPal, Braintree, Authorize.net. Credit card numbers are stored as plain structs with no tokenization or PCI consideration. Retry-on-network-failure is listed as 'not yet working' in the readme and never was finished.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →