42-cent-braintree

42-cent adaptor for braintree payment gateway

Usage no npm install needed!

<script type="module">
  import 2CentBraintree from 'https://cdn.skypack.dev/42-cent-braintree';
</script>

README

Build Status

42-cent-braintree

Installation

$ npm install -s 42-cent-braintree

Usage

var Braintree = require('42-cent-braintree');
var client = new Braintree({
    MERCHANT_ID: '<PLACEHOLDER>',
    PUBLIC_KEY: '<PLACEHOLDER>',
    PRIVATE_KEY: '<PLACEHOLDER>'
});

Gateway API

This is an adaptor of braintree_node for 42-cent.
It implements the BaseGateway API.