$ npm install -s 42-cent-moneris
var moneris = require('node-moneris');
var client = new MonerisMerchant({
store_id: '<PLACEHOLDER>',
api_token: '<PLACEHOLDER>',
country: '<PLACEHOLDER>',
testMode: '<PLACEHOLDER>'
});
This SDK is natively compatible with 42-cent.
It implements the BaseGateway API.
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