1) I'm wondering, what's the advantage, if any, of using WHMCS action hooks vs. the Cpanel Hooks to run a script after a new hosting account is created?
Wouldn't it be better to use the Cpanel hook directly?
2) If it's done via the Cpanel postwwwacct hook, would this still run only once WHMCS confirms that a payment has been received for the new hosting account and auto-creates the new hosting account?
3) If #2 is true, then would it be better to simply use the Cpanel hook? Or, am I missing something here?
Question
mike2352
Hi,
1) I'm wondering, what's the advantage, if any, of using WHMCS action hooks vs. the Cpanel Hooks to run a script after a new hosting account is created?
Wouldn't it be better to use the Cpanel hook directly?
http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/ScriptHooks
and use this Cpanel hook?:
/scripts/postwwwacct
instead of the WHMCS action hook:
ClientAdd
2) If it's done via the Cpanel postwwwacct hook, would this still run only once WHMCS confirms that a payment has been received for the new hosting account and auto-creates the new hosting account?
3) If #2 is true, then would it be better to simply use the Cpanel hook? Or, am I missing something here?
Thank you in advance for your help!
Link to comment
Share on other sites
3 answers 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.