Can you support my scenario

Aleksey Telyshev's Avatar

Aleksey Telyshev

08 Aug, 2014 05:00 PM

HEllo,
Here is my scenario:
I have 3 plans
1.Free
2. Personal
3.Business
For personal plan I have limit 6 cameras. I charge $2 par camera inside plan mothly, another work if you have 2 cameras you should pay $4. In case you go above 6 I force you to switch plan to Business
In Business I offer 12 cameras, but I say, you should pay now $12 monhtly fee and $2.5 per each camera above 6
Ans so on

Now what I have here is:
I can make hard limit 6 cams included and monthly fee. Which is not good
I can make 0 included with overage. But then I cant control limit, I mean I like that your system throws 412 in case user hit the limit.
Only one way I see to implement is to have 2 items per camera item
First item will provide hard limit, I set 6 with no overage
Second item I set 0 but with overage and $2 price.
I can check first item first and if it doent throw exception proceed to second item.
It seems to be working, just makes more calls
Any other way to implement our logic ?
Regards
Aleksey

  1. 1 Posted by Jess Pendley on 11 Aug, 2014 05:00 PM

    Jess Pendley's Avatar

    Hi Aleksey --

    I think the best way to approach it, would be to configure your "Personal" plan like the example here, where there is a hard limit of 6 items and an overage of 0.

    For the "Business" plan, I would configure it like this example, where you include 6 items and offer an overage of 6 more at an additional price.

    Let me know if you need anything else.

  2. Jess Pendley closed this discussion on 11 Aug, 2014 05:00 PM.

  3. Aleksey Telyshev re-opened this discussion on 11 Aug, 2014 05:55 PM

  4. 2 Posted by Aleksey Telyshe... on 11 Aug, 2014 05:55 PM

    Aleksey Telyshev's Avatar

    Hello,

    I guess it is still doesnt answer my question. Your scenario considet
    that Personal plan has 6 Cameras and I charge 6*2 as part of plan. And
    cant go over the limit. But my plan logis is:

    User can have 0-6 cameras and system should charge him on actual number
    cameras configured at the moment but prevent him go above hard limit
    which is 6.

    Only solution I see is to configure 2 items, for instance

    camera_hard: hard limit 6 with total monthly fee 0

    camera_soft: soft limit 0 and $2 per overage

    I have to change camera_hard and change camera _soft in case camera_hard
    didnt throw an exception.

    It should work but just not atomic which slightly shaky.

    Thanks

    Aleksey

  5. 3 Posted by Aleksey Telyshe... on 12 Aug, 2014 07:47 PM

    Aleksey Telyshev's Avatar

    Hello,

    Still want to get back to my question, I dont think your scenario covers
    my use case. I need way to prevent overage after certain number. And I
    dont see anything like this built in in your system. Is it just gap in
    your use cases ?

    So what I have is this

    1. Free
    2. Personal
    3. Business
    For personal plan I have limit 6 cameras. I charge $2 par camera
    CONFIGURED camera monthly, another word if you have 2 cameras you should
    pay $4. In case you go above 6 I force you to switch plan to Business
    In Business I offer 12 cameras, but I say, you should pay now $12
    monthly fee and $2.5 per each camera above 6
    Ans so on

    Now what I have here is:
    I can make hard limit 6 cams included and monthly fee. Which is not good

    I can make 0 included with overage. But then I cant control limit, I
    mean I like that your system throws 412 in case user hit the limit.
    Only one way I see to implement is to have 2 items per camera item
    First item will provide hard limit, I set 6 with no overage
    Second item I set 0 but with overage and $2 price.
    I can check first item first and if it doent throw exception proceed to
    second item.
    It seems to be working, just makes more calls
    Any other way to implement our logic ?
    Regards
    Aleksey

  6. 4 Posted by Jess Pendley on 12 Aug, 2014 07:54 PM

    Jess Pendley's Avatar

    Hi Aleksey --

    I'm sorry if I'm not understanding what you're asking, but if you do not want your customers to go over the amount of the item included then you would set the overage to 0. Anything over that would be the price that they pay for each additional item.

    From the docs:

    Overage Amount: The price of each quantity over the Quantity Included. If set to zero (0), no amount over the Quantity Included setting is available on this plan. May be defined up to 4 decimal places. May be negative.

  7. 5 Posted by Aleksey Telyshe... on 12 Aug, 2014 08:02 PM

    Aleksey Telyshev's Avatar

    Lets take a look at my plan:

    Billing Information

    Monthly Amount

    Charge Code

    Does this plan have a setup fee? YesNo
    Setup Charge Amount

    Setup Charge Code

    I have 0 monthly, right ?

    But I have this:

    Tracked Items

    NAME
    CODE
    QUANTITY INCLUDED
    OVERAGE AMOUNT
    RESET MONTHLY
     

    users
    users

    cameras
    cameras

    sites
    sites

    So it is hard limit, correct ? User cant have more then 6 cameras.

    But user is not charged !

    To charge user I have set monthly amount into 12 (but in this case I
    overcharge user in case he has 2 cameras only)

    Or I have to say for camera quantity included = 0 and overage amount =
    2.0

    But then your system will not prevent user create 7 cameras.

    I want to have max cameras = 6 and quantity included 0 and overage
    amount =2.0

    What yo dont have, you cant prevent user go above some number in case
    Overage selected.

    Hope it is clear.

    Regards

    ALeksey

  8. Support Staff 6 Posted by Marc Guyer on 13 Aug, 2014 04:10 PM

    Marc Guyer's Avatar

    Hi Aleksey -- Items can either be a soft limit or a hard limit but not both. You could either enforce the hard limit in your app or use a second item as you suggest (but you're correct that it wouldn't be atomic).

  9. 7 Posted by Aleksey Telyshe... on 13 Aug, 2014 04:22 PM

    Aleksey Telyshev's Avatar

    Hello Mark,

    Thanks for the answer. I am going to use this workaround. BTW is there
    any chance that my use case could be considered as valid and you
    implement support for it ? Something like "Optional cap on soft limit"

    Thanks

    Aleksey

  10. 8 Posted by Jess Pendley on 13 Aug, 2014 06:17 PM

    Jess Pendley's Avatar

    Hi Aleksey --

    I'll pass your request and use scenario on to our development team. If you need anything else, please don't hesitate to ask.

    Thanks!

  11. Jess Pendley closed this discussion on 13 Aug, 2014 06:17 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM