We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3faaf99 commit bdf5018Copy full SHA for bdf5018
e2e/razorpay.js
@@ -7,7 +7,7 @@ class RazorpayBeta extends Razorpay {
7
constructor(options) {
8
super(options)
9
this.api.rq = request.defaults({
10
- baseUrl: hostUrl,
+ baseUrl: options.hostUrl,
11
json: true,
12
auth: {
13
user: options.key_id,
@@ -22,4 +22,4 @@ module.exports = new RazorpayBeta({
22
key_id: process.env.API_KEY || "",
23
key_secret: process.env.API_SECRET || "",
24
hostUrl : "https://api-web.dev.razorpay.in"
25
-});
+});
0 commit comments