Hello there;
I downloaded the "Module Development Kit" and I'm surprise with the documentation: One single page
Well, maybe because it's really simple to create a module, however, i can't find an answer to my question and hope somebody out there can help me:
Can i send the WHMCS unique "customerid" to my Control Panel on the mymodule_CreateAccount($params) function?
It has a "clientsdetails" array but comments/documentation says: # Array of clients details - firstname, lastname, email, country, etc...
So, it doesn't say if the Customer ID is included on the array.
It should be possible because "i believe" WHMCS will only execute the "_CreateAccount" function after the client has been created.
The reason i'd like to have WHMCS client's ID on my custom control panel is to allow it to call functions like "Add Billable Item" on WHMCS's API.
Thanks in advance


Reply With Quote