Skip to content

rubythonode/42-cent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

David npm

42-cent

Node.js multi-gateway payment processing module

Installation

$ npm install -s 42-cent

Usage

var Gateways = require('42-cent');
var client = Gateways.use('Authorize.Net', credentials);

You can register other gateways - or replace an existing one:

Gateways.registerGateway('GatewayName', factoryFunction);

The factory function must return an instance of the abstract BaseGateway.

Gateways API

Gateways must implement a particular version of the BaseGateway. The version of 42-cent-base set in the package.json of the gateway defines the API the gateway intends to fulfill. You can see the API the gateway intends to fulfill by looking at the BaseGateway appropriate version tag.

Supported Gateways

Note: All builds are run daily thanks to Travis CI cron jobs.

Build Status Authorize.net
Build Status Braintree
Build Status NMI
Build Status Omise
Build Status Payflow
Build Status RocketGate
Build Status Stripe
Build Status VirtualMerchant
Build Status PayPal
Build Status WorldPay
Build Status Beanstream
Build Status Moneris

About

Node.js multi-gateway payment processing module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%