Integrate Magic Checkout With WooCommerce Website

Steps to integrate Magic Checkout on your WooCommerce Website.


Follow the steps given below to integrate Razorpay Magic Checkout with your WooCommerce Website.

Feature Request

  • This is an on-demand feature. Please raise a request with our to get this feature activated on your Razorpay account.
  • Watch this video to know how to raise a feature enablement request on the Razorpay Dashboard.
Feature Request GIF

Watch Out!

If you are integrating with our plugin for the first time, refer to the

.

Follow the steps given below:

1. Enable Features on Razorpay Dashboard

To configure settings on Razorpay Dashboard:

  1. Log in to the and navigate to SettingsGeneral.
  2. Copy the WordPress Address or Site Address.
    Copy the checkout URL
  3. Log in to the and navigate to Magic Checkout (under PAYMENT PRODUCTS) → Settings.
  4. Select WooCommerce from the drop-down list. Paste the WordPress Address or Site Address in the Domain hyperlink field.
    Enter WooCommerce domain hyperlink on Magic Checkout Settings

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.
    Edit the settings on the WooCommerce Dashboard
    • Activate Magic Checkout: Enable Magic Checkout to start displaying Magic Checkout instead of Native Checkout. Disable it to use Native Checkout.
      Enable Magic 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 the Buy Now button
      • 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.
        Activate the Mini Cart Checkout

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 .
  • 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 . However, for versions lower than 3.5.0, you need to .

3. Accept Live Payments

Disable the Test mode enabled in

and click Save Settings to accept live payments.

Disable the test mode enabled previously

Handy Tips

To disable Magic Checkout, refer to our

.

Once you successfully integrate Magic Checkout with your WooCommerce website, you can choose to

based on your requirement.


Was this page helpful?


integrate magic checkout
woocommerce integration
integration steps
accept payments