NodeJS

plus-sign-simple

Integrate NodeJS and Allied Wallet

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

Allied Wallet and NodeJS Integration Guide

Before you will be able to submit transactions to Allied Wallet, you will need an Allied Wallet merchant account for your website. Once you have a merchant account established, Allied Wallet will supply you with:
1. Merchant Id
2. Site Id
3. OAuth Bearer Token
These IDs uniquely identify your websites, customers, and payments. You will need to add the three credentials in AlliedWallet dropdown menu in Trexle payments gateways dashboard.

 

Take the credentials you just obtained from Allied Wallet and navigate to Trexle dashboard, click Payments Gateways and select Allied Wallet from the drop down menu as shown below.

Fill into your Allied Wallet credential and click Add Gateway. Click the Activate button next to Allied Wallet, and it will give you a success message and the button will turn into green. You should see something like below.

To integrate Allied Wallet and NodeJS you need Trexle API keys

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: ‘[email protected]’,
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

Credit card number 4242424242424242
Cardholder’s name John J. Doe
Expiration Month 9
Expiration Year 2018
cVVCode 469

Allied Wallet Supported Countries

Allied Wallet 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 Allied Wallet and other +100 payment gateways with NodeJS and other dozen of e-commerce platforms.

About Allied Wallet

Choose Allied Wallet as Your Premium Online Payment Gateway. Allied Wallet is one of the leading turnkey payment solution companies in the industry. With billions of dollars processed globally and millions of satisfied customers to our credit, you can have complete confidence that your transactions will be safe.

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.

Cart