> For the complete documentation index, see [llms.txt](https://docs.funnelish.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.funnelish.com/start/collecting-payments/razorpay-india.md).

# RazorPay (India)

## Before you start

* [Enable **Funnelish Pay**](/start/collecting-payments.md), before you try adding a payment gateway.
* Add a [**payment form**](/start/funnel-builder/editor-forms.md) 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="/files/PDgmqSFtoSpnoMacuMs8" alt=""><figcaption><p>Razorpay settings.</p></figcaption></figure>

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

<figure><img src="/files/biFbI2OSSCqFGOIe0qKA" 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="/files/NfkXP2PYyloaRVJqDW9I" 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="/files/wnMrbu09lzILVSwXnWDV" 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="/files/rTptoGCoHnFCzgy9yokV" alt=""><figcaption><p>Connecting Razorpay.</p></figcaption></figure>
