---
url: /razorpay-acellemail/guides/set-up-subscriptions.md
description: >-
  Map a local AcelleMail plan to the matching Razorpay plan so the Razorpay
  Subscription gateway appears and customers can subscribe with automatic
  renewal.
---

# Set up subscriptions

The **Razorpay Subscription** gateway handles recurring subscriptions with automated renewal cycles for mapped plans.

* **Prerequisites:** Active plugin license; matching INR plan created in the Razorpay dashboard.

::: info Plan mapping purpose
AcelleMail defines the local subscription tier, while Razorpay manages billing intervals and mandates. Mapping synchronizes the two systems.
:::

## Map the plan

1. Navigate to **Admin → Remote Plan Mappings**.
2. Locate your local AcelleMail plan in the table.
3. Select the corresponding Razorpay plan with identical INR amount and interval.
4. Click **Map** to activate the subscription gateway for that plan.

![Remote Plan Mappings screen](/razorpay-acellemail/img/razorpay-set-up-subscriptions-mappings.png)
*Admin → Remote Plan Mappings*

## Verify — what customers see

1. **Checkout selection:** Subscribers choose **Razorpay Subscription** on INR-priced plans.
2. **Mandate approval:** The subscriber authorizes a recurring payment mandate on Razorpay.
3. **Cycle renewals:** Razorpay charges subsequent intervals automatically.
4. **Webhook processing:** Signed webhooks notify AcelleMail to extend subscription access.

::: warning Mapping requirement
Unmapped or non-INR plans display *"Razorpay Subscription — Not available for this plan"*. The direct **Razorpay** gateway requires no mapping.
:::

## Related pages

* [Subscriptions](/razorpay-acellemail/features/subscriptions) — how recurring billing works
* [Direct payment](/razorpay-acellemail/features/direct-payment) — the one-time gateway
* [Configure webhooks](/razorpay-acellemail/guides/configure-webhooks) — required for renewals
* [Troubleshooting](/razorpay-acellemail/troubleshooting) — subscription not available
