Delete/Close Accountfor WHMCS · Documentation
v2.0.0

Changelog

What shipped in the v2 rewrite and its expansion pillars.


2.0.0 (current)

Fresh rewrite on the modern addon architecture (namespaced classes, Smarty admin + client templates, WHMCS-native modals).

Expansion pillars

  • Exit survey (optional/required, stats + recent + DataTables).
  • Win-back offers (reason-matched promo with claimed/dismissed tracking).
  • Grace extension (+N days once, badge + modal notice).
  • Pre-closure safeguards (warn/block scan; Flags column).
  • Admin review (credit/services thresholds, approve action, locked client notice).
  • CSV exporter (requests + survey answers, Excel-friendly, logged).
  • Finance guard (warn/block on unpaid balances; credit keep/apply/forfeit).
  • Email verification code (auto-sent, 10-minute expiry, 5-attempt lockout) + IP and browser capture on every log entry.
  • Analytics dashboard (KPI cards, trend/survey/grace charts, range switcher, summary CSV).
  • Client summary alert + per-change settings audit.
  • Admin homepage widgets (pending queue + win-back pulse, stats with mini charts).

Core

  • WHMCS-modal request flow with locked scheduled notice and sub-user permission enforcement.
  • Sidebar-less deep link (#deleteaccount) with copy button.
  • Activity log with admin/owner/sub attribution, retention and cron pruning.
  • AJAX admin (toasts, SweetAlert2 confirms, DataTables grids, MiniColors).
  • Legacy mod_* data auto-migrates without overwriting; email templates seeded only when missing.