npm install @prasuco/easy-sewa
import { EasySewa} from '@prasuco/easy-sewa';
const easySewa = new EasySewa({
environment: "development",
failure_url: "http://localhost:3000/failure",
success_url: "http://localhost:3000/success",
product_code: "EPAYTEST",
secret: "8gBm/:&EnhH.1/q"
})
easySewa.pay({ amount: 200, transaction_uuid: "232323232323" })
This package has not been tested in production using the production merchant codes of esewa.