‚̧Nerds Publishing Monstrosities
    Have ideas to improve npm?Join in the discussion! ¬Ľ

    pxpay

    2.1.0¬†‚Äʬ†Public¬†‚Äʬ†Published

    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.

    Install

    npm i pxpay

    DownloadsWeekly Downloads

    2,631

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    22.3 kB

    Total Files

    13

    Last publish

    Collaborators

    • avatar