42-cent 中文文档教程
42-cent
Node.js 多网关支付处理模块
Installation
$ npm install -s 42-cent
Usage
var Gateways = require('42-cent');
var client = Gateways.use('Authorize.Net', credentials);
您可以注册其他网关 - 或替换现有网关:
Gateways.registerGateway('GatewayName', factoryFunction);
工厂函数必须返回一个实例摘要 BaseGateway。
Gateways API
网关必须实施特定版本的 BaseGateway。 在网关的 package.json
中设置的 42-cent-base
的版本定义了网关打算实现的 API。 通过查看 BaseGateway 适当的版本标签,您可以看到网关打算实现的 API。
Supported Gateways
注意:由于Travis CI cron jobs,所有构建每天都在运行。
Authorize.net< br> Braintree
NMI
Omise
支付流
RocketGate
条纹
VirtualMerchant
贝宝
WorldPay
Beanstream
Moneris
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.
Authorize.net
Braintree
NMI
Omise
Payflow
RocketGate
Stripe
VirtualMerchant
PayPal
WorldPay
Beanstream
Moneris
你可能也喜欢
- 3d-tiles-renderer 中文文档教程
- 433-utils 中文文档教程
- @3merge/express-starter 中文文档教程
- @4geit/rct-todo-store 中文文档教程
- @8base-react/table-schema-provider 中文文档教程
- @9f/singleflight 中文文档教程
- @abcnews/capi-fetch 中文文档教程
- @accodeing/prettier-config 中文文档教程
- @acdi/give4forests-crowdfunding-contract 中文文档教程
- @acoustic-content/delivery-sdk 中文文档教程