9

I'm looking for generic and open source payment libraries that support many different payment processor APIs. In other words, I'd like to develop an application using a single payment processing API, but be able to easily switch between payment gateways, such as Authorize.Net, Payflow Pro, Braintree, PayPal, Google, Amazon, etc.

This question gives some Java solutions, but the suggestions all look horrible. Isn't there anything more like ActiveMerchant for Java? I really need a good Java solution, to the point of building my own if necessary. But I don't want to reinvent the wheel if it exists.

Are there any solutions for Python, Node.JS, or PHP?

Ideally, I'd like to find something similar to Ruby's ActiveMerchant, which looks exceptionally complete. Are there any other Ruby solutions?

Community
  • 1
  • 1
Tauren
  • 26,795
  • 42
  • 131
  • 167
  • possible duplicate of [Do any projects exist for PHP that is similar to ActiveMerchant for Ruby?](http://stackoverflow.com/questions/2768942/do-any-projects-exist-for-php-that-is-similar-to-activemerchant-for-ruby) – John Conde May 20 '10 at 02:16
  • @John, thanks for pointing this out. I'll reference that question for PHP solutions. However, my question isn't specific to PHP and I'm still interested in solutions for other languages. – Tauren May 20 '10 at 05:26

8 Answers8

4

What I have seen done is just wrapping Active Merchant into a light weight web service which exposes a rest API that any of your languages can talk to. This was for a larger company that could properly lock down their networks though, so DYODD.

zachaysan
  • 1,726
  • 16
  • 32
4

You can checkout J2pay its clean and its supported gateway list is continuously increasing.

john cena
  • 191
  • 1
  • 1
  • 7
3

I created Paython: https://github.com/abunsen/Paython

Supports a few different processors:

  1. Stripe
  2. Authorize.net
  3. First Data / Linkpoint
  4. Innovative Gateway (from intuit)
  5. Plugnpay
  6. Samurai
Auston
  • 480
  • 1
  • 6
  • 13
2

There's a python port of ActiveMerchant called OpenMerch, which looks quite similar to the ActiveMerchant code.

Ripta Pasay
  • 795
  • 4
  • 7
2

There is django-bursar for use with django.

Matthew Talbert
  • 5,998
  • 35
  • 38
1

omnipay is the best solution for PHP

Tousif
  • 301
  • 3
  • 11
1

I originally left Node.JS out of the list of server-side technologies, but I'm starting a project that is going to use it. And I found what looks like a great payment gateway library for it. Paynode is similar to Ruby's ActiveMerchant, but in Javascript running in Node.JS. It supports Payflow Pro, Authorize.Net, Braintree, Chargify, etc.

Tauren
  • 26,795
  • 42
  • 131
  • 167
0

You can embed JRuby in your JVM and start using any ruby libraries you want!Same is valid for any other JVM languages!

Rohitdev
  • 866
  • 6
  • 15