Hi everyone, I've been working on some stuff for Blesta for our new company recently and I seem to be going round in circles, so thought I'd post here. I don't seem to be able to find the answers on the forum here or in the documentation, but if that's more down to my inexperience with developing for Blesta and there are decent links, please do send me away to read. There's nothing worse than someone asking for all the answers without wanting to try first!
So what I'm doing I didn't expect to be anything too outrageous or new. Firstly, I need to make a payment gateway. The main problem I'm having here is that I want to have a custom payment form (i.e. I don't want to show the normal credit card inputs but do some custom javascript on the page with some gui elements first). I don't seem to be able to find any examples of creating my own templates (views?) to override what's there, or hook in to it somehow. Note that I want this to be something I can properly package up, to distribute over various installs, without overwriting core files and invalidating updates.
My next question is in regards to selling domains. I saw a couple of really helpful posts by Licensecart (setting up products without modules, selling domains, etc) but in my case I am wondering if it's possible for me to do this in such a way that products be created (or at least updated) in a custom manner. We use a domain reselling API and we want to base prices off of that, as well as that vast number of domains available (and things like checking if they're available, and so on) - so would this be a) possible and best done with a custom module?
Finally, a more general question. We have the cPanel module installed and this seems to be hooked up nicely. We will also offer other products and I don't see too many more problems apart from the domain one mentioned just above, in terms of integrating with Blesta. But, it seems like a lot of work to style Blesta or use it as our main site, so I presume the best thing to do would be to have most the content and product selections from our own site which then passes over to the blesta billing site? I suppose it's a trade off, but is there any accepted ways of doing this? Can I add things to the cart easily from our static site, and optionally allow customers to go back to the main site from Blesta if they want to add more, really leaving Blesta as the payment gateway (and client area) more than a full on shop?
Sorry for my rambling, I hope I made sense.
Regards,
Leonard