---
url: /cashfree-acellemail/guides/going-live.md
description: >-
  Move Cashfree from sandbox to production — test with TEST keys, switch to
  production keys, untick Sandbox, whitelist your domain, confirm the live
  webhook and IPs, and run a small real payment.
---

# Going live

Once your test payments work end to end, switching Cashfree to production is a handful of deliberate
changes in Plugin Settings and the Cashfree Dashboard. Work through these in order so you never take
real money with a half-configured gateway.

## Step 1 — Confirm sandbox works first

With **Sandbox mode** ticked and your **TEST keys** in place (App ID begins `TEST`), run a full test:
a one-time payment on the **Cashfree** gateway and, if you use it, a subscription on **Cashfree
Subscription**. Confirm the invoice is marked paid — that proves the webhook is reaching you.

## Step 2 — Enter your production keys

In **Admin → Plugins → Cashfree → Settings → Service Configuration**:

1. **Untick Sandbox mode.**
2. Replace the **App ID (x-client-id)** and **Secret Key (x-client-secret)** with your **production**
   credentials from the Cashfree Dashboard.
3. Click **Save Settings**.

::: warning Keys and toggle must match
Production keys require **Sandbox unticked**. Leaving Sandbox ticked with production keys — or the
reverse — causes an `authentication Failed` error at checkout.
:::

## Step 3 — Whitelist your production domain

In **Cashfree Dashboard → Developers → Domain settings**, add your live domain. Without this, the
checkout JS SDK refuses to load on your production site.

## Step 4 — Confirm the production webhook and IPs

Check that your endpoint `https://YOUR_DOMAIN/cashier/cashfree/webhooks` is registered on **both** the
Payment Gateway and Subscriptions tabs (version **2025-01-01**), and that your firewall allows
Cashfree's **production** IPs on port 443: `52.66.101.190`, `3.109.102.144`, `18.60.134.245`,
`18.60.183.142`. See [Configure webhooks](/cashfree-acellemail/guides/configure-webhooks) for the
full list.

![The live settings page](/cashfree-acellemail/img/cashfree-going-live-settings.png)
*Admin → Plugins → Cashfree → Settings*

## Step 5 — Run a small live payment

Make one real, low-value payment through the live **Cashfree** gateway and confirm the invoice is
marked paid. This proves your production keys, domain whitelist and webhook are all correct together.
When it succeeds, **re-save Settings** to lock in your live configuration — you're live.

## Related pages

* [Get your API keys](/cashfree-acellemail/guides/get-api-keys)
* [Configure webhooks](/cashfree-acellemail/guides/configure-webhooks)
* [Set up subscriptions](/cashfree-acellemail/guides/set-up-subscriptions)
* [Settings reference](/cashfree-acellemail/settings)
* [Troubleshooting](/cashfree-acellemail/troubleshooting)
