---
url: /phonepe-whmcs/updating.md
description: >-
  How to update PhonePe for WHMCS — download the latest build from your
  relyweb.co client area and overwrite the gateway files. There is no in-app
  updater.
---

# Updating

PhonePe for WHMCS uses **manual file updates** (there is no in-app automatic updater). Download the latest release package from your **relyweb.co client area** and overwrite the module files in your WHMCS installation.

## Before you update

A manual update overwrites files in place, so take a backup first — see
[Backup and restore](/phonepe-whmcs/backup-and-restore). At minimum, capture:

* A **WHMCS database backup** — your saved gateway settings and transaction records live here.
* A copy of the **module files you're about to overwrite**.

## Download the update

Sign in to your **relyweb.co client area** and open the PhonePe for WHMCS product to download the
latest release. Your entitlement to new versions follows your license:

* **Leased license:** Download new releases at any time while your subscription remains active.
* **Lifetime license:** Perpetual access to installed versions; downloading newer releases requires an active **Support & Updates** plan.

## Install the update

Overwrite the existing gateway files with the new copies:

* `modules/gateways/phonepe.php`
* `modules/gateways/phonepe/` (the whole directory)
* `modules/gateways/callback/phonepe.php`

After uploading files, complete verification:

1. Navigate to **Setup → Payment Gateways → PhonePe**.
2. Verify your settings (**Client ID**, **Client Secret**, webhook credentials, payment mode, and **License Key**).
3. Click **Save Changes** and run a test transaction to verify payment processing.

::: info Your settings are safe
Overwriting the files does not clear the settings you saved on the gateway page — those live in
WHMCS, not in the files you're replacing. Re-check them after the upload.
:::

## If an update won't apply

* **File paths:** Verify all files overwrote their target locations in `modules/gateways/`, including the `phonepe/` directory and callback file.
* **File permissions:** Ensure the web server user has read permissions on all new files.
* **ionCube Loader:** Confirm **ionCube Loader 13.0.2 or newer** is active (see [Requirements](/phonepe-whmcs/requirements)).
* **Gateway Log:** If checkouts stall, inspect **Utilities → Logs → Gateway Log** and re-verify your **License Key**.

## Related pages

* [Backup and restore](/phonepe-whmcs/backup-and-restore) — back up before you overwrite
* [Licensing](/phonepe-whmcs/licensing) — how your license type affects updates
* [Uninstalling](/phonepe-whmcs/uninstalling) — the files that make up the module
* [Troubleshooting](/phonepe-whmcs/troubleshooting) — resolving post-update problems
