---
url: /payglocal-whmcs/uninstalling.md
description: >-
  How to remove PayGlocal for WHMCS — deactivate the gateway to stop payments,
  or delete the module files to remove it fully.
---

# Uninstalling

Removing PayGlocal for WHMCS is a two-step idea: **deactivate** it to stop taking payments (this
is reversible), or **delete the files** to remove it completely. Choose based on whether you might
want it back.

## Deactivate (reversible)

Deactivating leaves the files in place but takes PayGlocal out of service:

1. Go to **Apps & Integrations**.
2. Find **PayGlocal** (and **PayGlocal Recurring**, if activated) and deactivate it.

Once deactivated, PayGlocal no longer appears as a payment option and **payments stop**. Your
saved configuration is retained, so you can reactivate later without re-entering everything.

::: warning Deactivating recurring does not cancel mandates
Deactivating **PayGlocal Recurring** stops the daily cron from charging invoices, but existing
mandates remain active at PayGlocal. To cancel a mandate, delete the client in WHMCS (which
revokes it automatically) or cancel it in the PayGlocal dashboard.
:::

::: tip Just pausing payments?
Deactivating is the clean way to temporarily disable PayGlocal — for example while you switch
between sandbox and live keys, or pause international card payments. There's no need to delete
files.
:::

## Remove all data (irreversible)

To remove PayGlocal completely, deactivate it first (above), then delete these files from your
WHMCS installation:

* `modules/gateways/payglocal.php`
* `modules/gateways/payglocalrecurring.php`
* the `modules/gateways/payglocal/` folder
* `modules/gateways/callback/payglocal.php`
* `modules/gateways/callback/payglocalrecurring.php`
* `includes/hooks/payglocalrecurring_cron.php`

If you used recurring billing, the module also created a database table,
`mod_payglocalrecurring_mandates`, holding stored mandates. Drop it only if you're removing
recurring completely and won't reinstall.

After deleting the files, PayGlocal is fully gone from WHMCS.

::: warning Your RSA keys are separate
The `.pem` keys you uploaded live outside the web root and are **not** removed by deleting the
module files. If you're decommissioning entirely, delete those key copies too — but keep them if
you might reinstall later.
:::

## Related pages

* [Backup and restore](/payglocal-whmcs/backup-and-restore) — save your config and keys first
* [Installation](/payglocal-whmcs/installation) — if you plan to reinstall
* [Configuration](/payglocal-whmcs/configuration)
* [FAQ](/payglocal-whmcs/faq)
