Auto Cancel Expired Orders

Auto Cancel Expired Orders

Developed By Colonel server

Compatible with WHMCS v8.13

Overview

Colonelserver Auto Cancel Expired Orders is a smart WHMCS addon that automatically cancels long-pending unpaid orders, helping you maintain a clean and accurate order list.

The module runs daily with your WHMCS cron and can optionally cancel the linked unpaid invoice as well. It’s built for automation, safety, and transparency — featuring dry-run mode, per-run limits, and detailed logging.

Key Features

  • Automatically cancels Pending orders older than a configurable grace period
  • Optionally cancel related unpaid invoices
  • Dry-Run Mode to test safely without making changes
  • Select comparison field: Invoice Due Date or Order Date
  • Optional logging in WHMCS Activity Log and Module Log
  • Set maximum records per run for safety
  • Runs automatically via Daily Cron Job (manual CLI also available)
  • Compatible with WHMCS 7.10 – 8.x

Benefits

  • Keep your WHMCS dashboard clutter-free
  • Improve billing accuracy
  • Reduce manual clean-up tasks
  • Ensure consistency between orders and invoices
  • Save admin time and maintain a professional system

Installation

  1. Upload to modules/addons/cs_auto_cancel_orders/
  2. Activate from WHMCS Admin → System Settings → Addon Modules
  3. Configure grace period, cutoff field, and options
  4. (Optional) Copy crons/cs-auto-cancel-orders.php to your WHMCS crons/ folder

Configuration Options

Setting Description Grace Days Days after which unpaid orders are cancelled Cutoff Field Use Invoice Due Date or Order Date as reference Invoice Action Cancel invoice or keep it open Dry-Run Test mode, no data changes Limit Per Run Maximum orders processed per cron Log to Activity Write entries to WHMCS Activity Log

Notes

  • Does not terminate hosting services — only cancels orders & invoices
  • Safe to use in production
  • Designed & maintained by Colonelserver

 

There are no reviews yet!

Be the first to review Auto Cancel Expired Orders.

Version Compatibility


Compatible with WHMCS v8.13

Full Version Compatibility


  • Selected versions of WHMCS v8.13
        8.13.0 - 8.13.1
  • All versions of WHMCS v8.12
  • All versions of WHMCS v8.11
  • Selected versions of WHMCS v8.10
        8.10.0
  • Selected versions of WHMCS v8.9
        8.9.0
  • Selected versions of WHMCS v8.8
        8.8.0
  • All versions of WHMCS v8.7
  • All versions of WHMCS v8.6
  • All versions of WHMCS v8.5
  • All versions of WHMCS v8.4
  • All versions of WHMCS v8.3
  • All versions of WHMCS v8.2
  • All versions of WHMCS v8.1
  • All versions of WHMCS v8.0
  • All versions of WHMCS v7.10
  • All versions of WHMCS v7.9

System Requirements


  • PHP 8.1

* 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 Colonel server

Changelog

v1.0.0 Released October 27th, 2025

Latest Version


1.0.0 — Initial Release

  • First release of Colonelserver Auto Cancel Expired Orders
  • Automatically cancels overdue unpaid orders
  • Optional invoice cancellation
  • Dry-run mode for testing safely
  • Per-run limit and detailed logging
  • Fully compatible with WHMCS 7.10–8.x

 

See also

w2x for Xero

Synchronise your invoices, Contacts, Products and Payments with Xero

Commercial
Services Fee

Transfer the fees to your client

Commercial
QuickBooks Online For WHMCS

Integrate your financial data stored in WHMCS into QuickBooks Online.

Commercial
KashFlow Accounting

Automatically transfer your billing & transaction history to KashFlow

Free
Zero Invoice Management

Avoid sending notifications or creation of 0€ Invoices

Free