Skip to content

WHMCS Integration

Version 1.1.14 (09.10.2024)

Bugfixes

  • Fixed an issue where the server console no longer opened in a popup window.
  • Various other minor fixes.


Version 1.1.13 (22.09.2024)

Features

  • Added support for WHMCS 8.11 and PHP 8.2.
  • Added a new "Explain Skipped Servers" button when "Show matching servers at order overview" is enabled. This helps to identify the reasons for skipped servers during the matching process. Docs
  • Added a new "Server Overview" page in the module admin interface, offering improved visibility of client assignments, statuses, and more. Includes filtering and export options. Docs
  • Added support for the new IPMI NoVNC console.
  • Added support for console reverse proxy to hide the Tenantos domain. Docs
  • Added an option to override the hostname if the provided hostname is invalid. This option is enabled by default. Docs
  • Stock Monitor: Added an option to only recount the stock on specific events: Docs
    • Recount stock after service creation. This can increase the execution time. (Enabled by default)
    • Recount stock after service termination. (Enabled by default)
    • Recount stock at each WHMCS cronjob execution. (usually each 5 minutes) (Enabled by default)
    • Recount stock after the daily WHMCS cronjob execution. (Disabled by default)
  • Stock Monitor: Added an option to skip the stock recounting until no new order is pending for X minutes. Docs
  • Added Admin SSO handling options: Docs
    • Perform SSO Login (automatic login into admin API account)
    • Only redirect to the relevant server page (staff must login manually)
  • Added an option to hide retired products from the "Server Assignments" page. Docs
  • Show a warning if the MySQL driver treats integers as strings, particularly when using a PHP MySQL driver that does not fulfil the WHMCS system requirements.
  • When opening the server console, the process is now shown in a modal with a link to the console, preventing popup blocker issues, similar to how it is handled in Tenantos itself.
  • Switch automation options: Docs
    • Added an option to enable/disable interfaces instead of, or in addition to, performing a power-off/power-on. This is individually configurable for service creation, suspension, unsuspension, and termination.
    • Optional fallback to power management if switch automation fails or is not available.
    • Logging if the switch automation fails.
    • Configurable notifications if the switch port action fails.
  • The "Disable the entire module automation" option has been extended, it is now possible to:
    • Disable the automation for servers with specific tags.
    • More gradual control over disabling additional automations, such as notifications, service status changes, and more (individually for suspension and termination).
    • Documentation
  • New Event Hooks: Docs
    • onEachServiceUsageCollection
    • overrideWhmcsServiceHostname
  • Added new variables to the bandwidth suspension mail template. Docs
  • Added an option to select the pre-selected installation profile type in the client area (Reinstall, Rescue, or none). Docs

Improvements

  • Significantly reduced the number of API calls.
  • Improved lock handling when processing multiple simultaneous orders.
  • Adjusted notification texts to include more details:
    • The specific action (e.g. "Unsuspension") is now shown. If an action fails, the word "error" is appended to indicate failure.
    • As example: [WHMCS BOT]: Automated power action (Unsuspension, power on), [WHMCS BOT]: Automated power action error (Suspension, power off).
  • Console button now only appears if opening a console is technically possible (e.g. a console cannot be opened if a VM is powered off).

Bugfixes

  • Fixed an issue where custom field values were not being saved in client services at WHMCS v6.
  • Provisioning no longer fails if power checks are enabled but the power backend (IPMI, PDU, etc.) is unreachable. Instead, the module will attempt to use another available server.


Version 1.1.12 (29.08.2023)

Features

  • Added a warning if the UserId field appears to be incorrect.
  • Added an option to send notifications if an automated power task fails. Docs
  • Added an option to select the support department where notification tickets should be created. Docs

Improvements

  • Use the new "useFailover" API parameter for BMC resets. This prevents failover to PDUs for power requests when a server has PDU assignments and a BMC reset has been executed.

Bugfixes

  • Experimental pagination was enabled by default. This has been fixed.


Version 1.1.11 (08.07.2023)

Features

  • Added support for VPS plan changes ("Change Package" function of WHMCS).
  • Added an option to disable automatic resource changes on downgrades/upgrades. Docs
  • Added an option to disable metric billing collection. Docs
  • Added an option to reduce the cronjobs memory usage in low PHP memory environments. Docs
  • Added an option to not instantly update the stock after service creation or termination. Docs
  • Added an option to apply the RDNS default template instead of deleting the PTR records on service creation/termination. Docs
  • Added an option to purge the activity log after a specified number of days. Docs
  • Added optional pagination at the "Server Assignments" page. [EXPERIMENTAL] Docs
  • Added new events: Docs
    • beforeCreateAccountOverrideVpsResources
    • beforeSubmitReinstallation
    • afterSubmitReinstallation
    • beforeServerProvisioningReinstallation
    • afterServerProvisioningReinstallation

