Delete/Close Account

Delete/Close Account

Developed By HardSoftCode

Compatible with WHMCS v9.0

Give clients the ability to request account closure or deletion from the client area — with password confirmation, optional captcha, an optional emailed verification code, a grace period they can extend once, client and admin email notifications, and automatic execution by the daily cron. Before they go, an exit survey captures why they are leaving, matching answers can trigger a win-back discount offer, and pre-closure safeguards flag unpaid invoices, open tickets, pending transfers, active services and leftover credit. High-value requests can be held for manual admin approval, a finance guard blocks or warns on unpaid balances while leftover credit is kept, applied to invoices or forfeited, and the analytics dashboard tracks pending requests, win-backs, churn reasons and grace distribution with CSV exports throughout. Requests are managed from the admin area, every action is audit-logged with actor attribution and IP, sub-user access is permission-controlled, and the whole flow runs in native WHMCS modals on any template, with or without sidebars.

Features

Client self-service

  • Sidebar link (Close/Delete My Account, translated) in the configured panels — Account and/or Your Profile, primary and secondary sidebars — with a configurable text color.
  • WHMCS-native modal flow: password confirmation (with optional reCAPTCHA) → warning/confirm step → done notice. No custom dialog libraries.
  • Scheduled-request notice: clients who log back in while a request pends get a locked modal (date + notice) that cannot be dismissed — owners choose Confirm or Cancel in the footer; sub-users without permission get Logout only.
  • Deep link for sidebar-less templates: any client-area URL ending in #deleteaccount (e.g. clientarea.php#deleteaccount) opens the modal — paste it into any custom menu.
  • Sub-user permissions: owners can flag individual users on the /account/users/<id>/permissions page (new checkbox, same styling); flagged users may run the flow like owners.

Grace period & execution

  • Configurable grace period in days (close or delete mode); the request date and end date show in the admin grid with remaining-days countdown.
  • Daily cron executes due requests via closeclient / deleteclient and prunes the activity log per retention.
  • Emails: client notice + admin notification (with client details and admin link) on scheduling, using five seeded templates (close/delete notices + verification code) with merge fields registered in the editor.

Admin & audit

  • Analytics dashboard (landing tab): KPI cards (pending, due today, win-backs, completed), cancellation-trend line chart with range switcher, churn-reason doughnut, grace-distribution bar, summary CSV export.
  • Requests grid (DataTables): client link, request/end dates, remaining days, requested/canceled badges, token-protected cancel/delete with SweetAlert2 confirms.
  • Client summary alert: any client profile with a live request shows a red banner (schedule date, countdown, approval/extension state) linking to the Requests tab.
  • Activity Log: every settings save, admin cancel/delete and client schedule/acknowledge/cancel, attributed to admin (username), owner (client name) or sub-user (name), with per-actor colors, request IP + browser user-agent, DataTables search/sort/paging and day-based retention.
  • AJAX settings with top-right toast confirmations and session-expiry handling; MiniColors picker for the sidebar link color. Every save writes one log entry listing exactly what changed (Days 15 > 30; Finance Guard warn > block).
  • Admin homepage widgets: pending queue (stats + grace bar) and win-back pulse (stats + churn doughnut); enable them from the homepage Customize panel.

We also offer full source code licenses for all of our products. Source code access for Delete/Close Account is available for $280 USD. Please contact our support team for further details or to request a purchase.

 

Reviews

5 stars
1
1
4 stars
0
0
3 stars
0
0
2 stars
0
0
1 star
0
0
pane - avatar

pane - @STREAMPANEL

May 27, 2018 at 08:08:51 PM

Great addons and great support!

I love their support and source code open versions. This make this Developer very trustable!

HardSoftCode Teams avatar

HardSoftCode Teams @HardSoftCode

May 29, 2018 at 07:47:17 PM

Hi Ann-Christin

Thank you for your review we hope that our product meet your needs

Owner@HardSoftCode  
  • 8 years ago
  • Version Number 1.1.2
  • Edited

Version Compatibility


Compatible with WHMCS v9.0

Full Version Compatibility


  • All versions of WHMCS v9.0
  • All versions of WHMCS v8.13

System Requirements


  • PHP as required by your WHMCS version.
  • IonCube Loader as required by your WHMCS version.
  • A running WHMCS daily cron (executes due requests and prunes the log).
  • (Optional) reCAPTCHA Site + Secret keys — only needed if you enable the captcha on the password step

* Requirements listed are in addition to the WHMCS default system requirements.

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By HardSoftCode

Changelog

v2.0.0 Released October 14th, 2026

Latest Version


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

Expansion pillars (shipped)

  • 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, legacy-safe columns).
  • Pre-closure safeguards (warn/block scan: invoices, tickets, transfers, services, credit; Flags column).
  • Admin review (high-value requests held for approval: credit/services thresholds, Review badge + Approve action, locked client notice, cron skips unapproved).
  • CSV exporter (requests + survey answers, Excel-friendly, logged).
  • Finance guard (warn/block on unpaid balances at request + execution time; leftover credit kept, applied to invoices, or forfeited).
  • Email verification code (optional 6-digit second factor, auto-sent on step open, 10-minute expiry, 5-attempt lockout) + request IP and browser user-agent on every activity-log entry.
  • Analytics dashboard (default landing tab: KPI cards, Chart.js trend/survey/grace charts with range switcher, summary CSV export; cron logs completions).
  • Client summary alert (red banner on profiles with a live request) + per-change settings audit (Days 15 > 30; secrets masked).
  • Admin homepage widgets (pending queue + win-back pulse via AdminHomeWidgets, each with stats and a mini chart).

New features

  • WHMCS-modal request flow (password → confirm → done; locked scheduled notice).
  • Analytics dashboard as the default landing tab (KPI cards, Chart.js trend/survey/grace charts, summary CSV export).
  • Sub-user permission checkbox on the core permissions page with owner-or-flagged enforcement everywhere.
  • Sidebar-less deep link (#deleteaccount) with copy button in Settings.
  • Activity log with admin/owner/sub attribution, retention and cron pruning.
  • Sidebar link color picker; Account/Your Profile panel toggles across both sidebars.
  • AJAX admin (toasts, SweetAlert2 confirms, DataTables grids, MiniColors).

Updates & improvements

  • Legacy mod_* data auto-migrates on activation without overwriting.
  • Email templates seeded only when missing (re-activation can't duplicate).
  • Cron condition fixed (due + pending only); merge-field editor guards.
  • Captcha remote-IP, unserialize and token handling hardened.

Fixes

  • Late sidebar priority so the Account panel exists before linking.
  • Beacon-era click work replaced by modal POSTs; session-expiry redirects detected.
  • Captcha render races, footer button timing, modal lifecycle resets.

 

Previous Versions


v1.2.0 Released September 20th, 2020

View/hide detailed changelog

  • Added support to WHMCS v8.0 and PHP v7.4
  • Allow only client to delete or close account
  • Hide link form user account

 

v1.1.3 Released August 30th, 2018

View/hide detailed changelog

  • Update font awesome icons to v5
  • Added support to WHMCS v7.6 and PHP v7.2

 

v1.1.2 Released March 22nd, 2018

View/hide detailed changelog

  • New Feature - WHMCS v7.5, PHP 7.1 and PHP 7.2 compatibility
  • New Feature - You can choose which admin receive email notification
  • Improvement - Separate delete account email from close account email
  • Bug Fix - Hide reCAPTCHA if not in use

 

v1.0.0 Released July 7th, 2016

View/hide detailed changelog

  • Initial release

 

See also

The SSL Store™ WHMCS SSL Reseller Module

Sell SSL on autopilot: automated issuance, validation, installation and renewal, right inside WHMCS.

Free
Client Password Changer

Easily generate and change passwords for your clients without the need to send an email

Free
Abuse Manager Pro

Creating & managing abuse reports just got easier!

Commercial
CSF Unblocker v4

Give your customers the power to unblock themselves from the CSF Firewall! Lessen your staff support ticket load

Commercial
Phone Verification

Automated Phone Verification. Protect your business and your users

Commercial