Jump to content

Can I make WHMCS group domains on a single invoice by modifying tbldomains.nextduedate and tbldomains.nextinvoicedate ?


Recommended Posts

I have customers with many domains and they complain about the fact that they receive too many invoices.

They receive a single invoice for every day there's at least one domain with a different duedate in WHMCS.

 

I have been breaking my head about this for a while now and I do wonder If I can make this work with a query like this?

 

UPDATE tbldomains SET nextduedate=concat(year(nextduedate),'-',month(nextduedate),'-1'), nextinvoicedate=concat(year(nextinvoicedate),'-',month(nextinvoicedate),'-1');

 

It will change the duedate and nextinvoicedate to the first of the month. But I wonder if I can do this, will it work?

Or will I break other WHMCS things by doing things like this?

 

Link to comment
Share on other sites

Yes, but if a customer has like 30 domains that will renew this month and 20 of them have a different expiry date. Then the cusomer receives 20 invoices this month.

I want to have the on a single invoice.

That's why I thought that changing the duedate to the first of the month will help but you say it will reset. But maybe I can disable the option of changing the duedates and use the SQL query above?

I'm unsure. And I don't want to break things.

Link to comment
Share on other sites

I agree it makes sense to have a single invoice.  I can't see a way in WHMCS as it is now that will work that way.

Consider if the single invoice contains 30 domains but the customer only wants to renew some of them. How would they notify you of which domains?  If they pay only a part of the invoice then the automation settings will renew some domains ( I suspect top-down from the list in the invoice ).  

Domain renewals are all anniversary based to the day. 

Perhaps an option would be to send an email on the 1st of each month stating the domains that are renewing this month and to access their client area to disable renewals on any that they wish to lapse.

  

Link to comment
Share on other sites

Join the conversation

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

Guest
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