node-ipg-connect

1.0.4 • Public • Published

First Data IPG Connect Node.js Library

This library provides developers with a simple binding for the First Data IPG Connect payment gateway.

Requirements:

Node.js version 4.8.4 or higher
An IPG account (see Registration & Configuration section below)

Installation:

To install First Data IPG Connect from terminal:

npm install node-ipg-connect

You can require the module and setup the Connect object with the options as detailed below.

Require the module:

var Connect = require('node-ipg-connect');
 

Configuration:

var ipg = new Connect({
   storeid: "YOUR_STORE_ID",            // Store Id is required
   sharedsecret: "YOUR_SHARED_SECRET", // Shared Secret is required
   successURL: "SOME_DOMAIN.com/thanks",  // Your success page the gateway will redirect customer to this URL after transaction approval
   failURL: "SOME_DOMAIN.com/sorry",      // Your fail page the gateway will redirect customer to this URL after a declined transaction
   sandbox: true                          // Set to 'true' for 'Sandbox' and 'false' for 'Live'- Use the correct test or live credentials
});



Please visit the Wiki for a quick tutorial on how to build a simple IPG Connect payment app using Nodejs and Express with this module.

Package Sidebar

Install

npm i node-ipg-connect

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

5.42 kB

Total Files

7

Last publish

Collaborators

  • brightocansey