pxpay

A node module for using the Payment Express PXPay 2.0 service for payment processing

pxpay

PxPay implementation for node.js

var pxpay = require('pxpay');
pxpay.request({
    user: 'TestAccount',
    password: 'password',
    amount: '1.00',
    reference: 'Test',
    TxnId: 'test-' + Date.now(),
    addCard: 1,
    successURL: 'http://example.com/success',
    failURL: 'http://example.com/fail'
}, function submitcallback (err, result) {
 
    result.$.valid; //=== 1
 
});