ntemple Posted October 6, 2008 Share Posted October 6, 2008 Can WHMCS be set to bill for bandwidth / disk overage? If so ... how? If not ... is the API robust enough to write such a module? Suggestions appreciated! 0 Quote Link to comment Share on other sites More sharing options...
jozeph Posted October 15, 2008 Share Posted October 15, 2008 Hi, Currenty whmcs can retrive that informations from control panel. So, is very easy to add this feature. AWBS can charge customers after disk or bandwidth usage. So, this feature can be added to WHMCS too! Let's request to developers!!! 0 Quote Link to comment Share on other sites More sharing options...
Francisco Posted October 15, 2008 Share Posted October 15, 2008 Hi, Currenty whmcs can retrive that informations from control panel. So, is very easy to add this feature. AWBS can charge customers after disk or bandwidth usage. So, this feature can be added to WHMCS too! Let's request to developers!!! ditto. Open a request and i will support it. Directadmin + cPanel support !! 0 Quote Link to comment Share on other sites More sharing options...
ramystyle Posted October 16, 2008 Share Posted October 16, 2008 Great idea ! So if a user goes above his bandwidth limit, an email should be sent to him offering him to buy more bandwidth in order to unsuspend his account 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted October 16, 2008 Share Posted October 16, 2008 You can set WHM to send bandwidth notices in Tweak Settings when the user reaches various stages. eg.. Email users when they have reached 70% of their bandwidth Email users when they have reached 75% of their bandwidth Email users when they have reached 80% of their bandwidth Email users when they have reached 85% of their bandwidth Email users when they have reached 90% of their bandwidth Email users when they have reached 95% of their bandwidth Email users when they have reached 97% of their bandwidth Email users when they have reached 98% of their bandwidth Email users when they have reached 99% of their bandwidth However the billing part would need a little work in WHMCS prob by Matt because the file needed to change in ioncubed. 0 Quote Link to comment Share on other sites More sharing options...
Shaun Posted October 16, 2008 Share Posted October 16, 2008 Could be compleated with a cron that is run each day BEFORE the WHMCS cron. This cron would check what accounts are ending today. Then check the bandwidth accrued on the account VS the pacage allowance. Then using the API create and invoice for the customer and bill them for it. If people like the idea of this i will knock up the script that does it and an admin module to config it (price/ grace allowance). Any takers/thoughts. 0 Quote Link to comment Share on other sites More sharing options...
jozeph Posted October 16, 2008 Share Posted October 16, 2008 No! WHMCS can charge per each megabyte exceeded from the original plan for both, bandwidth and diskspace, exactly as AWBS do! 0 Quote Link to comment Share on other sites More sharing options...
Shaun Posted October 16, 2008 Share Posted October 16, 2008 No! WHMCS can charge per each megabyte exceeded from the original plan for both, bandwidth and diskspace, exactly as AWBS do! Due its all about options. You can OPTIONALLY have a threshold. Think that post is rather rude tbh. PS. This is WHMCS not AWBS. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted October 16, 2008 Share Posted October 16, 2008 Maybe if he knows how its done he can share the exact steps to do it. Can't wait for the answer 0 Quote Link to comment Share on other sites More sharing options...
Shaun Posted October 16, 2008 Share Posted October 16, 2008 Maybe if he knows how its done he can share the exact steps to do it. Can't wait for the answer Lmao Well put 0 Quote Link to comment Share on other sites More sharing options...
nielsenj Posted October 16, 2008 Share Posted October 16, 2008 So, long story short i did a little research into this. There are two options regarding getting bandwidth used: 1. access '/var/cpanel/bandwidth/' under which bandwidth WHM monitors is under each domain 2. use CPanel's API to obtain the same information (i can't however, find if the API actually has that implemented as all documentation regarding it is extremely old) Both of the above options return the same value, albeit an aproximiate value created by WHM. I would think, after you've calculated the totals for the domains under each account you would check it against the account bandwidth maximum and use the WHMCS API to generate and automatically send an invoice for the overage. I'm not proficient at perl but might try and tackle it in php. Unfortunatly i'd really like to see that information associated with the user's package but i don't know enough about WHMCS to integrate it in such a manner.. anyone have any ideas on how to go about it? Regards, 0 Quote Link to comment Share on other sites More sharing options...
jozeph Posted October 26, 2008 Share Posted October 26, 2008 This best way to do is request this as new feature 0 Quote Link to comment Share on other sites More sharing options...
txkhomes Posted October 27, 2008 Share Posted October 27, 2008 No! WHMCS can charge per each megabyte exceeded from the original plan for both, bandwidth and diskspace, exactly as AWBS do! Confused - First you say it can then you say request it as a new feature which is it yes or no, you madea post saying it can then when people ask you how you say request it as a new feature...... 0 Quote Link to comment Share on other sites More sharing options...
SilverNodashi Posted October 27, 2008 Share Posted October 27, 2008 Can WHMCS be set to bill for bandwidth / disk overage? If so ... how? If not ... is the API robust enough to write such a module? Suggestions appreciated! No, WHMCS can't bill for bandwidth / disk overage. Althought cPanel can send out noticed to notify that client that his bandwidht is almost used up, WHMCS can't do anything with, and won't send out a new invoice for the xtra bandwidth / disk spaced used. 0 Quote Link to comment Share on other sites More sharing options...
JFSG Posted October 27, 2008 Share Posted October 27, 2008 Now I know why WHMCS is so popular! WHMCS has so many people giving fantastic ideas! 0 Quote Link to comment Share on other sites More sharing options...
eugenevdm Posted October 29, 2008 Share Posted October 29, 2008 Overage billing is an essential part of running a successful hosting business. Without overage billing you might be loosing thousands of dollars every month. I agree we put in a feature request to have this implemented. You have to consider that each control panel has it's own way of doing things and this will present a challenge for the WHMCS developers. For example the way to retrieve overage statistics from cPanel is completely different than retrieving statistics from Plesk. But in essence the billing part could be the same. A general algorithm could at the end of the month calculate how much the client has and what they are limited to. That should then be multiplied by the overage charge and an invoice created and sent to the client. The daily cron could update these statistics. I see in the WHMCS database tblhosting there are four (five?) fields that seems to cater for this: diskusagedisklimit bwusage bwlimit [lastupdate] Does anybody know what these fields are used for? 0 Quote Link to comment Share on other sites More sharing options...
SilverNodashi Posted October 29, 2008 Share Posted October 29, 2008 Hi Eugene, What you're saying is very true, but it's not currently possible with WHMCS. Those fields are used to indicate the limits & track the usage. BUT, it doesn't send out invoices for over-usage. So, although WHMCS already knows & indicates bandwidth over-usages, it doesn't send out invoices yet. I think for this to happen, one would nee to have an extra option somewhere, to indicate how much extra bandwidth costs. Ideally, this should be in the package setup, next to the pricing options (maybe a new tab?) with bandwidth over-usage, and then let you specify how much the bandwidth will be per MB & GB? 0 Quote Link to comment Share on other sites More sharing options...
eugenevdm Posted October 29, 2008 Share Posted October 29, 2008 Those fields are used to indicate the limits & track the usage. I have since discovered on this forum that those fields are only applicable if you have cPanel and they are updated daily by the cron. 0 Quote Link to comment Share on other sites More sharing options...
SilverNodashi Posted October 29, 2008 Share Posted October 29, 2008 oh, yes. They only apply to cPanel - so it doesn't really help much in your case then. 0 Quote Link to comment Share on other sites More sharing options...
pbhosting Posted December 7, 2008 Share Posted December 7, 2008 it would be nice if this was available. i have a couple clients that are starting to abuse their bandwidth useage, would be nice to bill them for it. hopefully this comes out with 3.8 otherwise may have to switch to ubersmith 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted December 7, 2008 Share Posted December 7, 2008 It might be easier to write an addon to WHMCS, rather than switching to ubersmith. 0 Quote Link to comment Share on other sites More sharing options...
pbhosting Posted December 7, 2008 Share Posted December 7, 2008 im not a code writer, so that wouldn't work for me. Is a good suggestion though for those who can code. 0 Quote Link to comment Share on other sites More sharing options...
Blazr Posted December 7, 2008 Share Posted December 7, 2008 I would be interested as well... 0 Quote Link to comment Share on other sites More sharing options...
dmc_ss Posted January 13, 2009 Share Posted January 13, 2009 I think if we can get the WHMCS side of things complete, as in generating the required invoices if the limit calculation requires, all we then need is for some of us to write code to populate those fields in the database from our respective control panels. Getting the information into the tblHosting table should be easy, getting WHMCS to generate an invoice - perhaps not so easy. 0 Quote Link to comment Share on other sites More sharing options...
cobrastrike Posted January 27, 2009 Share Posted January 27, 2009 How many people are interested in getting a WHMCS addon that would bill clients for going over the alotted bandwidth and disk space? If there are enough people I can put something together, the only thing is that I usually charge for scripting work. Depending on the interest however I most likely will do it out of the goodness of my heart. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.