Catalog npm
Back to packageRELEASE DETAILS

1.2.0

npm

42-cent

Wrapper for various payment gateways.

42-centgatewaypayment
Published19 May 2015
Direct dependencies11
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 11

Native requirements
11 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
42-cent-base
Environment
{
  "local_name": "42-cent-base",
  "alias": false,
  "peer_metadata": null
}
^0.8.0runtime
42-cent-braintree
Environment
{
  "local_name": "42-cent-braintree",
  "alias": false,
  "peer_metadata": null
}
^0.1.0runtime
42-cent-omise
Environment
{
  "local_name": "42-cent-omise",
  "alias": false,
  "peer_metadata": null
}
^0.1.0runtime
42-cent-stripe
Environment
{
  "local_name": "42-cent-stripe",
  "alias": false,
  "peer_metadata": null
}
^0.1.0runtime
42-cent-model
Environment
{
  "local_name": "42-cent-model",
  "alias": false,
  "peer_metadata": null
}
^2.0.0runtime
authorize-net
Environment
{
  "local_name": "authorize-net",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
nmi
Environment
{
  "local_name": "nmi",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
payflow
Environment
{
  "local_name": "payflow",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
rocketgate
Environment
{
  "local_name": "rocketgate",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
virtualmerchant
Environment
{
  "local_name": "virtualmerchant",
  "alias": false,
  "peer_metadata": null
}
^1.0.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": "1fb5ffdc6acbfec4cfb0f63ce23b07c890f64147",
  "tarball": "https://registry.npmjs.org/42-cent/-/42-cent-1.2.0.tgz",
  "integrity": "sha512-Og1LEUaPX/lfd4NLF9+1O3wvACqWmWnenj5duOy6QoGtF9hvm+peGXyrHOWagdJoFVN8k/dBbeFyntMe/a0ELA==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQCDiuF7iQ6Y4iQT3f6PvzvV8VrxDD0Mqiwa3zV3JhZ68wIgTayL6kQ3TE7+9E8bAkz4VGldrOs1B7jeBYdkG4CCG7E="
    }
  ]
}

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:95438da48ec1d21264bbc65fd71ea8e899640e12019a5f973e4a69f938eefa7d

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 →