aseigo

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:

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 :wink:

Most Liked

alexgaribay

alexgaribay

Phoenix Core Team

I’ve used https://github.com/sorentwo/braintree-elixir for BrainTree and https://github.com/code-corps/stripity_stripe for Stripe. Both have worked without issue for me.

swelham

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

andre1sk

https://github.com/joshnuss/commerce_billing is modeled after active merchant and actually supports 2 gateways so looks like a leader as of now :slight_smile: one of the gateways is bogus though :slight_smile:

aseigo

aseigo

Nice to hear that you want to continue developing cashier. Looking at the code, I do have some questions/concerns regarding the supervisor tree design and use of sync calls. I’m still looking through the various options, but if I were to offer some feedback where you prefer that to happen? (email, github, here on the forum …?)

aseigo

aseigo

Cool; you may hear from me over the weekend :slight_smile: Having a relatively complete, reliable and easy to use solution would be rather nice to have …

I’m also interested in being able to do payments from a Phoenix.Channel and possible also from a mostly-GraphQL application, so I need to look into what sort of requirements that will bring (beyond the obvious things like async calls being preferable …)

Where Next?

Popular in Questions Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
New
dokuzbir
Hello, I am trying to convert my lists to string without losing brackets.For start i have 3 map. They look like these buyer = %{ id: ...
New
sacepums
Hey guys. I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
New
gazoon
I want to know absolute current module path. In python i could do that: os.path.abspath(__file__) Does elixir have anything similar?
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
LegitStack
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New

Other popular topics Top

josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30048 115
New
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New

We're in Beta

About us Mission Statement