Skip to main content
  • WooCommerce Integration Changelog: Discover new features, updates and deprecations related to the WooCommerce Integration with Magic Checkout (since Jan 2024).
    • Troubleshooting & FAQs: Troubleshoot common error scenarios and find answers to frequently asked questions about WooCommerce Integration.
Follow the steps given below to integrate Razorpay Magic Checkout with your WooCommerce Website.
Feature RequestThis is an on-demand feature. Please raise a request with our Support team to get this feature activated on your Razorpay account.
Watch Out!If you are integrating with our plugin for the first time, refer to the FAQs.

Integration Steps

Follow the steps given below:

1. Enable Features on Razorpay Dashboard

To configure settings on Razorpay Dashboard:
  1. Log in to the WordPress account and navigate to SettingsGeneral.
  2. Copy the WordPress Address or Site Address.
  3. Log in to the Razorpay Dashboard and navigate to Magic Checkout.
  4. Select WooCommerce from the drop-down list. Paste the WordPress Address or Site Address in the Domain hyperlink field.

2. Enable Features on WordPress Dashboard

To configure settings on WordPress Dashboard:
  1. Log in to your WordPress account and activate the Razorpay plugin in the WordPress Plugin Manager.
  2. Log in to your WooCommerce account, navigate to Settings and click the Payments tab.
  3. In the Payments tab, scroll down to Razorpay and click Manage to edit the settings.
    • Activate Magic Checkout: Enable Magic Checkout to start displaying Magic Checkout instead of Native Checkout. Disable it to use Native Checkout.
      • Activate Test Mode: Enable Test mode to test the flow without impacting customers. This will show the button only to users who have admin permissions.
      • Activate Buy Now Button: Display the Buy Now button on the product display page. Customers can directly purchase a single product by clicking the Buy Now button on the product display page and they will be directed to the Checkout for the payment. Only the Add to Cart button will appear to the customers if this is not selected.
      • Activate Mini Cart Checkout: Display the Mini Cart Checkout button. Once a customer adds a product to the cart, they can hover over the cart and proceed to the Checkout section by clicking the Checkout button.
Handy Tips
  • Before accepting live payments, test the Buy Now, Mini Cart, and Checkout buttons to ensure the integration works as expected. In case of any queries, contact our support team.
  • Webhooks are auto-configured when you enter and save the API key ID and secret on the plugin settings page. You need to verify if webhooks are enabled on your Razorpay Dashboard. However, for versions lower than 3.5.0, you need to configure webhooks manually.

3. Accept Live Payments

Disable the Test mode enabled in Step 2 and click Save Settings to accept live payments.
Handy TipsTo disable Magic Checkout, refer to our FAQs.

Next Steps

Next Steps

After successfully integrating your WooCommerce website with Magic Checkout, you can perform the following configurations on the Razorpay Dashboard to suit your business needs:
  • Cash on Delivery: Enable COD and configure rules for specific locations, products, and order amounts, catering to customer preferences and logistical needs to increase sales.
  • RTO: Use automated COD intelligence or manual review to decide whether to offer COD based on customer buying history, thus reducing RTO rates.
  • Convert COD Orders to Prepaid: Encourage COD customers to switch to prepaid by offering discounts or incentives, reducing cash handling risks.
  • Shipping Options: Set up shipping rates at the product, zone and method levels to optimise costs and improve delivery efficiency.
  • International Shipping: Allow customers to enter international PIN codes, expanding your market reach globally.
  • Coupons: Provide discounts via coupons to enhance engagement and reduce cart abandonment.
  • Google and Facebook Analytics: Integrate Google and Facebook Analytics for insights into customer behaviour and optimised marketing strategies.
Troubleshooting and FAQs