Jump to content

Dynamically calculate price by Bandwith tranfser in monthly


highvoltagez

Recommended Posts

Dear all

 

I'am a beginer in WHMCS.

I'm developing a Vitual Machine service

 

And Its pirce must dynamically calulate by total amount of usage transfer for each months

(per price 0.1$/1MB).

 

I want to create some packages: etc:

- a VM 20G - price 20$, Upper limit of the Monthly BW is 512MB... --> Max=40$

- a VM 20G - price 20$, Upper limit of the Monthly BW is 2GB... --> Max=60$

 

Example:

In a month, a user brought a VM 20$, He used 200MB BW (with price 0.1$/1MB)

==> Price = 20 + 200*0.1 = 40$

 

But, if he use greater than the Upper limit 512M, it will notify by mail and block service.

 

Please help me some questions..

 

1. How to implement with pricing by BW?

I must create a invoice on 29th of month.

How to synchronize actual data with WHMCS?

what is need for develop? an addon ?

 

2. Where is most storage of DB for usage BW?

Do i need to create a new DB?

 

Thanks so much

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