Jump to content

Cpanel hooks vs. WHMCS action hooks


mike2352

Recommended Posts

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

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