Jump to content

How do I suspend an addon if parent service suspended?


Recommended Posts


I'm new to developing WHMCS addons/modules, and I've so far built a nice module that works great.

I am experiencing a problem: I cannot figure out how to suspend or terminate an addon when the parent service is suspended/cancelled/terminated.

When the parent service is suspended, the addon remains Active, I need to run a few commands to stop the addon and mark it as broken in WHMCS, but I am not sure how to do this.

I've checked the WHMCS hooks / API documentation, but I cannot figure it out; any help would be greatly appreciated.

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.

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