Closed subhramukherjee closed 2 years ago
//PaymentGateway.js
const Razorpay = require('razorpay');
var razorpay = new Razorpay({
key_id: '',
key_secret: ''
});
module.exports = razorpay;
//anywhere you want to use
const razorpay = require('fromFileLocation/PaymentGateway');
@subhramukherjee sorry for the late response. could you please let us know if this issue was fixed?
Closing this issue for now, due to not getting any response. Feel free to add more suggestions you may have. Please let us know if you need any help.
You have docs of integrating nodejs-client. I want to integrate razorpay in my nodejs server. How i can do it. One more thing, that, my server is shared server, is it safe? Please suggest.. Thank you..