I am working on creating a module for Drupal that will allow the administrator to set up hosting packages if they have WHM. Right now, I'm mainly in the development stage, and have a great deal based off of the PayPal Subscription module (credit where credit is due). I liked a lot of the ideas in there, but I wanted to fully integrate the PayPal Subscriptions.
I am planning to include:

  • Use PayPal subscriptions as the payment management system
  • Allow administrators to import their packages from WHM and then create subscriptions based off of this allowing them to specify different subscription lengths and possibly other services also such as tech support and search engine submission (not managed through this module)
  • Allow discount codes to be used
  • Allow for a grace period if a subscription payment is missed
  • Define custom e-mails (ala PayPal Subscription Module) for each subscription for new customers, late payment notices, and cancellation notices as well as having default e-mails
  • Allow users to change their packages (This will be a setting that will be disabled as it will involve sending a link probably though the shell itself to WHM with the admin name and PW. So, I have concerns about possible security breaches)
  • Track payment history
  • Allow only Authentificated users to create cPanel accounts

I haven't written Drupal modules before, but I am proficient with PHP/MySQL. I was wondering if anyone had any ideas and such on this. I've looked at TinyTool and have determined how to do some things through there, as well as the PDN and the existing PayPal Subscription Module. Any ideas are welcome and I will gladly share the module upon completion as well as with anyone who would like to contribute.

James

Comments

seattle_magician’s picture

Any news on this? I'm looking for a way to sell hosting that interfaces with Drupal and WHM. What you described sounds great!

Jacob - Seattle Magician - my band Gravity Evasion

wastrilith2k’s picture

I did get a bit done on this. But it was for 4.6. I haven't looked at the new WHM listed because I've stopped using a reseller account (too unstable). If anyone wants to look at what I'd done, I'm happy to share the code.

James

RedFoxDesign’s picture

Hi, just an idea, but maybe this would be better if you made it an extension module of the ecommerce set of modules, that way you can focus purely on the WHM side of things and let the pre-existing shop side do the hard work!

arithmetric’s picture

This project doesn't look like it got off the ground, but recently I released a module for WebHost Manager (WHM) integration in Drupal. The module enables a user and application-programming interface to the WHM functions (create account, list accounts, [un]suspend accounts) for a specified reseller account. The CVS account is still pending, but you can download it now from:
http://installdrupal.com/modwhm

arithmetric’s picture

The WHM module has now been released in the Drupal projects. For more information, see:
http://drupal.org/project/whm

RedFoxDesign’s picture

Hi, is there anyone who has created a hosting selling site using the above module? I've tried a few packages that offer automation of selling hosting products and not been impressed!

http://redfoxdesign.co.uk - Red Fox Design
http://redfoxweb.com - Red Fox Web