The Problem
WHMCS doesn't update existing client prices when you change product or domain pricing.
What WHMCS Does
When you update pricing in WHMCS:
- New orders use the new price
- Existing services keep old prices
- You can manually check "Recalculate on Save" per service
What's Missing
No bulk recalculation. You edit services one by one, or prices stay outdated forever.
The Solution
This module bulk applies "Recalculate on Save" to multiple services at once. Same WHMCS function, just automated.
What It Does
- Updates client prices to current base pricing
- Works with products, domains, and addons
- Handles all currencies (WHMCS converts automatically)
- Uses same APIs as manual recalculation
Installation
- Upload to
/modules/addons/recalculate_prices/ - Setup → Addon Modules
- Activate "Recalculate Prices"
Usage
- Addons → Recalculate Prices
- Select tab (Products / Domains / Addons)
- Choose items
- Click recalculate
- Confirm
Test first. Update a few services. Check results. Then do the rest.
Features
Products
Shows client count per product. Select products, update all services.
Domain TLDs
Select TLDs. Updates all client domains for those extensions.
Product Addons
Shows client count per addon. Updates all instances via parent services.
Individual Items
Update specific services or domains by ID.
Multi-Currency
WHMCS converts using your exchange rates. No extra configuration needed.
Before Bulk Updates
- Test with services in different currencies
- Verify conversion is correct
- Then update everything
Exchange Rate Setup
Configuration → System Settings:
- Automation Settings - Enable auto exchange rate updates
- Currencies - Set base rates
How It Works
Products & Services
Calls UpdateClientProduct with autorecalc parameter.
Domains
Calls UpdateClientDomain with autorecalc parameter.
Addons
WHMCS API doesn't support addon recalculation. Module updates database directly with error handling and logging.
Requirements
- WHMCS 8.9+
- PHP 7.4+
- Admin access
Security
- CSRF protection
- Session tokens
- Input validation
- Admin-only
Changelog
Version 1.2
- Fixed addon recalculation (WHMCS API doesn't support it)
- Direct database updates for addons
- Error handling and audit logging
- All billing cycles including one-time
- Only updates when prices differ
Version 1.1
- Fixed API compatibility
- Better product recalculation
- Service/addon counts in lists
Version 1.0
- Initial release
Purchase: ArkHost Store