KamoCRM

Derive entitlement mode through one shared, deterministic resolver

FeatureBillingService
Shipped
8 ஆகஸ்ட், 2026 அன்று 4:59 PM UTC
Author
Kamo
Commit
763a25f

TrialAdminService picked its trial subscription with findFirst() over an unordered list, so an org holding both a pending and an active trial could report either. The upcoming organization directory has to sort and filter on this state, and a query cannot reproduce a nondeterministic rule. The precedence now lives in **************** among live trials, active wins over pending wins over expired, and the active expiry reported is the latest one. status() keeps its exact response shape. First tests in this repo (11).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing