42-cent-moneris 中文文档教程
Installation
$ npm install -s 42-cent-moneris
Usage
var moneris = require('node-moneris');
var client = new MonerisMerchant({
store_id: '<PLACEHOLDER>',
api_token: '<PLACEHOLDER>',
country: '<PLACEHOLDER>',
testMode: '<PLACEHOLDER>'
});
Gateway API
此 SDK 原生兼容 42-cent。
它实现了 BaseGateway API。
Test Values
var moneris = require('node-moneris');
var client = new MonerisMerchant({
store_id: 'store5',
api_token: 'yesguy',
country: 'CA',
testMode: true
});
万事达 5454545454545454
确保测试交易金额小于 11 美元 对于特定的返回消息,请查看 Penny Value Simulator -- https://developer.moneris.com/More/Testing/Penny%20Value%20Simulator
Installation
$ npm install -s 42-cent-moneris
Usage
var moneris = require('node-moneris');
var client = new MonerisMerchant({
store_id: '<PLACEHOLDER>',
api_token: '<PLACEHOLDER>',
country: '<PLACEHOLDER>',
testMode: '<PLACEHOLDER>'
});
Gateway API
This SDK is natively compatible with 42-cent.
It implements the BaseGateway API.
Test Values
var moneris = require('node-moneris');
var client = new MonerisMerchant({
store_id: 'store5',
api_token: 'yesguy',
country: 'CA',
testMode: true
});
MasterCard 5454545454545454
Make sure testing transaction amounts are less than $11 For specific return messages, check the Penny Value Simulator -- https://developer.moneris.com/More/Testing/Penny%20Value%20Simulator