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
这是 braintree_node 的适配器,用于 42-cent.
它实现了 BaseGateway API。
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.