Troubleshooting & FAQs

Troubleshoot common errors and find answers to frequently asked questions about Razorpay Magic Checkout.


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:

  1. .

  2. from the . Navigate to Account & SettingsAPI Keys (under Website and app settings).

  3. .

  4. 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.

  5. . 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.
  6. 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.

2. How can I exclude draft orders from WooCommerce analytics reports?

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 and virtual_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:

  1. In the WordPress Dashboard, click WooCommerce and go to Settings.
  2. 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.
  3. Click Save Changes.

4. How can I verify if webhooks are enabled?

To verify if webhooks are enabled:

  1. Log in to the

    and navigate to Account & SettingsWebhooks (under Website and app settings).

  2. Select the relevant webhook URL.

  3. On the right panel, check if the status for payment.authorized, refund.created and virtual_account.credited is enabled.

    Handy Tips

    If you have enabled the COD option for your customers, you should

    to the payment.pending event.

5. Can I disable Magic Checkout?

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:

  1. Log in to the and navigate to WoocommerceSettings.
  2. Click Payments.
    Payments
  3. In the Payments tab, scroll down to Razorpay and click Manage to edit the settings.
    edit
  4. Scroll down to the Activate Magic Checkout field and unselect the check box to deactivate it.
    Disable
  5. Click Save Changes.

1. Why am I not able to view the Coupons tab on the Razorpay Dashboard.

Coupons is an on-demand feature. Fill in the

to get this feature enabled on your account.

2. Can I create coupons for an international audience?

No, currently, we support coupons created in INR only.

3. Are the coupons created on Shopify supported?

Coupons created on Shopify will not apply unless they are synced. To sync all coupons across different categories on Shopify:

  1. On the Razorpay Dashboard, navigate to CouponsSetup section.
  2. Click Sync now next to the Coupons from Shopify section.
  3. Enter the Start date and End date to set the sync duration for the coupon.
  4. Click Start Sync.

4. Are all the coupons created on Shopify published once synced?

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.

5. Why are my customers not able to avail of the Buy X Get Y coupon?

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.

6. Why are the coupons I have created and published not visible on checkout?

After you publish a coupon, navigate to SettingsCoupon 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.

7. Can I edit a coupon after creating it?

Yes, you can edit the coupon. Navigate to CouponsAll 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.

8. Can I delete a coupon?

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.

9. What is the CSV format to upload the coupon eligibility file?

Format:


Was this page helpful?

ON THIS PAGE