diff --git a/controllers/payment.js b/controllers/payment.js index 555dbf5..57ff4fa 100644 --- a/controllers/payment.js +++ b/controllers/payment.js @@ -9,8 +9,8 @@ const { getAllCoupons } = require('./coupon'); //test credentials of razorpay const instance = new razorpay({ - key_id : 'rzp_test_tLx9c6GiWjKcsl' , - key_secret : '4Cf52d6C3amkptdRLCTdC2sT' + key_id : process.env.KEY_ID , + key_secret : process.env.KEY_SECRET }) ; module.exports.postVerify =async (req , res , next) => { diff --git a/nodemon.json b/nodemon.json index 4a040aa..3eff58c 100644 --- a/nodemon.json +++ b/nodemon.json @@ -2,6 +2,11 @@ "env" : { "MONGO_USER":"Cantilever", "MONGO_PASSWORD" :"Cantilever" , - "MONGO_DEFAULT_DATABASE" :"myFirstDatabase" + "MONGO_DEFAULT_DATABASE" :"myFirstDatabase" , + "KEY_ID" : "rzp_live_aD9j5WLBGtdQxt" , + "KEY_SECRET" : "o9BDCwYcpNcHyFL5yjiY7OWG" , + "EMAIL" : "AKIA2G7743RRTZMVXE3X" , + "HOST" : "email-smtp.us-east-1.amazonaws.com" , + "PASS" : "BJSjV3jArJfsnk1LhFc/hUmisEyEtbLNGgrRbv0noh8c" } } \ No newline at end of file