NodeJS

plus-sign-simple

Integrate NodeJS and Itransact

Trexle connects NodeJS to Itransact and 100+ other payment gateways using a single plugin for one time annual fee

Itransact and NodeJS Integration Guide

To get your API username and API key, you need to login to your iTransact account and go to Account settings. Then “Check” the REQUIRE API ACCESS FOR XML in the “Fraud Control” section. After this go to “Advanced Features” to get the API user name and API key.

In your NodeJS project, open a terminal and issue the following command:

npm install trexlejs

If you want to test, consider writing the following example in a test.js file:

var Trexle = require('trexlejs');

var trexle = Trexle.setup({
key: ‘your-api-key’,
production: false
});

trexle.createCharge({
amount: 400,
currency: ‘usd’,
description: ‘test charge’,
email: ‘john@trexle.com’,
ip_address: ‘66.249.79.118’,
card: {
number: ‘4242424242424242’,
expiry_month: 8,
expiry_year: 2018,
cvc: 123,
name: ‘John Milwood’,
address_line1: ‘423 Shoreline Park’,
address_city: ‘Mountain View’,
address_postcode: 94043,
address_state: ‘CA’,
address_country: ‘US’
}
}, function (response) {
console.log(response.body);
});

Then run the code:

node test.js

The testing interface allows you to test all aspects of your order form or transaction system. You may turn testing on for all transactions or for a specific “test” customer first name in the Account Settings area of your Control Panel. With the test mode turned on, no transactions are processed. However, test confirmation email messages are sent to you and to your customer. In Test Mode, you may use the following test account information:

  • For processing credit cards:
    • Credit Card Number: 5454545454545454
    • Exp. Date: anything not expired
  • For processing echecks:
    • Checking ABA Number: 324377516
    • Account Number: 1234567890

(These can be used ONLY while your account is in testing mode.)

Itransact Supported Countries

Itransact Supported Payment Processing Actions

✔ Purchase
✔ Authorize
✔ Capture
✔ Void
✔ Credit
✔ Recurring
✖ Card Store

Key Features

Credit Card Vault: securely store your customers sensitive credit card data using tokens.
Instant PCI-DSS Compliance: your customers credit card data never touches your site or server.
Multiple Gateway Support: Connect your NodeJS site to 100+ payment gateway

About Trexle

Trexle is a powerful online recurring subscription billing platform that integrate Itransact and other +100 payment gateways with NodeJS and other dozen of e-commerce platforms.

About Itransact

iTransact is a 20 year old, full service payment processing company powered by the largest processors on the planet servicing millions, while at the same time providing personal, world-class customer support and assistance. iTransact’s end-to-end merchant solutions include mobile, internet, as well as traditional retail services from virtually any legitimate industry within the United States. Other offerings include custom gateway services with access to a virtual terminal, recurring billing, all types of equipment and point of sale solutions, Applepay, EMV, electronic check and ACH services, and much more.

About NodeJS

Node.js is an open-source, cross-platform JavaScript runtime environment for executing JavaScript code server-side, and uses the Chrome V8 JavaScript engine. Historically, JavaScript was used primarily for client-side scripting, in which scripts written in JavaScript are embedded in a webpage's HTML, to be run client-side by a JavaScript engine in the user's web browser. Node.js enables JavaScript to be used for server-side scripting, and runs scripts server-side to produce dynamic web page content before the page is sent to the user's web browser.