# Razorpay Magic Checkout

> Turn on Razorpay's one-click checkout on your own Razorpay account — the addresses Razorpay asks you for, the webhook, the coupon setting, and what changes in your cart.

Guide: https://sitesplaced.com/help/payments-and-orders/razorpay-magic-checkout · Section: Payments & Orders · Last reviewed: 2026-09-20

**Razorpay Magic Checkout** is a one-click checkout that Razorpay runs on top of your store. The shopper presses one button and a Razorpay window opens over your store. Razorpay fills in the address they have used before, and they pay by UPI, card or Cash on Delivery in that same window. It runs on **your own** Razorpay account, so the money settles to you exactly as it does today. SitesPlaced takes 0%; Razorpay's own Magic and gateway fees apply.

It is for stores that sell in rupees and already take payments through Razorpay. Magic Checkout is part of the **Growth plan** (₹499/month) and is also included in **AI Co-founder**. On the Free and Starter plans the card is still there, but it says **Magic Checkout is part of the Growth plan** and the **Set up Magic Checkout** button stays greyed out. See [What's included in each plan](https://sitesplaced.com/help/md/plans-and-billing/whats-included.md).

## Before you start

- Your store currency is **INR** (**Settings → Store details → Currency**). For any other currency the card says **Magic Checkout supports INR stores only.**
- Razorpay is connected under **Settings → Integrations** — see [Set up payments](https://sitesplaced.com/help/md/payments-and-orders/payments-setup.md). Until it is, the card says **Connect Razorpay first (above), then set up Magic Checkout here.**
- Razorpay has switched Magic Checkout on for your account. Only Razorpay can do this. Ask your Razorpay account manager — the card calls this person your **Razorpay SPOC**, short for single point of contact — to enable **Magic Checkout** and COD. Until they do, the Magic settings screen in Razorpay stays blank or keeps loading.
- Your delivery charge, free-delivery amount, Express option and COD charge are set the way you want them, because Razorpay reads them from your store. See [Set delivery charges](https://sitesplaced.com/help/md/online-stores/shipping-charges.md) and [Checkout: order methods & form](https://sitesplaced.com/help/md/online-stores/checkout-options.md).

## Step 1 — Set it up on the card

1. From your store dashboard, open **Settings → Integrations** and scroll to the **Razorpay Magic Checkout** card.
2. Click **Set up Magic Checkout**. You will see **Magic Checkout set up — paste the URLs into your Razorpay dashboard.** The card now reads **Paused** and shows four numbered steps, with a **Copy** button next to every value you need.
3. Click **Open Razorpay ↗** at the bottom of the card to open your Razorpay dashboard in a new tab. In Razorpay, choose the **Custom e-commerce platform**.

## Step 2 — Paste the addresses into Razorpay

While its window is open, Razorpay asks your store three questions: can this address be delivered to and what does delivery cost, which coupon codes are on offer, and is this coupon code valid. Each question goes to its own web address (a URL). All three are on the card, each marked **Required**, along with the webhook details.

1. In Razorpay, go to **Magic Checkout Settings → Api Service → Edit**. Copy **URL for shipping info** from the card and paste it into the box with the same name. On that screen keep **Enable Secret Key** and **Capture billing address** switched off.
2. Back on the card, click **Check this URL works**. It asks the address the same question Razorpay will. A green **Working — answered in …** line appears, followed by what Razorpay was told for a Mumbai address: the delivery charge, and whether cash on delivery is allowed and at what charge. If those numbers look wrong, change them under **Settings → Shipping** and **Settings → Checkout**, not in Razorpay.
3. Still in **Magic Checkout Settings**, scroll to **Coupon Settings**. Paste **URL for get promotions** and **URL for apply promotions** from the card. Razorpay marks both as required, so the screen will not save without them. Leave **Enable Get Promotions Secret Key** and **Enable Apply Promotions Secret Key** switched off.
4. In Razorpay, go to **Account & Settings → Webhooks → Add New Webhook**. Paste the **Webhook URL** and the **Secret** from the card, and under active events tick these three: `order.paid`, `payment.captured` and `payment.pending`.
5. Come back to the card and turn on the switch at the top right. The status changes to **Active** and Magic Checkout is live on your store.

> **Do not skip the webhook:** A webhook is how Razorpay tells your store that a payment went through. The card is blunt about it: without the webhook we never hear about the payment, so the order will not appear in your **Orders** tab even though the customer has paid.

> **Always paste the sitesplaced.com addresses:** Every address on the card starts with sitesplaced.com, even if your store runs on your own domain. Paste them exactly as shown. They belong to this one store, so never reuse them on another store.

## Coupon codes in the Razorpay window

Under the two coupon addresses on the card there is one tick box: **Show my coupon codes inside the Razorpay window.** It is **off by default**, and for a good reason.

- **Off** — the Razorpay window has no coupon box. Shoppers type their code into the **Coupon code** box on your cart page and press **Apply**, as they always have, and the discount is carried into the Razorpay window. Codes a shopper already knows keep working.
- **On** — the Razorpay window gets its own coupon box and lists every active code the cart qualifies for. That means every shopper who reaches checkout can read all of them. Turn it on only if all your codes are public; leave it off if you hand out private codes to influencers or regulars.

Two details. If a discount is already applied on your cart page — a coupon or an automatic offer — the coupon box inside the window is hidden for that order, so a second code cannot be stacked on top. And a shopper who uses the **Buy with Razorpay** button on a product page skips the cart, so they can only enter a code when this setting is on. Either way, the discount is always worked out by your store from your live prices, so a code can never be worth more inside Razorpay's window than it is on your own cart. Codes themselves are created under **Settings → Discounts** — see [Discounts, coupons & offers](https://sitesplaced.com/help/md/online-stores/discounts-and-offers.md).

## What your customers see

Once the switch is on, your cart page changes. In place of the usual checkout form the shopper sees a **Checkout with Razorpay** button. Every product page also gets a **Buy with Razorpay** button, which checks out that one item straight away. Delivery and any COD charge are shown inside the Razorpay window, read from your store each time: your **Delivery charge**, **Free delivery above**, **Express delivery** option and **Extra COD charge**. Cash on Delivery is offered inside the window only if **Show Cash on Delivery** is ticked under **Settings → Checkout**. On the cart page your **Minimum order value** still has to be met before the button can be pressed; the **Buy with Razorpay** button on a product page does not check it.

> **Magic replaces the checkout form in your cart:** While Magic Checkout is **Active**, shoppers do not see your standard form — so there is no **WhatsApp** tab and no **Bank Transfer / UPI** option in the cart. The standard form comes back on its own in three cases: the cart contains a digital download, the Razorpay window cannot open, or your plan no longer includes Magic Checkout. If you depend on WhatsApp orders, think twice before switching this on.

## Orders, money and blocked buyers

A Magic order lands in your **Orders** tab like any other. Its **Activity** list shows **Paid via Razorpay Magic Checkout** with the payment method, or **Order placed via Razorpay Magic Checkout — Cash on Delivery**. Paid orders settle into the bank account linked to your Razorpay account. You get the usual new-order email, stock is updated if you track it, and you ship the order the way you ship any other — see [Manage orders & shipments](https://sitesplaced.com/help/md/payments-and-orders/orders-and-shipments.md).

One limit to know about. The shopper types their details inside Razorpay's window, so your store only learns who they are once the order is placed. A buyer on your block list therefore cannot be refused. The order is saved with a note in **Activity** saying the buyer is on your block list, and you cancel it yourself. Your order limits do not apply to Magic orders either. See [Stop fake and spam orders](https://sitesplaced.com/help/md/payments-and-orders/spam-protection.md).

## If something goes wrong

**Q: The Razorpay window keeps spinning after the customer types their address.**

Click **Check this URL works** on the card. If it passes, the fault is on the Razorpay side: either the **URL for shipping info** is not saved in Razorpay yet, or Magic Checkout has not been switched on for your account. If it fails, the message says what went wrong — and if it says the problem is on our side, [contact support](https://sitesplaced.com/contact).

**Q: A customer paid, but the order is not in my Orders tab.**

This is nearly always the webhook. In Razorpay open **Account & Settings → Webhooks** and check that the **Webhook URL** and **Secret** match the card exactly, and that `order.paid`, `payment.captured` and `payment.pending` are all ticked.

**Q: The delivery or COD charge inside the Razorpay window is wrong.**

Razorpay does not keep its own copy — it asks your store every time. Change the amounts under **Settings → Shipping** and **Settings → Checkout**, save, then click **Check this URL works** to see the new numbers.

**Q: Can I run Magic Checkout and Shiprocket Checkout together?**

Yes. With both switched on, the cart shows **Checkout with Shiprocket** and **Checkout with Razorpay**, product pages show both **Buy with …** buttons, and the shopper picks. See [Shiprocket Checkout (1-click)](https://sitesplaced.com/help/md/payments-and-orders/shiprocket-checkout.md).

**Q: How do I switch it off?**

Flip the switch on the card. The status becomes **Paused** and your standard checkout form is back straight away. The red **Turn off** button goes further: it also deletes the webhook **Secret** on our side, so Razorpay's payment messages stop being accepted. If you pressed **Turn off** and want Magic back, [contact support](https://sitesplaced.com/contact) before switching it on again.

**Q: Does it work for digital downloads?**

No. A cart with a digital product in it always uses your standard checkout, because a download cannot be paid for on delivery.
