jpreston84 Posted May 30, 2013 Share Posted May 30, 2013 Greetings everyone! I apologize if this is a commonly asked question, but I was unable to locate another post addressing it. I've written my own web application. I'll not bore you with the details, but suffice it to say that I've determined it is necessary for my web application to control user account creation within its own database. What I need is for WHMCS to read from that database, allowing users to log in with their credentials from my app. It can create its own entries in its database if needed. What hook or other functionality can I use to do this? 0 Quote Link to comment Share on other sites More sharing options...
And then there was one les Posted May 30, 2013 Share Posted May 30, 2013 without knowing the details its impossible to say, but whmcs does have the hooks so it might be prudent to use the whmcs system and pass authentication details over to the webapp instead it that is possible. EG, client signs up in whmcs and then whmcs passes the required info over, this is documented though. 0 Quote Link to comment Share on other sites More sharing options...
jpreston84 Posted May 31, 2013 Author Share Posted May 31, 2013 I'm aware that you can use WHMCS to authenticate users in this system. However, I've determined this doesn't provide enough flexibility regarding managing accounts from within my web application. Extending WHMCS to handle all the management operations my accounts will need for this web application would be far too time-consuming. Is there no way to have WHMCS use my application's user details for login? 0 Quote Link to comment Share on other sites More sharing options...
altomarketing Posted May 31, 2013 Share Posted May 31, 2013 Is there no way to have WHMCS use my application's user details for login? yes, you can easly do it with http://docs.whmcs.com/API:Validate_Login sending the correct data to whmcs , your customer can login to whmcs using your app 0 Quote Link to comment Share on other sites More sharing options...
jpreston84 Posted June 1, 2013 Author Share Posted June 1, 2013 Okay, one last time -- what I'm trying to do is the reverse of what you're telling me about. I've already done this, and it's insufficient in terms of the internal structure of my application. What I want to do is, when someone tries to log in to WHMCS, it will check my web app's database for user credentials, rather than WHMCS's own database. My web app should still use its own database, and should not need to know about WHMCS at all! 0 Quote Link to comment Share on other sites More sharing options...
xotj123 Posted June 4, 2013 Share Posted June 4, 2013 Hmm, it is possible. But I think your going to need to hire a php developer that is experienced in WHMCS Module Development. I would think they can create a Module that overrides WHMCS login method with a new one, that should be able to query a remote database table that contains user details. But again, in order for you to accomplish this, you will need a Highly Experienced WHMCS Developer. Or you may be able to hire WHMCS themselves if your web app is in php and uses MySQL... If it uses something else and different db such as MSSQL, WHMCS wont be able to help you. 0 Quote Link to comment Share on other sites More sharing options...
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.