We need a hook for our WHMCS to run in the client area to do the following functions
1- In product configuration: We have a product password (Different from WHMCS password). We want the hook checks the password & confirm password to make sure they are equal.
2- Captures the password in step 1 and assign it as WHMCS password (for the client)
3- In step 1 clients use their email as their username. We want to capture that email and assign that as their WHMCS email address.