Jump to content

InvoiceCreationPreEmail Hook no longer working


voodoochilli

Recommended Posts

InvoiceCreationPreEmail has stopped working. I really dont want to downgrade my version of WHMCS to when it was working (pre 5.7) but it's needed for my invoicing.

 

Any idea when this will be fixed? Seems pretty critical to me but there's been 3 revisions since the bug was identified and still no sign of a fix...I've been accidentally demanding 0 days on the invoices I've been sending out because of this bug.

Link to comment
Share on other sites

If a hook has stopped working, it definitely needs to be fixed. However, maybe there is a workaround, to keep your business going, while you wait for a fix. I'm not sure what your requirements are for the InvoiceCreationPreEmail hook, but have you considered trying the EmailPreSend hook? It might give you functionality you need, while you wait for the other hook to be fixed.

 

http://docs.whmcs.com/Hooks:EmailPreSend

 

The "relid" variable will be the invoice ID, if the email being sent is about an invoice. This might not meet all of your requirements, but maybe it is something you can use in the interim.

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.

×
×
  • 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