ModernBill Integration

ashworth102680

Verified User
Joined
Mar 25, 2005
Messages
20
Location
Vancouver, WA
Has anybody used ModernBill to create accounts on-the-fly via their API? I am getting PHP-related errors connecting.

I am sure it's connecting, but the mod_diradmin module may be somewhat flawed as I know another person who cannot get this to work after messing with it.

Yes, yes, CURL is compiled or my auto-invoices and billing wouldn't work.
 
Andy @ ModernBill thinks it may be the API settings...we're investigating.

Up until now, I haven't really messed with the modules...now I finally want em :)
 
Jon,

Would it be possible for you to post your API config for me to copy? My connection settings may be the issue.

I also see errors when attempting to have MB pull the package config FROM Direct Admin...probably a similar issue.
 
The API Queue Settings or the settings for the mod_diradmin module?

Is the php error message show that it is working but just not connecting succesfully, or that there is actually a problem with php where php was unable to handle the call ModernBill used?
 
I've been considering picking up ModernBill - but I'm curious about reseller account creation. Does it offer such functionality? For example, if I add a new account through MB, am I able to assign a reseller his own IPs and let MB communicate to DA the proper package and IP settings?
 
I actually haven't messed with reseller accounts yet, but I took a look.

From the looks of it you can configure anything that is possible through DirectAdmin's API. Including charging for bandwidth overusage, in one of the latest versions.

I would suggest trying the 30day trial version which is fully functional with a limit of 10 clients, more than enough to give it a good shake down.

http://www.modernbill.com/download/order.htm?tier=11
 
I had (and may still have) the same reseller issue being discussed here.

the mod_diradmin module in MB will only pull from one 'level' at a time, so if you have multiple users with packages, you'll need a separate instance of mod_diradmin in different server groups.

that said, reseller packages are stored in /usr/local/directadmin/data/admin or other username while regular user packages are stored in /usr/local/directadmin/data/users/admin/.

Without manually copying those reseller packages over to another user under the ../data/users/<username>/, modernbill will not find the reseller packages defined in DA.

The usertool someone pointed me to didn't have any functionality to handle this from what I saw in looking through the script.

I'd love to figure out a more acceptable method of dealing with this, so if anyone else has any ideas, please let us know :)

Edit: Edited reseller package location under admin accounts.
 
Last edited:
Back
Top