Skip to content

PayXpert Payment Gateway and Payment Page API wrapper in NodeJS. See our website for more information about our payment solutions.

License

Notifications You must be signed in to change notification settings

Creativty/connect2pay-nodejs-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PayZone NodeJS Library (Typescript Edition)

The PayZone NodeJS library provides convenient access to the Payxpert Payment Gateway and Connect2Pay API from applications written in server-side JavaScript.

Please keep in mind that this package is for use with server-side Node that uses PayZone API credentials (originator ID and password). To maintain PCI compliance, tokenization of credit card information should always be done with relevant software on the client side. This package should not be used for that purpose.

Documentation

See the PayZone API documentation](https://developers.payzone.ma).

Installation

Install the package with:

npm i payxpert_ts --save

Usage

The package needs to be configured with your originator Id and API KEY (originator password):

const payxpert = require('payxpert_ts')("10...", "xxx");
const accountInformation = await payxpert.connect2pay.accountInformation();
...

Development

Run all tests:

$ export PXP_ORIGINATOR_ID=...
$ export PXP_ORIGINATOR_PASSWORD=...
$ npm install
$ npm test

Modifications

  • Typescript source files instead of Javascript
  • Modernized ES2016 output
  • PAYZONE only

About

PayXpert Payment Gateway and Payment Page API wrapper in NodeJS. See our website for more information about our payment solutions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.4%
  • TypeScript 40.6%