Skip to content

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.

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 for the full list.

The live settings pageAdmin → 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.

Documentation for the Relyweb app catalogue.