kenashkov Posted December 20, 2012 Share Posted December 20, 2012 Hi, I would like to ask two things: - we are adding a new client ("addclient") and order ("addorder") through the API . All goes well and they are both added. The only issue is that the order is not marked as Active (they stay as Inactive). This is an issue for us because if the user wants to upgrade he cant - the other question is about login integration. WHMCS and the service are deployed on different domain (service.com & whmcs.service.com) and it seems we cant use "validatelogin" because even though we obtain uid & upw no point settings them into the $_SESSION in the service site because WHMCS uses another session. How we can integrate the login (user logs in the service and we want autologin in WHMCS) in this case? Any other way? If the sessions were kept in the database we could write there but they are not. 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted December 22, 2012 Share Posted December 22, 2012 You can accept the order via the API. http://docs.whmcs.com/API:Accept_Order You can enable automatic login from another domain by using AutoAuth: http://docs.whmcs.com/AutoAuth 0 Quote Link to comment Share on other sites More sharing options...
kenashkov Posted December 24, 2012 Author Share Posted December 24, 2012 Thank you for the help. This did the job! 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.