WHMCS App Store Over 300 Add-ons, Extensions, Templates and more...


Most Popular Addons

Recently Updated Addons

Official Addons

 » Action Hooks (97)
 » Admin Area Addons (219)
 » Client Area Addons (140)
 » Gateway Modules (245)
 » Others (147)
 » Provisioning Modules (168)
 » Registrar Modules (54)
 » Reports (20)
 » Template Customisations (55)

Category: Action Hook - Type: Free
Last Updated: 14/09/2009 - Supported Versions: V3.8 or Later


Ever had a client cancel a product only to discover that they had put in the cancellation request after you had already invoiced them for the upcoming renewal? Well my action hook will automatically cancel the invoice once the product has had its status changed to cancelled (ie it will only cancel the invoice once the product has actually been cancelled depending on whether the client chooses immediate or at the end of the period)

-My action hook gets executed after the cron job
-It will email you a separate cron report (currently no way to add it to the WHMCS cron report)
-It only sends the cron report to admins that receive system emails.
-It logs itself as having been run in the activity log (like WHMCS cron)
-The invoice that gets cancelled has a note added that it was cancelled by the script so you can tell what has been cancelled by it and what hasnt.

To install:
Just upload the file to the includes/hooks folder of your whmcs installation
Thats it your done.


Forum Discussion Thread: http://forum.whmcs.com/showthread.php?t=23119

600 Users found this useful. Click here to vote for this addon

Version: 1.0 - Last Updated: 28/08/2009

  • First Release :)

Version: 1.1 - Last Updated: 14/09/2009

  • Invoice notes are now appended (won't overwrite existing notes)
  • Now compares hosting amount to invoice amount and if they don't match will say this in the cron report advising you to edit the invoice manually.

WHMCS is easily extendible through the many Developer Resources we make available, including modules, hooks, addons, API's and templates. So here you will find many third party developed extensions that can enhance and add to what WHMCS can do for you, as well as a number of Official Addons created by ourselves.

Disclaimer: The addons available here are provided by third party developers. WHMCS has not vetted the code in any of the addons listed here, and cannot be held responsible for any problems resulting from the use of them. We are also unable to provide support for any issues with third party code.

Powered by WHMCompleteSolution