Create a new Instance
Create a new Instance of Paytm SDK and pass all the necessary credentials to the Configuration
- Javascript
./instance/paytm
const {PaytmConfig} = require("@enjoys/paytm")
const paytm = new PaytmConfig({
PAYTM_ENVIRONMENT: "LIVE",
PAYTM_MERCHANT_KEY: "rBHSFqbQmGZJ1mu7",
PAYTM_MERCHANT_ID: "LwKutv58548207890301",
PAYTM_MERCHANT_WEBSITE: "DEFAULT",
CALLBACK_URL: "http://localhost:8080/callback",
});
module.exports = paytm