I need an automation-script, which does what is described below:
1. a visitor goes to mywebsite.com.
2. the visitor chooses to buy a package from [url removed, login to view], which consists of a small website/cms.
3. the visitor now chooses and search for an available domain name for his/her website.
4. the visitor enters contact info, log in info and payment info and pays.
5. the system sets up the chosen domain name as an addon-domain under my enom reseller account.
6. the system automatically installs (and extracts) the small website/cms in a specific (user)directory corresponding to the chosen domain name.
7. the visitor can now lo gin with his/her log in info to [url removed, login to view] to add/change content on his new website.
As mentioned, domains and hosting should be done through a reseller account at enom.com. All payments should be done with paypal.com. If you can think of other solutions to this type of automation script, I'm open to suggestions though.
By the way, the script should be done with PHP, MySQL and AJAX for fast form validation, and great usability.