omnipay

0.0.3 • Public • Published

OmniPay

You need to install OmniPay Server and set API credentials before you get started

If you not installed yet, you can install using below options

  1. DigitalOcean One Click Installation
  2. Installing by your own

Installation

npm i omnipay --save

Usage

OMNIPAY_SECRET=https://pay.yourdomain.com
OMNIPAY_SECRET=<super-secret>
 
const omnipay = require('omnipay');
 
const SALES_LEDGER = 1;
const CUSTOMER_646 = 646;
 
omnipay.createTransaction({
    customer_ledger_id: CUSTOMER_646,
    sales_ledger_id: SALES_LEDGER,
    amount: 500,
    payment_gateway_id: RAZORPAY, PAYTM, DHL, DELIVERY, 
})

Readme

Keywords

none

Package Sidebar

Install

npm i omnipay

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

29.5 kB

Total Files

13

Last publish

Collaborators

  • shoppre1