Stuart Evans Posted March 20, 2018 Share Posted March 20, 2018 Hi All, I've just began the journey of using WHMCS and would like some insight / help on how to provision my own services. Background story is, I'm looking to resell a VPS but not provide functions such as stop, start, reset, login etc within the customer control panel, I want to provide the customer with a clean looking view with simple access to the VPS. I would like help in understanding how I run can run a script after an order is placed that will utilise an API to the VPS provider to build and configure the VPS to my standard, in addition to this, I need to understand then how to terminate the VPS when a customer cancels the product or if the product runs out of its contracted date? I'm a bit unclear how i would link my customer to the ID of the VPS at the VPS provider? Would i look at something like action hooks, or do i need to look at building my own provisioning module? Thanks! Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted March 23, 2018 Share Posted March 23, 2018 Hey @Stuart Evans You'd likely need to build your own module or use a combination of hooks to hide the buttons as most modules have the Restart, Stop, Start, Login all built in. I'll move this post to the Developers Corner as that will be the best place to get assistance with this Link to comment Share on other sites More sharing options...
Stuart Evans Posted March 24, 2018 Author Share Posted March 24, 2018 Thanks Chris, appreciate that - I've been making progress on Hooks and think thats the quickest and easiest direct. Link to comment Share on other sites More sharing options...
Stuart Evans Posted March 27, 2018 Author Share Posted March 27, 2018 So, I've made further progress on this and found that creating a provisioning module is the best route to go down. I can then use the module to managed the create, suspend and terminate functions that i require to build a managed VPS, Link to comment Share on other sites More sharing options...
Recommended Posts