> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Magic Checkout

> Use Magic Checkout to pre-fill shipping info, apply coupons automatically, and reduce RTO rates for a seamless purchasing experience on your Shopify Store.

Available in
🇮🇳 India

After successfully activating COD & Magic Checkout, enable Magic Checkout to enhance your customers' purchasing experience.

This feature pre-fills shipping info from saved addresses for faster checkout, automatically applies coupons, and helps predict RTO by identifying non-serviceable addresses, reducing RTO rates. Know more about [RTO Intelligence](https://razorpay.com/docs/payments/cod-magic-checkout/shopify/rto-intelligence).

## Enable Magic Checkout

1. Log in to the Dashboard.
2. Navigate to **Magic Checkout** → **Setup and Settings** → **Checkout Settings**.
3. Turn on **Enable Magic Checkout** to enable Magic Checkout.
4. Additionally, you can also configure the following:
   * **Email Field**: Configure email address collection based on your requirement:
     * **Hidden**: Customers will not be shown this field on checkout.
     * **Mandatory**: Customers must enter their email address to proceed.
     * **Optional**: Customers can choose to enter their email address or skip this step.
   * **Theme Color**: Enter the HEX code of your brand colour.
   * **Mandatory OTP**: Enable secure access with one-time password (OTP) login.
5. Click **Save Settings**.

   ![Enable Magic Checkout to activate](https://razorpay.com/docs/build/browser/assets/images/cod-magic-checkout-cod-enable-magic.jpg)
6. You will be redirected to the theme page on your Shopify store. Click **Save** in the top right corner to complete the setup.

You have successfully enabled Magic Checkout. You can test the checkout process on your Shopify store by clicking **Checkout** on your cart page or **Buy Now** on any product page to ensure everything functions smoothly.
