Virtualmin / WHMCS Interface

6 posts / 0 new
Last post
#1 Mon, 07/29/2013 - 06:23
NettSite
NettSite's picture

Virtualmin / WHMCS Interface

Hi,

Is anyone using Virtualmin GPL to do provisioning from within WHMCS? I am trying to get it going, and have followed all the steps I can find in all the documentation I can find but it seems not work at all. No new "domains" are created in Virtualmin when an order is placed or paid for.

I do get an email that says automatic provisioning has failed due to the name servers not being properly configured - shouldn't that be dealt with by Virtualmin?

I expected to see a drop-down of Virtualmin Server Templates and Account Plans in WHMCS when I set up a product and select "Virtualmin" as a module and the appropriate server group, but I don't - just text fields to type those details into.

Any help would be much appreciated!

Regards,

William.

Mon, 07/29/2013 - 08:16
andreychek

Howdy,

Hmm, I haven't run into that error before when using WHMCS.

Note that WHMCS should work well on both Virtualmin GPL and Pro, the API is essentially the same between both of them.

If you wanted drop-downs regarding the Server Templates and Account Plans, you may need to talk to the WHMCS folks about that to see if they're interested in creating such a feature.

But regarding the nameserver provisioning issue -- is that the full error that you get? Is there any other details that it includes in the message you receive?

Also, are you able to create new Virtual Servers in Virtualmin -- is this problem just something that occurs when using WHMCS?

-Eric

Mon, 07/29/2013 - 13:36
NettSite
NettSite's picture

Hi Eric,

Thanks for the reassurance that it should work with GPL, that makes me feel a lot better! At least I have a hope of success.

Unfortunately I am not getting any other messages, or more detailed debugging stuff.

I can create domains in Virtualmin no problem.

One other thing I should probably mention is that when I tried to do the "install script" thing in Virtualmin to install WHMCS, I failed with a message that a connection could not be established to the database. I tried many permutations of database, user and password, and nothing seemed to help, so I simply installed WHMCS manually, and then did the connection to Virtualmin from there.

Cheers, William.

Wed, 07/31/2013 - 13:47
stevenvsi

Hi,

Look at what the module log for WHMCS says (in utilities->log>module logs).

You need to enter the template as well as the plan name you've set into virtualmin. Also, when you define your target server in WHMCS, make sure you can login into it by clicking on the login button next to it.

It has to use the port number for the hostname as well as with its ip ie: 192.168.20.5:10000 and myhostname:10000

I have some issue with the script stopping on warnings which leads to the account not being created on the target server when attempting on plans using features that generate such warnings (such as ssl options), how can I have the script forced into performing the provisioning even if there are warnings?

I will post more details in my next message.

Hope this helps.

Wed, 07/31/2013 - 15:51 (Reply to #4)
NettSite
NettSite's picture

Hi Steve,

That was exactly my problem - I didn't specify the port. Seems to be working fine now.

Thanks for writing!

Regards,

William.

Wed, 07/31/2013 - 16:48
stevenvsi

Hi,

Always good to know that the time I've spent on this was saved by somebody else, that's tax free profit! Open source is open profits when we share!

Enjoy.

Topic locked