Jump to content

Custom module needed: Project Cleanup

Recommended Posts

Hello developers,


Our company uses WHMCS as a CRM and after 2 years in production (and about 5,000 services sold), we've run into a problem where we have customers who haven't stopped using our services (i.e. never paid their invoices) but those customers are still active. We need to know how many of them are inactive so one way to do that is to have a module that runs through the database to cleanup and corrects customer statuses.


This is pseudo-code of what this module would do, while looping customer database:



  1. Check how many services customer has
  2. For every recurring product/service, check to see if there is an unpaid invoice over X months old.
  3. Set this invoice status to CANCELLED and set the related product/service status to "Cancelled"
  4. If no active products/services left for current customer in the loop, then set the customer's status to "Inactive".


I am aware that there is a script that does something similar but I tried it and it doesn't seem to do anything.


I am willing to pay $100 for this module. Price is negotiable.


Thank you!

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated