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

# How to set up your own Razorpay account

> Connect your own Razorpay account to Reg Plus so ticket payments settle straight to your Razorpay account.

**In short:** You can collect payments through the built-in **Platform gateway** with no setup, or connect **your own Razorpay account** so money settles directly to you. This guide covers connecting your own Razorpay, field by field.

> [!NOTE]
>
> Happy to use the built-in gateway? You don't need this guide — the **Platform gateway** is on by default and settles to your payout account. Connect your own Razorpay only if you want payments to go straight into your Razorpay account.

## What you'll need

* A **Razorpay account** with KYC completed and live payments activated (test mode works for trials).
* Access to **Payments → Configurations** in your Reg Plus event.
* About 10 minutes, with your Razorpay dashboard open in another tab.

The setup has four steps: open the connection form in Reg Plus, get your keys from Razorpay, add a webhook in Razorpay using the URLs Reg Plus gives you, then paste everything back and save.

## Step 1 — Open the Razorpay connection form

**1. Go to Payments**

In your event, open **Payments → Configurations**.

![The Payments Configurations screen with the platform gateway and Add Other button](https://mintcdn.com/dreamcast-4085c99b/Ucuw7Zzcf8NybmpK/images/regplus-payments-gateways.jpg?fit=max\&auto=format\&n=Ucuw7Zzcf8NybmpK\&q=85\&s=b2003ecb23bcc97b6b0b5d9d79e89ecf)

**2. Add Razorpay**

Under **Other gateways**, click **Add Other** and choose **Razorpay**. The connection form opens.

![The Add Payment Gateway form for Razorpay with API key, client secret, webhook secret and webhook URLs](https://mintcdn.com/dreamcast-4085c99b/Nww3WlgItzXoUGlx/images/regplus-razorpay-setup.jpg?fit=max\&auto=format\&n=Nww3WlgItzXoUGlx\&q=85\&s=cceb9bb92904ac55043e095152ea0c8e)

Keep this form open — it shows two **Webhook URLs** you'll need in Step 3, and it's where you paste your keys in Step 4.

## Step 2 — Get your keys from Razorpay

In a separate tab, sign in to your **Razorpay Dashboard**.

**1. Open API Keys**

Go to **Settings → API Keys**.

**2. Generate a key**

Choose the mode — **Test** for trials or **Live** for real payments — and generate a key. Razorpay gives you a **Key ID** and a **Key Secret**.

**3. Copy both values**

Copy the **Key ID** and the **Key Secret** somewhere safe. The **Key Secret is shown only once** — if you lose it you must regenerate the pair.

> [!NOTE]
>
> Test and Live keys are separate. Use Test keys while trying things out, then switch to Live keys before you take real bookings.

## Step 3 — Add a webhook in Razorpay

The webhook lets Razorpay tell Reg Plus the instant a payment succeeds, so bookings confirm on their own.

**1. Open Webhooks in Razorpay**

In the Razorpay Dashboard, go to **Settings → Webhooks** and click **Add New Webhook**.

**2. Paste the Webhook URL**

Copy the **Webhook URL** from the Reg Plus form (the copy icon beside it) and paste it into Razorpay. If you run on-ground check-in, add a second webhook with the **OnGround webhook URL** too.

**3. Set a webhook secret**

Create a **webhook secret** (any strong phrase) and enter it in Razorpay. Keep a copy — the same secret goes into Reg Plus.

**4. Select events and save**

Select the payment events (such as **payment.captured**), then save the webhook.

## Step 4 — Finish the connection in Reg Plus

Back in the Reg Plus Razorpay form, fill each field as below, then click **Save & Connect**.

| Reg Plus field | What to enter | Where it comes from |
| - | - | - |
| **Api Key** | Your Razorpay **Key ID** | Razorpay → Settings → API Keys |
| **Client Secret** | Your Razorpay **Key Secret** | Shown once when you generate the key |
| **Webhook Secret** | The **webhook secret** you chose | The secret you set in Step 3 |
| **Webhook URL** | *(read-only — copy it out)* | Paste into Razorpay in Step 3 |
| **OnGround webhook URL** | *(read-only — copy it out)* | Paste into Razorpay if you use on-ground check-in |
| **Payment accepted** | Tick **Domestic**, **International** or both | The cards you want Razorpay to handle |

> [!WARNING]
>
> Your keys are encrypted and used only to process this event's payments. Enter them yourself and never share your Key Secret with anyone over chat or email.

## Test before you go live

Make a test booking on your event page and check the order shows as paid in **Insight → Financial**. If a payment is charged but the booking doesn't confirm, the webhook is almost always the cause.

## Troubleshooting & FAQ

> **A payment was charged but the booking didn't confirm**
>
> This means Razorpay couldn't reach the webhook. Re-open **Settings → Webhooks** in Razorpay and check the **Webhook URL** matches the one in Reg Plus exactly, that the **webhook secret** is identical on both sides, and that **payment.captured** is one of the selected events.

> **Can I use Razorpay for some tickets and the platform gateway for others?**
>
> The gateway applies to the whole event's checkout. You choose one active gateway for the event rather than per ticket type.

> **How do refunds work with my own Razorpay?**
>
> Refund the guest in your Razorpay dashboard, then cancel their registration in Reg Plus so your counts update. See [Issue a refund](/regplus/how-to-issue-refund).

> **Do I enter my bank details in Reg Plus?**
>
> No. Money settles inside your own Razorpay account on Razorpay's settlement schedule. Reg Plus only holds the API keys needed to create and confirm payments.

> **I switched from Test to Live keys — anything else to do?**
>
> Generate **Live** API keys in Razorpay, add a **Live-mode webhook** with the same URL and secret, then update the **Api Key** and **Client Secret** in Reg Plus with the live values and save again.

## What's next?

> **[Set up Stripe](/regplus/how-to-setup-stripe)**
>
> Connect Stripe for international cards.

> **[Check bounced orders](/regplus/insight-bounced)**
>
> Spot payments that didn't complete.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.