Jump to content

Bandwidth and Disk oversubscription with custom module


GDR!

Recommended Posts

Hi,

 

My company is running a custom server module for WHMCS and we would like to bill customers for bandwidth and disk overusage. We were happy to see that version 4.1 has this built-in.

 

Sadly, not only WHMCS is closed source, it has no documentation. So maybe someone could help me with some questions?

 

There is no documented API on this, but I saw that a table called tblhosting probably holds bandwidth and disk usage. What do the columns called diskusage and bwusage keep? In the case of bandwidth, is it bandwidth used since begin of the month, since start of user's billing cycle, regdate? What are the units of these fields, megabytes? How often they should be updated - daily, monthly, doesn't matter?

Link to comment
Share on other sites

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