--
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/92d5b876-347c-413f-acd1-5cefe746a5d7n%40googlegroups.com.
Is there any possibility to just pause the subscription entitilement and billing like it is done by overdue policy with proration right after full invoice payment (if need)?
--суббота, 4 июня 2022 г. в 02:25:41 UTC+3, step...@kill-bill.org:On Fri, Jun 3, 2022 at 8:56 AM Hackness Dev <priz...@gmail.com> wrote:Hi, I would like to ask how to properly handle per subscription overdue policy.Target: User can get any subscription and access its entitlement immediatelly. I expect the user will pay within 7 days, if it doesn't happen I block this specific subscription for that user.Problem: As I understood, KillBill supports out-of-the-box only the per-account overdue blocking, so, I came to the blocking states.I send PAUSE_ENTITLEMENT blocking state to that subscription:{
"stateName": "PAUSE_ENTITLEMENT",
"service": "kb-swagger",
"isBlockChange": true,
"isBlockEntitlement": true,
"isBlockBilling": true
}Everything works as intended except KillBill makes proration invoice when I block billing to get charge only for 7 days usage. How can I keep full invoice amount in that case? Or is there any better way to achieve my target?The reason for the pro-ration is because you set the flag isBlockBilling=true; if you need two different dates, one for stopping the entitlement early (7 days after not paying) and yet avoid pro-ration, you need to create 2 blocking states, one for entitlement (isBlockBilling=false) and one for stopping the subscription (at the end of the period with isBlockBilling=true); alternatively for the second one, you could also cancel the subscription EOT.--
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/92d5b876-347c-413f-acd1-5cefe746a5d7n%40googlegroups.com.
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/df770ca6-1253-44fc-963a-10b62c696617n%40googlegroups.com.