Troubleshooting & FAQs
Troubleshoot common errors and find answers to frequently asked questions about Razorpay Magic Checkout.
Yes, international payments is supported on Magic Checkout.
No, we do not support using live and test keys simultaneously in a staging environment. The URL configured in live mode is used for testing. If you need a specific merchant ID (MID) hardcoded for testing, please reach out to your Razorpay SPOC for assistance.
No, SSO is not supported. You will need to log in explicitly on the Razorpay Dashboard using your credentials.
The calls are failing due to timeouts. If the response time exceeds 10 seconds, the request is terminated, resulting in errors.
Yes, you can provide different types of payment offers to customers on checkout. Know more about how to
.You can retrieve the GSTIN and order notes provided by a customer by querying the corresponding Razorpay order_id. These details are available in the order notes under the keys gstin
and order_instruction
respectively.
You can retrieve customer details by querying the Razorpay order associated with the customer.
Yes, you can customise Razorpay Checkout to reflect your brand colors and logos. Know more about how to
on checkout.This is an on-demand feature. Please raise a request with our
to configure the email and phone number collection on checkout.9. What should I do if my domain's firewall or cloud configuration is blocking requests to api.razorpay.com?
If your domain’s firewall or cloud configuration is blocking requests to api.razorpay.com, you need to whitelist our public IPs. Know more about how to
.You can initiate refunds using our
.1. I am integrating with Razorpay Plugin for the first time. What are the steps that I need to follow?
Follow the steps given below if you are integrating with our plugin for the first time:
- .
- from the . Navigate to Account & Settings → API Keys (under Website and app settings).
- .
-
Install Razorpay Plugin: With the release of version 4.1.0, you can install the plugin directly from the
.Handy Tips
Ensure you have the PHP-curl extension installed to make network requests.
-
. In addition to the other steps, scroll down to Razorpay under the Payments tab and click Manage to edit the settings.
- Enable the Payment Method, name it Credit Card/Debit Card/Internet Banking (Displayed to your customer on the payment page).
- Add in your
[KEY_ID]
and[KEY_SECRET]
generated from the . - Set Payment Action to Authorize and Capture to auto-capture payments. If you want to capture payments manually from the Dashboard after manual verification then set the Payment Action to Authorize.
-
Accept Live Payments.
- Generate the
[KEY_ID]
and[KEY_SECRET]
in the Live mode on your Razorpay Dashboard. - Enter the Live mode
[KEY_ID]
and[KEY_SECRET]
in your WooCommerce store.
Handy Tips
to accept live payments. - Generate the
To exclude draft orders: a. Click Analytics settings in the WooCommerce Dashboard. b. Navigate to the Excluded statuses section and select the check box for draft orders under the Unregistered statuses section.
3. My Webhooks are not auto-configured since I am not using the upgraded version of WooCommerce. How do I manually configure webhooks?
-
Auto-webhook support is available from Razorpay Woocommerce Plugin v2.7.2 onwards.
-
You can configure only these events:
payment.authorized
,refund.created
andvirtual_account.credited
.Handy Tips
If you have enabled the COD option for your customers, you should manually subscribe to the
payment.pending
event. -
Once you configure auto-webhook on WooCommerce, you do not have to configure it on the Razorpay Dashboard.
To set up auto-webhooks:
- In the WordPress Dashboard, click WooCommerce and go to Settings.
- In the Payments tab, complete the following steps:
- Select Enable Razorpay Webhook.
- Webhook Events: From the list, select the events for which you want to receive notifications.
- Webhook Secret: Enter the secret. This is a mandatory field as the secret is required for webhook signature verification.
- Click Save Changes.
To verify if webhooks are enabled:
-
Log in to the
and navigate to Account & Settings → Webhooks (under Website and app settings). -
Select the relevant webhook URL.
-
On the right panel, check if the status for
payment.authorized
,refund.created
andvirtual_account.credited
is enabled.Handy Tips
If you have enabled the COD option for your customers, you should
to thepayment.pending
event.
Yes, you can disable Magic Checkout. Once you disable Magic Checkout, your website/app will automatically fall back to your default Woocommerce Checkout experience. Follow the steps given below to disable Magic Checkout:
- Log in to the and navigate to Woocommerce → Settings.
- Click Payments.
- In the Payments tab, scroll down to Razorpay and click Manage to edit the settings.
- Scroll down to the Activate Magic Checkout field and unselect the check box to deactivate it.
- Click Save Changes.
Coupons is an on-demand feature. Fill in the
to get this feature enabled on your account.No, currently, we support coupons created in INR only.
Coupons created on Shopify will not apply unless they are synced. To sync all coupons across different categories on Shopify:
- On the Razorpay Dashboard, navigate to Coupons → Setup section.
- Click Sync now next to the Coupons from Shopify section.
- Enter the Start date and End date to set the sync duration for the coupon.
- Click Start Sync.
By default, all the coupons synced from Shopify are in the created
state. You must manually configure and publish the coupons. To publish a coupon, identify the coupon created on Shopify, click the options icon and click View and Edit (if required), or click Publish.
In the Buy X Get Y scenario, you must convey to your customers that to use this coupon, both the X and Y products should be present in their cart. For example, if the coupon offers a discount on a cap or provides it for free when you buy a tshirt, both items must be in your cart for the discount to apply.
After you publish a coupon, navigate to Settings → Coupon Settings and click Enable to make the coupons accessible on checkout for your customers. Click Save settings post which all the coupons created on Shopify will stop working immediately.
Yes, you can edit the coupon. Navigate to Coupons → All Coupons, identify the coupon you want to edit, navigate to the options icon and click View and Edit.
Watch Out!
Once the coupon is created, you cannot edit the Coupon Code, Coupon eligibility file you upload, Display this coupon at checkout, Coupon start date and Total Maximum budget.
You can only deactivate a coupon and not delete it. Identify the coupon you want to deactivate, navigate to the options icon and click Deactivate.
Format:
- Mobile number: +919000090000
- Email id:
10. How is the refund processed if a customer returns a product paid partially via COD and partially online?
The refund process depends on the your refund policy. If approved, the refund will be processed as a standard refund, similar to the existing refund options that Razorpay offers. Know more about
.Was this page helpful?
ON THIS PAGE