Improvements

  • Improved stock synchronization performance.
  • Reduced overall memory usage.
  • Several small UI improvements at the "Server Assignments" page.
  • Improved the handling of the "Reinstall / Rescue" buttons by immediately showing these buttons instead of waiting to see if profiles exist. If the getProfiles API call does not return any profile data, the buttons will be removed again (which shouldn't happen, as basic checks are already in place to ensure the buttons won't show if no reinstallation provider is available).
  • Lock handling improvements when processing an order / execute the service creation.

Bugfixes

  • Sometimes the Bootstrap tooltips on the "Server Assignments" admin page weren't closed correctly when moving a server. This has been fixed.


Version 1.1.10 (20.05.2023)

Features

  • Added an option to remove RDNS entries on service creation/termination. [DOCS]
  • Added "Installed OS" to admin service information card.
  • Information displayed on the admin service information card can now be enabled or disabled from the module admin page. [DOCS]
  • Added an option to pre-fill the existing service password at the reinstallation form. This can be enabled separately for the admin and client areas. [DOCS]
  • Added support for SSH keys during ordering. [DOCS]

Improvements

  • When creating a VPS, the "Change hostname on Create" option will now also change the server name of the VPS.
  • It is now ensured that database migrations are always performed, even if the module is being used during the update and triggers the default upgrade routine of WHMCS before the migration files have been uploaded.

Bugfixes

  • Restored WHMCS v6 compatibility.
  • RDNS at IPv6 subnets was limited to /64, even if a larger subnet was assigned.


Version 1.1.9 (02.04.2023)

Features

  • Added an option to override the hostname on service creation/termination. [DOCS]
  • When initiating an operating system reinstallation through the WHMCS admin service page, it is now possible to resend the product welcome mail and/or a reinstallation information mail. The checkboxes can be made pre-checked, which is configurable in the module settings. [DOCS]

Improvements

  • Improved error handling on the WHMCS product configuration page.

Bugfixes

  • On macOS with Google Chrome, the operating system dropdown needed multiple clicks to apply a value.


Version 1.1.8 (08.03.2023)

Information

Features

  • Added RDNS support for IPv6.
  • Network graphs: Added options to show a 95th percentile line and summary statistics. These options can be activated separately for the client area and admin area. [DOCS]
  • Split the auto shutdown server feature, so it can now be enabled for suspension or termination independently. [DOCS]
  • Similar to the unsuspension process, the termination function now includes a check to ensure that the server has not been manually reassigned to another client. [DOCS]

Improvements

  • The main focus of this release was on improving the performance on installation with many products/servers/clients. The module is now overall more performant than before.
  • Improved hostname synchronization by updating the hostname field of WHMCS instantly when changing the hostname via the server information card of the WHMCS module. This eliminates the need to wait for the daily WHMCS cronjob to execute.
  • Added a cache header to the OS logos file proxy, which allows OS logos to be cached in the browser for up to 24 hours.

Bugfixes

  • Fixed an issue where the auto-link feature failed when the service password was less than 8 characters. The password is now overridden if it does not match the password guidelines.
  • Fixed a rare bug that prevented enabling/disabling stock control for some products.


Version 1.1.7 (04.02.2023)

Information

Features

  • Server Assignments page: A quick move tool has been added to assign a server to another product group by selecting the new product instead of drag & drop.
  • Server Assignments page: A mass assignment tool is now available to quickly assign multiple servers to a new product. [DOCS]
  • Module settings: An option has been added to show the server description in the server boxes at the "Server Assignments" page.
  • Module settings: An option has been added to show a hardware summary of the server in the server boxes at the "Server Assignments" page. [DOCS]
  • Module settings: An option has been added to automatically synchronize the assigned IPs in Tenantos to WHMCS. [DOCS]
  • Module settings: An option has been added to automatically synchronize the set hostname in Tenantos to WHMCS. [DOCS]
  • Module settings: An option has been added that causes the module to skip all automations on suspend and terminate, which is useful if suspensions/terminations are handled manually. Notifications are still triggered. [DOCS]
  • Module settings: The graphs/IP assignment cards on the admin service page can now be optionally disabled through the module settings. [DOCS]
  • Admin service page: The tools have been expanded and the following new tools are now available:
    • Sync IP assignments to WHMCS
    • Sync Hostname to WHMCS
    • Sync all options above to WHMCS
  • Admin service page: IP assignments are now displayed with the possibility to update the RDNS entry and change the IP description.
  • Admin service page: Reinstallation can now be done directly on the admin service page.
  • Admin service page: The server description and tags can now be edited.
  • Admin service page: A new mode for auto-link is available when manually assigning a server. The new mode will not only create/link a Tenantos user, but also synchronize the hostname and IP assignments to WHMCS. [DOCS]
  • Admin service page: The server name and server description are now shown.
  • Client area: Added support for custom CSS and JS, without changing the template files. [DOCS]
  • TB (Terabyte) has been added as a usage metric.
  • The names of the metrics are now translatable. [DOCS]

