I am currently, over the course of the next few weeks, embarking upon a project that will allow automated domain creation with an e-commerce engine, much akin to dotblock, and with installation / configuration of the new X2CRM web application (a new project that is gaining momentum) in addition to Webmin on each domain. I would like to start by creating an installation script for X2CRM in much the same way as there is for SugarCRM (a past project, which is now included in the standard distribution of Virtualmin web app install scripts). I am currently reading up on the Virtualmin remote API but would still like to ask a few questions.
Firstly, I would like to know if it would be worthwhile to create the installation script for the web app first, for the reason that I’m not sure if it can be called just as easily/trivially through a scripted event as through a push-button command given in Virtualmin. It would need to be called with the scripted creation of each new domain, to prepare the web app for a customer.
Secondly, not wanting to reinvent any wheels, I am wondering if there are any books or online reading material (or preexisting freely-available code) for triggering Virtualmin events/commands from within a payment gateway (which I’d also like to avoid creating from scratch, if possible) or in some other automated manner. I’ve searched the forums and have thus far found a few useful threads:
Is there anything more I should know?
Thank you very much!