NodeJS

plus-sign-simple

Integrate NodeJS and Securionpay

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

Securionpay and NodeJS Integration Guide

To authenticate you need to provide your “API Secret Key” as username and leave password blank. You can find you API keys in your Securionpay account settings once you login to your account. It is important to keep your “API Secret Key” safe as it allows to perform many privileged operations on your behalf.

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

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

To integrate Securionpay 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

Card number Card type
4012000100000007 Visa
4242424242424242 Visa
4012888888881881 Visa
4000056655665556 Visa (debit)
5555555555554444 MasterCard
5200828282828210 MasterCard (debit)
5105105105105100 MasterCard
378282246310005 American Express
371449635398431 American Express
6011111111111117 Discover
6011000990139424 Discover
30569309025904 Diners Club
38520000023237 Diners Club
3530111333300000 JCB
3566002020360505 JCB

Other integrations between Securionpay and Nodejs

securionpay nodejs official extension


This is the official nodejs extension for SecurionPay.

The extension is provided by SecurionPay and is Free

Securionpay Supported Countries

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

About Securionpay

Securionpay is swiss-based online and mobile based payment gateway that offers friendliest end-user and developer experience thanks to flexible and robust APIs. SecurionPay redefines and simplifies mobile & online credit and debit card processing. They offer hassle-free and friendly payment experience created for eCommerce Owners, Developers, Non-developers and End-users.

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