---
url: /razorpay-acellemail/uninstalling.md
description: >-
  How to deactivate or fully remove the Razorpay for AcelleMail plugin —
  deactivation removes the gateways reversibly, deletion clears settings and the
  license cache.
---

# Uninstalling

You can temporarily disable the Razorpay gateways via deactivation or permanently remove the plugin by deleting its files. Both approaches preserve your AcelleMail transaction records.

## Deactivate (reversible)

1. Navigate to **Admin → Plugins** in AcelleMail.
2. Locate the Razorpay plugin and click **Deactivate**.

::: info Deactivation effects

* **Automatic gateway removal:** Both **Razorpay** and **Razorpay Subscription** gateways are immediately removed from **Admin → Payment Gateways**.
* **Configuration retention:** Stored API keys, license status, and plan mappings persist in the database.
* **Instant restoration:** Reactivating the plugin restores both gateways with existing settings intact.
  :::

::: tip Maintenance mode
Deactivation pauses payment processing without losing configuration values. Use this method during server maintenance or plan reconfigurations.
:::

## Remove all data

To remove the plugin completely, delete its files from the AcelleMail plugins directory:

* **Saved settings:** Removes configured API keys, Webhook Secret, and license keys.
* **License cache:** Deletes the local cache file at `storage/app/plugins/relyweb/razorpay/.license_cache`.
* **Transaction history:** Core AcelleMail invoice and payment records remain intact (no custom database tables exist).

::: warning Permanent removal
File deletion is irreversible. Create a database backup prior to deletion (see [Backup and restore](/razorpay-acellemail/backup-and-restore)). Reinstalling later requires re-entering credentials and re-mapping subscription plans.
:::

## Related pages

* [Backup and restore](/razorpay-acellemail/backup-and-restore)
* [Installation](/razorpay-acellemail/installation)
* [Licensing](/razorpay-acellemail/licensing)
* [Troubleshooting](/razorpay-acellemail/troubleshooting)
