1.0.2 • Published 1 year ago

getepay.pgkit.reactjs v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

You can use getepay payment geteway with this package firstly you need to install cryptoJS with this package for encryption.

#install cryptojs npm i crypto-js

#after it install getepay npm i getepay.pgkit.reactjs

now you can use getepay as payment geteway. you can import default function in your component.

import getepayPortal from "../node_modules/getepay.pgkit.reactjs/index";

after that you need to pass data as an argument.

<button onClick={() => getepayPortal(data)}>pay

Schema of data :- { "mid": "168", "amount": "52.00", "merchantTransactionId": "M155235", "transactionDate": "Wed Oct 19 13:54:33 IST 2022", "terminalId": "Getepay.adaasd51021@icici", "udf1": "9322286054", "udf2": "", "udf3": "", "udf4": "", "udf5": "", "udf6": "", "udf7": "", "udf8": "", "udf9": "", "udf10": "", "ru": "", "callbackUrl": "", "currency": "INR", "paymentMode": "ALL", "bankId": "", "txnType": "single", "productType": "IPG", "txnNote": "Test Txn", "vpa": "Getepay.adaasd51021@icici" }

1.0.2

1 year ago

1.0.1

1 year ago