Jump to content
Sign in to follow this  

Hook to cancel invoices for terminated products

Recommended Posts

Great @DennisHermannsen

There shouldn't be that case you've mentioned at first, since only one Late Fee entry would be there on a invoice. Even if there are multiple items, there should only be one Late Fee line so there is no issues with it. 

Anyway, I'll test this out with my test cases and let you know the result as soon as possible.

Did you also include the email notifications to the administrator users upon these actions? If this even possible to implement? If so, including that would be a good function.

Thanks very much for this help, much appreciated 🙂

Share this post

Link to post
Share on other sites


I've tested this and put it in production and all works fine until now. Something I missing out is a notification email to administrators, is this something you could implement on this?

Share this post

Link to post
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.

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.

Sign in to follow this  

  • 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