KillBill usage prices change over catalog versions

112 views
Skip to first unread message

gunb...@gmail.com

unread,
Oct 24, 2018, 12:46:19 PM10/24/18
to Kill Bill users mailing-list
Hello!
I'm trying to create a usage price history in KillBill. So I'm rolling time back and creating three catalogs for 2018-01-01, 2018-02-01, 2018-03-01.

Each of those catalogs have different usage price for the same plan.

And also second and third have an effectiveDateForExistingSubscriptions overwritten with corresponding dates 2018-02-01 and 2018-03-01.

So I'm expecting the usage sent on period (2018-01-01 - 2018-01-31) will have it's price of first catalog. And usage sent on period (2018-02-01 - 2018-02-28) will use price of second catalog. And all after 2018-03-01 will use price of last catalog.

But I see there is constant price of first catalog is used for all usages.

Here is a plan part of my first catalog:

<plan name="shotgun-awesome">
<product>Shotgun</product>
<finalPhase type="EVERGREEN">
<duration>
<unit>UNLIMITED</unit>
</duration>
<usages>
<usage name="usage_Shotgun" billingMode="IN_ARREAR" usageType="CONSUMABLE">
<billingPeriod>MONTHLY</billingPeriod>
<tiers>
<tier>
<blocks>
<tieredBlock>
<unit>shells</unit>
<size>1.0</size>
<prices>
<price>
<currency>EUR</currency>
<value>1</value>
</price>
</prices>
<max>1.0E9</max>
</tieredBlock>
</blocks>
</tier>
</tiers>
</usage>
</usages>
</finalPhase>
</plan>

Other are just the same unless have injected:

<effectiveDateForExistingSubscriptions>2011-02-01T00:00:00+00:00</effectiveDateForExistingSubscriptions>
<effectiveDateForExistingSubscriptions>2011-03-01T00:00:00+00:00</effectiveDateForExistingSubscriptions>

and changes values eg:

<value>2</value>
<value>3</value>

What could be wrong? Is KillBill even able to work that way?
I have 0.18 btw.

Thanks!

Matt Magoffin

unread,
Jul 1, 2020, 5:10:27 AM7/1/20
to Kill Bill users mailing-list
Hello,

I realize this is an old post, but I have just discovered the same thing in my Killbill system: when invoicing for usage after the usage tiers change in updated catalog versions, the invoiced prices reflect the older catalog, not the updated one. I was wondering, did you find a solution to this issue?

Kind regards,
Matt

stephane brossier

unread,
Jul 1, 2020, 4:48:41 PM7/1/20
to Matt Magoffin, Kill Bill users mailing-list
If you are on 0.20.x you need to upgrade to 0.22.x (such issues were addressed).


--
You received this message because you are subscribed to the Google Groups "Kill Bill users mailing-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to killbilling-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/killbilling-users/7f119b1c-7739-4709-85c8-f28c7e9162d4n%40googlegroups.com.

Matt Magoffin

unread,
Jul 1, 2020, 4:58:41 PM7/1/20
to stephane brossier, Kill Bill users mailing-list
Ah thanks for that clarification. I thought that was the case, so I’m working on an upgrade plan now.

Cheers,
Matt

gunb...@gmail.com

unread,
Jul 2, 2020, 2:59:36 AM7/2/20
to Kill Bill users mailing-list
Hey Matt.

Our company decided to stop using KillBill due to a lot of issues. We are developing our own billing.
Regards!


среда, 1 июля 2020 г., 12:10:27 UTC+3 пользователь Matt Magoffin написал:
Reply all
Reply to author
Forward
0 new messages