Jump to content

Addon Hook Issue


Fr3DBr

Recommended Posts

Dear, WHMCS Staff.

 

 

There is a problem with the addon hooks, to reproduce it, what you must do is :

 

1) Add an addon to any product.

2) Change the state of this addon to 'Suspended'.

3) Change the state of this addon back to 'Active'.

 

What will happen is that, once you set it to 'Suspended', the hook : AddonSuspended will be called (This is expected / correct).

 

However the bug happens during the transition between 'Supended' state back to 'Active' state, the hook : AddonActivated that was supposed to be called is not. But if you try with any of the other states like : Terminated, Cancelled or Fraud, then the hook is called during the transition.

 

Please note that this is a very important characteristic on these hooks and it must work, because right now, implementing a mod for these hooks will not work properly due to this.

Edited by Fr3DBr
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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