Feature #10633
closedUsage windows now follow the billing cycle
Subtasks
Related issues
Updated by sairam machavarapu 18 days ago
- Due date set to 08/25/2026
- % Done changed from 0 to 100
This was the most consequential correction in the release. Every usage counter — orders, SMS, email — was measuring against the calendar month, regardless of what the tenant was actually billed on. A yearly subscriber's allowance silently reset on the first of every month, meaning a yearly plan sold with an annual quota was in practice giving away twelve times what was intended.
Usage windows are now resolved from the plan's interval: monthly plans reset on the calendar month, yearly plans reset on the tenant's billing anniversary, and trial plans get a single allowance covering the whole trial rather than a recurring one. All three counters were migrated to the new window. The superadmin plan form now labels its limit fields to match — "Max SMS / Year" on a yearly plan, "Max SMS / 7 Days" on a trial — so the number being entered means what it appears to mean.