Improvements

  • Module settings: An option has been added that allows showing the hostname of the matching server on the "Manage Orders" page at the dedicated server finder output. [DOCS]
  • The module now automatically detects if the WHMCS trusted proxy feature is in use, and it no longer needs to be enabled in the module settings.
  • Graphs are now shown in the user's timezone, which is detected by the browser.
  • Several small design adjustments and improvements have been made.

Bugfixes

  • The error message when accepting a VPS order if no servers exist in Tenantos has been fixed.


Version 1.1.6 (04.12.2022)

Important

Please update your Tenantos server before updating the WHMCS module. Otherwise the new client area template will not work.

After you have updated the WHMCS module, the client area template is automatically set to "Advanced". If you want to use the old template, you can change the template in the module settings.

Features

  • New client area template: "Advanced" offers an integration of all important functions into the WHMCS client area. The old template is still available and the template can be changed in the module settings. [DOCS]

Bugfixes

  • If the password of a service was not empty but less than 8 characters, the provisioning failed. It is now ensured that a password that complies with the password policy is used.


Version 1.1.5 (24.11.2022)

Information

  • We are pleased to announce that the highly anticipated client area integration will be available in the next update.

Bugfixes

  • Fixed "Login to Control Panel" button (at /admin/configservers.php).
  • Fixed issue with WHMCS 7.10.


Version 1.1.4 (15.11.2022)

Features

  • Usage Metrics: Added 95th percentile billing. [DOCS]
  • Added product settings to disable incoming or outgoing traffic accounting. [DOCS]


Version 1.1.3 (05.11.2022)

Features

  • Added WHMCS 8.6 and PHP 8.1 compatibility.
  • Added duringCreateAccountBeforeOsProvisioning event. [Event Docs]

Improvements

  • Several small improvements like:
    • Show tags on the "Server Assignments" page also in a tooltip. Previously, the "Tags" button must be clicked to see the list of assigned tags in a modal.
    • If the power provider does not support the polling of the current power status, the status is now shown as "Online (probably)".
    • Make sure that texts (e.g. names of configurable options) on the "Server Assignments" page are not too long and thus negatively affect the appearance of the page.


Version 1.1.2 (03.10.2022)

Features

  • Added support for username overrides. [DOCS]
  • Added support for variables in user description. [DOCS]
  • Added button to test bandwidth usage collection before the daily WHMCS cronjob is executed. [DOCS]
  • Added options to remove additional IP assignments from the server on termination. [DOCS]
  • Added option to use the WHMCS "Trusted Proxies" for IP detection. [DOCS]

Improvements

  • Speed up the "Server Assignments" admin page.

Bugfixes

  • Client service admin page: Also show admin SSO button if the server does not support NoVNC console or power management.
  • Don't throw exceptions during metrics collection if executed by metrics cronjob.


Version 1.1.1 (08.09.2022)

Features

  • Added "Advanced Detection Modes" to Stock Monitor. Using the advanced detection modes, stock monitor is accurate even if the same Tenantos account is used in multiple billing systems. [DOCS]
  • Added option to exclude servers from automated provisioning if your account is not the sole owner of the server. [DOCS]
  • Added option to override the default Windows username. [DOCS]
  • Added option to define a custom user description. The defined user description will be set when WHMCS creates a new Tenantos account. [DOCS]

Improvements

  • Improved error logging if the Tenantos server is unreachable.

Bugfixes

  • Stock Monitor did not hide products, even if the option to hide out-of-stock products is enabled.
  • Don't throw an error message on the server assignment page if no servers are added in Tenantos yet.


Version 1.1.0 (24.08.2022)

  • Public release.