2.1.0 • Published 5 years ago

pxpay v2.1.0

Weekly downloads
2,642
License
MIT
Repository
github
Last release
5 years ago

PxPay

npm version Build Status Coverage Status

PxPay implementation for node.js

Node module to use the PxPay service from Payment Express.

Install

$ npm install pxpay

Usage

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

Notes

If you are running in production it uses the Payment Express production URL, otherwise it uses the UAT url.

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.1

7 years ago

1.1.0

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago