tkalfaoglu Posted May 4, 2016 Share Posted May 4, 2016 Hi there. For some hosting packages, I had an addon that said "Extra 1GB Disk Space". If the customer were to purchase that to his/her hosting, it should add extra space. I was implementing this manually -- if someone ordered this, I would change the quota of that user in the hosting server. However, charging overages causes headaches; the overage processor has no idea that a hosting package has an +1GB addon, hence still punishes users that overdo the disk usage. Any ideas how to proceed? Many thanks, -t 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 4, 2016 Share Posted May 4, 2016 I think the workaround would be to, instead of using a product addon, to use configurable options. http://docs.whmcs.com/Disk_Space_and_Bandwidth_Overage_Billing If you have configurable options named "Disk Space" and "Bandwidth", then these will override the limits set on the Other tab. These will then be used in the overages calculations. So for example if the soft disk limit was set to 10MB and the configurable option set to 20MB the client would only be charged for overage once they go above 20MB. otherwise, the calculation uses the base amount in the product. Overage billing allows you to bill based on the disk and/or bandwidth used for a given month over and above the base amount allowed with a package if you enabled the Configurable Options Upgrade checkbox, then the user will be able to upgrade/downgrade their limits themselves and be charged accordingly... though i'm unsure if it would actually increase the disk space assigned to the hosting account on the server. also be aware that addons are invoiced separately from the product; configurable options are invoiced at the same time as the product. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 5, 2016 WHMCS Support Manager Share Posted May 5, 2016 Hi, Brian is spot on the money here; a configurable option can be used to change the soft disk space limit. It you have the Configurable Package Addon in conjunction with cPanel or DirectAdmin, it will also increase the disk space quota. 0 Quote Link to comment Share on other sites More sharing options...
MattN Posted June 5, 2016 Share Posted June 5, 2016 Hi, I've read over the link that Brian posted - and while it makes sense, I see a bit of a problem. The Documentation notes say : If you have configurable options named "Disk Space" and "Bandwidth", then these will override the limits set on the Other tab. These will then be used in the overages calculations. So for example if the soft disk limit was set to 10MB and the configurable option set to 20MB the client would only be charged for overage once they go above 20MB. And while this is fine, what if you have a group of products (for example, shared hosting plans) that all use the same configurable options. And you configurable options are things like : Additional Disk Space * Add 1 Gb Disk Space * Add 5 Gb Disk Space Additional Traffic * Add 1 Gb/Month Traffic * Add 5 Gb/Month Traffic The issue here is that with the way the documentation reads, you would need to have a set of configurable options for EACH hosting plan, to allow it to increase the disk/bandwidth amounts correctly. ie: If hosting plan 1 has a disk limit of 1Gb, and you puchase and Additional 1Gb, your configurable Option would have the "Add 1Gb Disk space" as setting the disk space to 2Gb. but if you have a hosting plan 2 with a disk limit of 1.5Gb, and the user purchases the "Add 1Gb" it would then only increase the disk space from 1.5, to 2Gb - because of the limit set. So, the question is : Can we have the configuration options to "add to" and "remove from" the soft limit on the product, rather than setting arbitrary limits? for example - have the limit as a "+1Gb"... that way, if the user downgrades, and removes the additional disk space, they return to the original limits of the plan? 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.