Troubleshooting & FAQs

Troubleshoot common errors and find answers to frequently asked questions related to Razorpay Web Standard Checkout Integration.


1. The Netbanking bank page is not opening on the Firefox browser. How to resolve this?

Mozilla Firefox users may not be able to open the bank page while making a netbanking payment on your checkout. This issue may be due to a browser setting that blocks the webpage from opening a pop-up page.

Your customers can follow these steps to unblock the pop-up page:

  • At page level: Modify settings on the bank page.
  • At browser level: Modify Firefox browser's settings.

Modify the settings on your bank page. Follow these steps:

  1. Open Mozilla Firefox.
  2. Navigate to ToolsPage InfoPermissions
  3. Set Open Pop-up Windows to Allow.

Modify the settings of your Firefox browser. Follow these steps:

  1. Open Mozilla Firefox.
  2. Navigate to PreferencesPrivacy & SecurityPermissions.
  3. Disable the Block pop-up windows option.

2. What can cause an overflow issue on an HTML page, and how can I resolve it?

Overflow issue can occur if the viewport meta tag is not present in your code. Check if the meta tag is added. If not, add the following line.

<meta name="viewport" content="width=device-width, initial-scale=1.0"/>

3. Is a timeout applicable on transactions?

Transaction timeout is applicable only when your customer attempts the payment. It times outs between 3 to 15 minutes.

The customer is redirected to the checkout if a payment fails due to timeout.

4. How do I accept international payments on checkout?

You need to enable the international payments feature on your Razorpay account. Refer to

.

5. Are language-based SDKs available?

Yes, language-based SDKs are available

.

6. Can I switch between Standard Integration and Quick Integration?

Yes, it is possible to easily switch from one integration method to another. If you were earlier using Standard Integration, you can switch to using

.

  • This is possible because the Standard Integration searches for the data-key field inside the <script> tag, that when found, switches to automatic mode.
  • It also creates a button alongside the <script> tag and attaches its 'onclick event handler' (created internally) to the .open method of the Razorpay object.

7. Can I track the status of the checkout modal?

Yes, you can track the status of the checkout modal. You can do this by passing a modal object with ondismiss: function(){} as options. The ondismiss function is called when the modal is closed by the user.

var options = {
"key": "<YOUR_KEY_ID>", // Enter the Key ID generated from the Dashboard
"amount": "29935",
"name": "Acme Corp",
"description": "A Wild Sheep Chase is the third novel by Japanese author Haruki Murakami",
"image": "http://example.com/your_logo.jpg",
"handler": function (response){
alert(response.razorpay_payment_id);
},
/**
* You can track the modal lifecycle by * adding the below code in your options
*/
"modal": {
"ondismiss": function(){
console.log('Checkout form closed');
}
}
};
var rzp1 = new Razorpay(options);

You can utilize the handler function called on every successful transaction for tracking payment completion.

8. What is the difference between webhooks and callback URL?

You can use Callback URL and webhook to get the status of the transaction for a payment source.

ParticularsWebhooksCallback URL
AboutWebhooks allow you to build or set up integrations that subscribe to certain events on Razorpay APIs. When one of those events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL.
Know more about .
A callback URL is an address that a server provides, and any computer in the Internet/private network can POST data to it. For Razorpay integrations, callback URL is the address at which Razorpay should send the transaction response. You can pass the URL in the https://<domain_name_callback_url> format in the callback_url request parameter. Know more about .
When to useUse webhooks to receive real-time notifications when specific events occur. For example, receive notifications upon payment failure.Use callback URL to redirect your customers to a particular page. For example:
  • You can send customers to a payment success page after successful payment. This page will receive payment details such as the payment id.
  • The Razorpay Checkout pop-up page does not appear in certain browsers, for example, on Facebook and Instagram browsers. In such cases, you can use the callback URL to redirect customers from your Facebook/Instagram page to another page where the Razorpay Checkout appears. Customers can complete the payments on this redirected page.

9. Which are the payment methods that appear on Instagram/Facebook browsers?

Payment methods like

, , and Powerwallet (Freecharge) will appear on Instagram/Facebook browsers. Any other payment method which opens on a pop-up page is not supported in these browsers.

10. Can I enable UPI Intent in WebView on my app?

Yes, you can enable UPI Intent in WebView on your:

11. How do I resolve a 500 internal server error?

Multiple factors can cause a 500 internal server error. Ensure that the required features are enabled on your MID. Additionally, verify that you are calling the API correctly. If the issue is still not resolved, contact our

.

12. While using Razorpay UPI Intent, my customers are encountering this error, "Safari cannot open the page because the address is invalid." How can I resolve this?

To resolve the error, request your customers to refresh the page and clear the browser cache.


Is this integration guide useful?