---
url: /razorpay-acellemail/installation.md
description: >-
  Install the Razorpay gateway for AcelleMail — upload the plugin, activate it,
  enter your license and Razorpay API keys, and watch both gateways appear.
---

# Installation

Step-by-step procedure to install, activate, and license the Razorpay plugin in AcelleMail.

* **Prerequisites:** Server meeting [Requirements](/razorpay-acellemail/requirements), administrative privileges, relyweb.co license key, and Razorpay API credentials.

## 1. Upload the plugin

1. Download `relyweb-razorpay-vX.Y.Z.zip` from your relyweb.co client area.
2. Navigate to **Admin → Plugins → Upload Plugin** in AcelleMail.
3. Upload the archive directly without unzipping.

## 2. Activate

Locate **Razorpay** under **Admin → Plugins** and click **Activate**. (Gateways remain hidden until an active license is validated).

## 3. Enter license and credentials

Navigate to **Admin → Plugins → Razorpay → Settings**, enter the required fields, and click **Save Settings**:

| Field | What to enter |
| --- | --- |
| **License Key** | Your key from relyweb.co |
| **API Key ID** | Razorpay Key ID (starts with `rzp_live_` or `rzp_test_`) |
| **API Key Secret** | The matching secret from the Razorpay dashboard |
| **Webhook Secret** *(optional)* | From **Razorpay Dashboard → Webhooks**, used to verify incoming events |

When the license validates, a green **Active** badge appears.

![Entering the license and Razorpay credentials](/razorpay-acellemail/img/razorpay-installation-settings.png)
*Admin → Plugins → Razorpay → Settings*

::: info License gates the gateways
Until the license badge reads **Active**, neither gateway appears in Payment Gateways. See [Licensing](/razorpay-acellemail/licensing).
:::

## 4. Verify

Saving with an active license automatically provisions both gateways:

* **Direct payments:** **Razorpay** is ready immediately for one-time INR checkout.
* **Subscription payments:** **Razorpay Subscription** requires plan mapping before it appears on plans.
* **Gateway registration:** Both gateways appear in **Admin → Payment Gateways** without manual creation.

::: tip Finish the setup

* [Configure webhooks](/razorpay-acellemail/guides/configure-webhooks) so events are received and signature-verified.
* [Set up subscriptions](/razorpay-acellemail/guides/set-up-subscriptions) to map INR plans and enable recurring billing.
  :::

## Related pages

* [Requirements](/razorpay-acellemail/requirements)
* [Configuration](/razorpay-acellemail/configuration)
* [Licensing](/razorpay-acellemail/licensing)
* [Configure webhooks](/razorpay-acellemail/guides/configure-webhooks)
* [Set up subscriptions](/razorpay-acellemail/guides/set-up-subscriptions)
