Jump to content

[NOT A BUG] overusage billing not working properly


Recommended Posts

I setup overusage billing on our shared cPanel accounts, and noticed that some of the accounts got incorrect invoices.

 

Clients can choose extra bandwidth using "Configurable Option", so if the account they choose has 100MB bandwidth as standard, they can choose to add 100MB (or more) extra bandwidth using the "Configurable Options". We then change their plans in WHM with the new bandwidth limits.

 

So, in this example, Daleen has 200MB bandwidth limit:

 

Disk Usage:0 MB, Disk Limit: 50 MB, 0% Used :: BW Usage: 149 MB, BW Limit: 200 MB, 75% Used

(Last Updated: 22/01/2010 00:14)

 

She uses the account for email only, no website files (hence 0MB disk usage).

 

Last month, she used 246MB bandwidth, and therefore should be billed for 46MB extra bandwidth, right?

 

 

But, the invoice shows different:

 

White_ZA - mydomain.co.za (01/12/2009 - 31/12/2009)

Total Bandwidth Usage = 246 MB - Overage Charge = 146 MB @ 0.2/MB

 

 

This is clearly incorrect, and the invoice should have looked as follow:

 

White_ZA - mydomain.co.za (01/12/2009 - 31/12/2009)

Total Bandwidth Usage = 246 MB - Overage Charge = 46 MB @ 0.2/MB

 

 

From here, I guess the script that calculates the bandwidth takes the initial limit from the package, and not from the actual limits reported in the client's account .

Link to comment
Share on other sites

  • 3 weeks later...

If you only change the package in WHM, but don't have a separate package in WHMCS, since the soft limits are specified at the product level you'll have the same soft limits no matter what you do in WHM.

 

If you are billing overusage, you shouldn't set any limits at all in WHM - give them unlimited and let WHMCS decide when to charge and how much. It makes your admin job easier too - no need to worry about changing quotas or bandwidth limitations in WHM.

Link to comment
Share on other sites

Hi Troy,

 

What are your saying is a bit "bogus", and won't work as you said. The client's package in this case has a 100MB limit, and the chose an addon option for another 100MB - so the additional 100MB isn't part of the package default.

 

WHMCS does see that the client has used say 240MB of her 200MB bandwidth, but the over-usage billing doesn't see this.

 

Setting the packages to unlimited in WHM is just plain stoopid and we'll loose out BIG TIME.

 

P.S. Why was this thread marked as [NOT A BUG], when it clearly is a bug??????

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated