I'm a small hosting company floating between hobby and small business depending on how many clients pay their bills each month. I'm a techie by nature, and find running the servers more interesting then billing. Since my customers are willing to pay, I'm thinking I need an actual invoicing/billing system, and some automated way to process payments. WHMCS looks ideal.
I wrote my own server management scripts, and am quite happy with how they operate, so I am not looking for anything like cpanel or similar. My goal here would be to keep my existing custom written backend, but entirely replace the customer-facing front-end with WHMCS.
This means I will obviously need to rewrite enough of the backend to pull the information I need from WHMCS.
On the hosting side of things, all I really need is a front end that allows users to choose their package and optional add-ons. It looks like WHMCS will do this.
Next, I need to be able to pull a real time list of active domain names, usernames, passwords, and service levels in some format my scripts can easily parse.
I can either do HTTPS or SQL queries to get at this data, so what I'm wondering is about the SQL schema, is there a way to query the data I need fairly easily, or is the data encoded/encrypted some how?
I currently feed the server scripts a combination of CSV, XML and INI formatted data, depending on the script in question, but I'm happy to accept data in whatever format and adjust the "input" side of the scripts, but I want to avoid having to reverse-engineer the storage mechanism.
A glance at the API didn't reveal any easy way to answer this question, so I'm posting here instead.
So I think all I really need to know is does WHMCS store user data in an easily accessible, human readable format in the MySQL database? If so, is there any reason I can't just whip up some PHP to read the data and provide it to my existing backend scripts?
Hopefully this makes sense, but if not, I'll provide the excuse that it's 5am and I probably should be sleeping right now.
Question
hireahit
I'm a small hosting company floating between hobby and small business depending on how many clients pay their bills each month. I'm a techie by nature, and find running the servers more interesting then billing. Since my customers are willing to pay, I'm thinking I need an actual invoicing/billing system, and some automated way to process payments. WHMCS looks ideal.
I wrote my own server management scripts, and am quite happy with how they operate, so I am not looking for anything like cpanel or similar. My goal here would be to keep my existing custom written backend, but entirely replace the customer-facing front-end with WHMCS.
This means I will obviously need to rewrite enough of the backend to pull the information I need from WHMCS.
On the hosting side of things, all I really need is a front end that allows users to choose their package and optional add-ons. It looks like WHMCS will do this.
Next, I need to be able to pull a real time list of active domain names, usernames, passwords, and service levels in some format my scripts can easily parse.
I can either do HTTPS or SQL queries to get at this data, so what I'm wondering is about the SQL schema, is there a way to query the data I need fairly easily, or is the data encoded/encrypted some how?
I currently feed the server scripts a combination of CSV, XML and INI formatted data, depending on the script in question, but I'm happy to accept data in whatever format and adjust the "input" side of the scripts, but I want to avoid having to reverse-engineer the storage mechanism.
A glance at the API didn't reveal any easy way to answer this question, so I'm posting here instead.
So I think all I really need to know is does WHMCS store user data in an easily accessible, human readable format in the MySQL database? If so, is there any reason I can't just whip up some PHP to read the data and provide it to my existing backend scripts?
Hopefully this makes sense, but if not, I'll provide the excuse that it's 5am and I probably should be sleeping right now.
Link to comment
Share on other sites
6 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.