JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1331
  • Score
    100M100P100Q124929F
  • License MIT

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

Package Exports

  • pxpay

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pxpay) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.