xXCalleManXx Posted December 4, 2019 Share Posted December 4, 2019 Hi, Is it possible to create a module that is both an addon and a provisioning module? My goal is to use some of WHMCS's hooks and create my own product module. It seems like when i have registered my addon as a provisioning module, the hook ClientLogin won't trigger. What is the best approach here? Thanks 🙂 0 Quote Link to comment Share on other sites More sharing options...
1 Grizzlyware Josh Posted February 7, 2020 Share Posted February 7, 2020 That's not currently possible! We have a module which has to be both an addon and server module, the way we got around that was to put all of the logic into the addon module, and just have the server module require the file from the addon. That way, customers only have to upgrade the addon module and never touch the server one, and the addon module can handle all the logic and hooks etc. 0 Quote Link to comment Share on other sites More sharing options...
Question
xXCalleManXx
Hi,
Is it possible to create a module that is both an addon and a provisioning module?
My goal is to use some of WHMCS's hooks and create my own product module.
It seems like when i have registered my addon as a provisioning module, the hook ClientLogin won't trigger.
What is the best approach here? Thanks 🙂
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.