BrutalGT Posted December 19, 2012 Share Posted December 19, 2012 I need to be able to terminate a service from an Action Hook which isn't an available function in the API. I found that I could instead make a call to the URL directly at https://clients.website.com/admincp/clientsservices.php?userid=59823&id=23982&modop=terminate which seems to be a decent work around. How could I initiate a CURL connection with WHMCS as an admin first so that I could actually call this URL? I assume I may need to establish a session or potentially post this data, but I am at a loss. Any help would be greatly appreciated. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS JamesX Posted December 20, 2012 Share Posted December 20, 2012 I need to be able to terminate a service from an Action Hook which isn't an available function in the API. Module Terminate? 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.