0.0.3 • Published 4 years ago
omnipay v0.0.3
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
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,
})