0.6.0 • Published 3 years ago
shepa v0.6.0
Shepa
Table of Contents
Install
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 0.6 or higher is required.
Installation is done using the
npm install
command:
$ npm i shepa
Introduction
A very simple tool to send and verify shepa payment gateway.
HowToUse
Merchant
Write this code in js file:
Send
import Shepa from "shepa";
let shepa = new Shepa('Merchant');
shepa.send(apiKey, amount);
Verify
import Shepa from "shepa";
let shepa = new Shepa('Merchant');
shepa.send(apiKey, token, amount);
Sandbox
Write this code in js file:
Send
import Shepa from "shepa";
let shepa = new Shepa('Sandbox');
shepa.send(apiKey, amount);
Verify
import Shepa from "shepa";
let shepa = new Shepa('Sandbox');
shepa.send(apiKey, token, amount);