Catalog npm
Back to packageRELEASE DETAILS

0.2.4

npm

42-cent

abstraction of 42-cent payment gateways, this is a structural interface the different payement gateways must implement

42-centgatewaypayment
Published2 Oct 2014
Direct dependencies6
Transitive dependenciesNot calculated

README

Current package documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
42-cent-authorizenet
Environment
{
  "local_name": "42-cent-authorizenet",
  "alias": false,
  "peer_metadata": null
}
^0.2.1runtime
42-cent-base
Environment
{
  "local_name": "42-cent-base",
  "alias": false,
  "peer_metadata": null
}
^0.2.0runtime
42-cent-payflow
Environment
{
  "local_name": "42-cent-payflow",
  "alias": false,
  "peer_metadata": null
}
^0.2.1runtime
42-cent-rocketgate
Environment
{
  "local_name": "42-cent-rocketgate",
  "alias": false,
  "peer_metadata": null
}
^0.2.0runtime
42-cent-virtualmerchant
Environment
{
  "local_name": "42-cent-virtualmerchant",
  "alias": false,
  "peer_metadata": null
}
^0.2.0runtime
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^1.21.4development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "ed5d4c7d694b5ffaa3119db380a42a8a26070994",
  "tarball": "https://registry.npmjs.org/42-cent/-/42-cent-0.2.4.tgz",
  "integrity": "sha512-txDJm9oT2rgb02Gbszq+mOFb8z2LCwjekRq6j/nSBsJ+sIaMM0zQ4wiA2F9WW3n2urphCQ0pYXfduDaCo0jIMQ==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCICdoLXJrNY6RfyO+ZJlWCi3CnF/sX21ougMGRep3XRtTAiEA86/JjCduuo3PCD5Zis1klRkfhKbNNZFfQEXrMXTrHoc="
    }
  ]
}

Repository

PENDING
continuous-software/42-cent

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:59 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:200f96f5ee2a1daf1bb8ec92c94b0e8177f5d3029e3e29db57798ff02a8be522

Other collected versions

1.5.321 Apr1.5.227 Jan1.4.016 Nov1.3.29 Nov1.3.16 Oct1.3.030 JulView all collected versions →