Jump to content

£0 Invoices


Bertie

Recommended Posts

Hi,

Is there a way to stop invoices being generated that are £0? It seems to happen when a client has a hosting package that includes a free domain name renewal. Then it seems to raise invoices for that domain name renewal but for £0. This then gets sent to the customer and can cause confusion and a bit annoying for them. 

So is there anything that we can do to stop them from generating? I have seen in the past some people have used actionhooks of some sort but I'm not sure if they are still valid for the latest version of WHMCS. 

Link to comment
Share on other sites

4 hours ago, Bertie said:

Is there a way to stop invoices being generated that are £0?

I think it's the invoice creation that triggers the automation, so if you stop the former, you stop the latter too.

4 hours ago, Bertie said:

It seems to happen when a client has a hosting package that includes a free domain name renewal. Then it seems to raise invoices for that domain name renewal but for £0. This then gets sent to the customer and can cause confusion and a bit annoying for them. 

you can certainly stop the emails going to the client - I think that's what the hooks that you're thinking of do.

4 hours ago, Bertie said:

So is there anything that we can do to stop them from generating? I have seen in the past some people have used actionhooks of some sort but I'm not sure if they are still valid for the latest version of WHMCS. 

are you thinking of this one... :?:

http://www.whmcsjet.com/how-to-disable-invoice-generation-for-0-00-invoices/

ultimately, it would have to be updated in the future (which wouldn't be difficult), but it should still work as it is.

Link to comment
Share on other sites

18 hours ago, brian! said:

I think it's the invoice creation that triggers the automation, so if you stop the former, you stop the latter too.

you can certainly stop the emails going to the client - I think that's what the hooks that you're thinking of do.

are you thinking of this one... :?:

http://www.whmcsjet.com/how-to-disable-invoice-generation-for-0-00-invoices/

ultimately, it would have to be updated in the future (which wouldn't be difficult), but it should still work as it is.

Yeah it's mainly the emails of the £0 invoices being sent - Would love to get those stopped if possible?

Link to comment
Share on other sites

21 hours ago, brian! said:

did you try the hook in the above post? :?:

last time I tried it was on v7.2.3 I think , and i'm sure it worked fine.

I did but I've just re-looked at the code and may have missed the <?php tag so that could be why it wasn't actually working. Will keep an eye on £0 invoices and see if it still works or not. 

Link to comment
Share on other sites

1 hour ago, Bertie said:

Will keep an eye on £0 invoices and see if it still works or not.

if you have a test account (with existing invoices) within your WHMCS installation, you could always alter the hook total value from 0.00 to whatever the total of the invoice is, save it, send the invoice again from the admin area and see if it prevents the email being sent. :idea:

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