FraudClient WHMCS Addon - Changelog
Version 1.2.3 (July 15, 2025)This update introduces significant improvements to the module's authentication mechanism and user interface, enhancing security and usability.
Key Changes:
- API Key Authentication (Security Enhancement)
- fraudclient.php:
- The module configuration (fraudclient_config()) has been updated to replace the company_username and company_password fields with a new api_key field.
- The internal API communication functions (fraudclient_api_post() and fraudclient_api_get()) have been refactored to use the provided API key in the Authorization: Bearer header, eliminating the need for session-based login within the module.
- Removed fraudclient_api_login() function as it is no longer required.
- clientlist.tpl & reportclient.tpl:
- The JavaScript within these templates now directly utilizes the API_KEY passed from the PHP backend for all API calls, removing the previous explicit login step. This streamlines API interactions and aligns with the new authentication method.
- fraudclient.php:
- Dropdown Page Selector (Usability Improvement) (Thank you @whmcsservices for this bug report)
- clientlist.tpl:
- The pagination at the bottom of the client list has been redesigned. Instead of displaying a long series of page numbers, it now features a compact dropdown selector. This addresses issues where a high number of pages could cause the pagination elements to stretch across the screen, improving navigation for users with extensive client lists.
- The "Previous" and "Next" buttons remain, complementing the new dropdown for intuitive page navigation.
- clientlist.tpl:
Last edited: