# RazorPay (India)

## Before you start

* [Enable **Funnelish Pay**](https://docs.funnelish.com/start/collecting-payments), before you try adding a payment gateway.
* Add a [**payment form**](https://docs.funnelish.com/start/funnel-builder/editor-forms) to a funnel step.

{% hint style="info" %}
After you have created a gateway, you can use it again on any number of funnels.
{% endhint %}

## Getting your credentials

1. On your **RazorPay account**, go to **Settings**;

<figure><img src="https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2FrecmJHtSiDJW1OIcOAJZ%2Fimage.png?alt=media&#x26;token=79e31b41-918b-45d2-ac3c-6aa61bd27698" alt=""><figcaption><p>Razorpay settings.</p></figcaption></figure>

2. Go to **API keys**, then regenerate a new one.

<figure><img src="https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2Fq6xKJEBERuj2XDBWtrUR%2Fimage.png?alt=media&#x26;token=555dec25-ebd4-4ce7-b8c6-f758d68ab231" alt=""><figcaption><p>Razorpay API keys.</p></figcaption></figure>

3. You will be asked to deactivate the old key: choosing any option won’t make any difference.<br>

<figure><img src="https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2FSdgCkE7TFujMGrHpK8Uy%2Fimage.png?alt=media&#x26;token=b4b431d4-537f-434b-a4e5-619822d4c6b8" alt=""><figcaption></figcaption></figure>

3. Copy the **Key ID** and **Key secret**.

## Create a gateway

1. Open a funnel step.
2. Click the payment form field.
3. In the left settings panel, click **Edit payment** **options**.
4. Click **Connect a new gateway.**
5. In the pop-up window, click **RazorPay**.

<figure><img src="https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2FqYUCqqTBlx3XdRaj6eLH%2FScreenshot%202025-09-18%20at%2020.24.17.png?alt=media&#x26;token=308fa9ac-e9e3-4be8-a6e3-62a4c5827128" alt=""><figcaption><p>Razorpay.</p></figcaption></figure>

## Connect

On the **New gateway** window:

1. Enter a unique Gateway name. This name is for internal use, it is not visible in the funnel.
2. (When required) If you are using a test mode credential, toggle the switch to enable it.&#x20;
3. Paste your **Key ID** and **Key secret** in the corresponding field.&#x20;
4. Click **create** & **Save changes**.

<figure><img src="https://2613769297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1AQCa9ckIWH7hGfrUV%2Fuploads%2FxlSbIGEUsyDoIul7a6dB%2FScreenshot%202025-09-18%20at%2020.24.29.png?alt=media&#x26;token=94fe41bb-3552-48a8-9bb9-9cf754f0e924" alt=""><figcaption><p>Connecting Razorpay.</p></figcaption></figure>
