diff --git a/payments/public/js/razorpay.js b/payments/public/js/razorpay.js index a85717b9..cf55b991 100644 --- a/payments/public/js/razorpay.js +++ b/payments/public/js/razorpay.js @@ -71,6 +71,7 @@ frappe.require("https://checkout.razorpay.com/v1/checkout.js").then(() => { } show() { + // eslint-disable-next-line no-undef this.razorpay = new Razorpay(this.options); this.razorpay.once("ready", (response) => { this.on_open && this.on_open(response);