0.0.3 • Published 4 years ago

omnipay v0.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

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, 
})