We're in the process of testing Hostbill, and unfortunately, there's not much documentation. Maybe some of you are using Hostbill to sell Enhance hosting plans and can help with some info.
My experience so far has not been good.
I have imported everything from WHMCS and have some issues with the Enhance hosting products, there's no SSO button to login to the control panel.
I went to Settings > Products & Services > WordPress Hosting (my order page) and edited the products. I used Connect with App to connect to Enhance, chose the corresponding Enhance plan, enabled Access Control Panel in Client functions, and set {$client_email} to the Custom username generation pattern.
Even after all this, there is no button to log in to the Enhance panel in the client area. On some clients, I get the error: No owner role member found; on others, there's no error; the button is just missing.
So, it seems that Hostbill doesn't "see" the user in Enhance who owns the organization (the customer in Enhance). However, the orgid is present in the enhOrgId field, it was migrated correctly from WHMCS.
I have tried to manually add in Hostbill the Account id, Subscription Id and Website Id. Still no luck in getting that button to show up. I presume that the Account id is the id of the user who owns the organisation.
I also verified the connection with Enhance in Settings > Apps connection > Enhance > Test configuration and it is connected.
I tried doing some of the Available actions on the service page in the Account details section, like Create, Suspend, Unsuspend. Create throws error: website already exists, Suspend works apparently, the status is changed to suspended in Hostbill, but NOT in Enhance, nothing happens in Enhance.
What I would also like is the client to be able to order the plan in Hostbill without a domain name (hostname). The order would just create the organisation in Enhance without creating a website. The website creation is done in Enhance by the client, so he/she can choose the server location. Or maybe we set up in Hostbill server locations and the website is created in the location the client chooses.
As it works now, we must set the plan with domain options, and the client must enter a hostname, otherwise it fails to create a website in Enhance. With the hostname set, Hostbill creates the website withour error but it put the website on a random server (well, not random, but following the Enhance logic we have set - least load). Unfortunately, that means a client from Germany can have the website created on a server in the US and that is not ideal.
Also, when I place a new order from an existing client, Hostbill create a new organisation in Enhance instead of using the one already there (the orgID is set correctly for the client in Hostbill). When accepting the order I get an error: error adding website, invalid_argument, invalid domain name. That's because I've set the product without a hostname, I get it. But what happens is Hostbill creates another package in Enhance, so now there's 2 packages.
I've raised a ticket with Hostbill, but haven't got a response yet.
Maybe some of you are using Hostbill and can share some of your experience, maybe I'm setting something wrong and can point me in the right direction.
Thanks.