Automated Domain Price Update Script for WHMCS
HOW TO USE
-
Download: Download the
update_domain_price.php
file from this repository. -
Upload: Upload the
update_domain_price.php
file to your WHMCS root directory. -
Configure: Open the
update_domain_price.php
file in a text editor and follow these steps to configure the script:
Change the Domain TLD: Locate the$domainTLD
variable in the script and replace'com'
with the desired top-level domain (e.g.,'net'
,'org'
, etc.).
Set the Price Increase Amount: Find the$amount
variable and modify50
to the desired amount you want to increase the domain prices by. -
Run: Access the script through your browser by navigating to
https://your-whmcs-domain.com/update_domain_price.php
.
FEATURES
-
Automatically updates prices for specified domain TLDs in unpaid WHMCS invoices.
-
Uses a calculated price increase to adjust invoice amounts accurately.
-
Adds descriptive invoice items to indicate the price increase.
-
Incorporates error handling for seamless execution and error reporting.