Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

omnipay

shoppre121ISC0.0.3

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

readme

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

`shell script npm i omnipay --save


## Usage

```shell script
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, 
})