terminal whmcs / addon / fix-due-dates

Fix Due Dates

Be fair to your users and forget about manual corrections for late pending order activations and late renewal payments.

  • Automatically synchronise payment date with service activation date
  • Fix next due date for suspended services when payment arrives
  • Automatically set new dates on the related invoice
  • One module handles both service/domain records and invoices
Fix Due Dates - preview
Order now from
Ask a question

Overview

Fix Due Dates removes the busywork of manually adjusting service and invoice dates whenever a customer does not pay or activate on the original due day. The addon detects those situations and normalises dates for the service or domain and the invoice - so your records stay aligned without opening five admin tabs.

The “four-day” scenario

If a user orders on 1 December but pays on 5 December, why should they lose four days on the next cycle - or why should staff spend time fixing the service view and the invoice? This module applies a fair correction: when payment is a few days late, the customer gets a reactivated service with a sensible next due date, and the invoice dates follow automatically.

The same idea applies to late renewal payments and other delayed activations you see in production hosting and SaaS-style billing.

Suspended accounts

The module also detects suspended accounts. When payment finally arrives, dates are brought back in line so you are not carrying forward hidden penalties from the suspension window.

Why teams adopt it

  • Less support friction - customers see dates that match what they paid for.
  • Fewer human errors than editing services and invoices by hand.
  • Predictable automation - behaviour is driven by rules, not tribal knowledge.

Requirements & compatibility

Built for WHMCS 8.x. Unusual provisioning modules or registrar workflows can affect edge cases; review Requirements on this page or contact us with your stack before rollout.

Requirements

System

The following requirements must be met in order to use the Fix due dates addon module:

  1. WHMCS ver. 8.x or higher
  2. PHP ver. 7.4 or higher
  3. ionCube Loader ver. 12 or higher

The module has not been tested on older versions of WHMCS (<=7.x).

Note: This list is preserved from the original product knowledgebase. Current M-BIT packages target WHMCS 8.x - verify runtime requirements for your licence with support if unsure.

Changelog

Release history

Version 3.0 (10 February 2025)

  • ADDED: WHMCS 8.+ compatibility
  • CHANGED: build encoded with ionCube 13 - requires PHP 8.1+
  • FIXED / CHANGED: follow-up hardening on the 3.0 line - database return typing, licence and domain checks, due-date edge cases, and invoice log URL output. Further hook-layer updates (strict typing, licence checks, modernised array usage); distributed package version remains 3.0.

Version 2.2 (9 May 2022)

  • FIXED: licence verification when the WHMCS admin URL / installation path changes

Version 2.1 (18 January 2022)

  • CHANGED: maintenance release - small compatibility and metadata updates

Version 2.0 (23 October 2017)

  • CHANGED: build encoded with ionCube 10.2 - targets PHP 5.6–7.2
  • CHANGED: internal data access updated to use the WHMCS / Laravel database manager

Version 1.4 (5 February 2016)

  • CHANGED: improvements to the module logging system (additional log points; log output may include URLs where useful)
  • CHANGED: new licence check behaviour

Version 1.3 (2 December 2015)

  • ADDED: option to set the invoice due date to the payment date when a payment arrives late
  • CHANGED: the API admin account with access is selected automatically (no longer a manual setting)

Version 1.2 (23 August 2015)

  • ADDED: WHMCS 6 compatibility

Version 1.0 (8 December 2014)

  • Initial release