Subscription Promotion Eligibility and Gradual Rollout Consistency

    A promotion may look like a price tag, but it is really a state machine spanning accounts, billing, risk control, and content distribution. This article explains how to keep eligibility logic, rollout cadence, and public commitments consistent. It covers defining eligibility as a finite set of states, modeling multi-wave campaigns as versions instead of overriding switches, making gradual rollout and risk control explainable with reason codes and observable metrics, closing the low-tier-upgrade loophole with an eligibility snapshot, and treating public promises as API contracts with a fixed degradation order and test coverage.

    A promotion may look like a price tag, but it is really a state machine that spans accounts, billing, risk control, and content distribution. The phenomenon discussed here can be abstracted as follows: a campaign was publicly split into multiple waves, the first wave covered only paying users, and a later date was publicly promised for opening it to non-subscribers. After expiry, the banner and the discount disappeared at the same time; most new accounts still saw the original price, only a handful of accounts saw a limited-time offer, and the public promise was retracted with no unified explanation. For an engineering team, this is not a matter of PR wording but an inconsistency among three things: eligibility determination, rollout cadence, and public commitments.

    First, Define the System Semantics of “Seeing a Discount”

    When a user refreshes the subscription page, what actually determines the display is not marketing copy but a real-time eligibility calculation. It is advisable to converge the result into a finite set of states, so that the page, support scripts, and campaign configuration do not each tell a different story.

    • Invisible: the account is not in this campaign’s scope; the page shows only the standard price, with no countdown.
    • Visible but unclaimed: eligibility matched; show the discount, the deadline, and the applicable tier.
    • Claimed but unpaid: eligibility is locked for a short period, preventing concurrent orders from miscounting inventory or slots.
    • Expired: past the deadline, eligibility reclaimed, or a precondition no longer met.
    • Degradation notice: when the system cannot determine eligibility, clearly show “Unable to confirm campaign eligibility for now” instead of silently falling back to the original price.

    “New user” must have a computable definition, for example never having produced a paid subscription record, or the last payment being older than an agreed window. Do not lump the operator’s colloquial terms such as “brand-new account,” “old blank account,” and “once claimed a coupon that later expired” into the same condition. Each kind of history must map to an explicit predicate; otherwise the gradual rollout looks like a random lottery.

    The eligibility check can be written as a pure function for easy unit testing, rather than scattered across the frontend:

    1. eligible =
    2. account.active
    3. AND NOT account.paid_subscription_ever
    4. AND now BETWEEN campaign.new_user_start AND campaign.new_user_end
    5. AND risk_decision == allow
    6. AND cohort_bucket < campaign.rollout_percent

    Price, currency, and deadline come only from the effective version of the campaign configuration; the frontend must not hardcode “50% off” or “40% off.” The display copy is generated from an offer object returned by the backend, ensuring the same account sees the same amount and the same deadline across web, client, and billing preview.

    Make Multi-Wave Campaigns Versions, Not Two Mutually-Overriding Switches

    The most error-prone part of a multi-stage promotion is using a single global banner to mean “campaign in progress.” When the first stage ends, the banner is turned off; if the second stage’s audience rules are not yet in effect, users collectively see the original price and reasonably infer that the promise was broken.

    A more robust approach is to create an independent campaign version per wave:

    • Each wave has its own audience, discount, start and end time, applicable products, and excluded products.
    • Waves can be adjacent in time, but their eligibility calculations do not override each other. Ending an old wave only expires the old offer; it does not delete the new wave’s configuration.
    • Whether a product participates must be explicitly listed in the configuration. If the top tier does not participate, the API should return excluded_skus rather than relying on operators verbally patching it in.
    • Use absolute time with a timezone throughout. For cross-region launches, convert the display using the user’s billing timezone or account registration region, but compare deadlines using only the same set of UTC times, to avoid inconsistent interpretations of “that day.”

    The recommended release order is fixed: first write the not-yet-effective configuration and run a shadow calculation, then validate the hit rate with a small traffic slice, and finally switch the display at the scheduled time. Shadow calculation only records “who would be hit if it went live” and does not change prices. This lets you discover that the new-user hit rate is near zero before the promise date, rather than exposing it only when users refresh the page.

    Gradual Rollout and Risk Control Must Be Explainable

    Doing phased rollout and risk filtering for a promotion is reasonable, but if “a very few lucky accounts can see it while most brand-new accounts cannot” carries no reason code, it will be understood as the system breaking its promise. Risk control can reject abnormal registrations, bulk accounts, or payment risk, but the rejection result should go into an internal reason code, such as cohort_not_open, risk_hold, history_mismatch, or offer_expired. The user-facing copy should be short and truthful: not yet in this batch, temporarily not meeting this campaign’s conditions, or the campaign has ended. Do not cover all failure reasons with the same “stay tuned.”

    The rollout percentage should be observable. Core metrics should include at least:

    • Target audience size, actual exposure count, and hit rate.
    • Hit-rate differences bucketed by registration time, presence of historical orders, and region.
    • Conversion from exposure to order to successful payment.
    • Eligibility API error rate and degradation count.

    If you promise to “open to non-subscribers on a certain date,” the launch threshold must be written in advance: for example, the target audience hit rate reaches an agreed lower bound and the error rate stays below a threshold. If it is not met, automatically postpone and publish a unified explanation, rather than deleting the original public reply and continuing to answer unrelated questions. Deleting information cannot change the configuration version already in effect in the system; the audit log should retain who changed the audience, percentage, and copy, and when.

    Treat “Buy the Low Tier First to Trigger the High-Tier Discount” as a Bug

    If the campaign rule only says “existing paying users,” a path appears where a user opens the lowest tier for a short period and immediately upgrades to a high tier to grab the discount. This is not users breaking the rules; it is the rule lacking an eligibility point-in-time.

    Define the eligibility snapshot moment explicitly:

    • Use the subscription status at the moment the campaign announcement is published; low-tier subscriptions added afterward do not enter this wave.
    • Or set a minimum holding time; subscriptions shorter than that are not treated as “existing subscribers.”
    • Price upgrade orders separately; the discount applies only to the renewal or annual-payment scenarios listed in the announcement.
    • Re-validate at order time, not only at display time. If eligibility changes between display and charge, cancel the discount and prompt for re-confirmation; never silently charge at a different price.

    For concurrency, prevent the same account from locking the offer on multiple clients at once. A short-lived eligibility token can be used: issue a token at display, redeem it at payment, and release it on timeout. The token contains the campaign version, sku, price, and expiry; payment is allowed only if the server recomputes a consistent result.

    Public Commitments Are API Contracts

    Once an owner or an announcement writes down a date and an audience, it should be treated as an external contract and written back to the configuration center. It is recommended that the announcement publishing flow include machine validation: the date, audience, and discount cap in the copy must each map to a corresponding field in the configuration. If a configuration change would invalidate already-published copy, a correction notice must be generated first, and only then is the change allowed; changing only the page without changing the notice is not permitted.

    The degradation order during a failure or policy adjustment should be fixed:

    1. Stop new exposure; already-issued and unexpired tokens remain payable, to avoid a price jump at checkout.
    2. Change the page to an explicit campaign status, rather than leaving only the original price with no announcement.
    3. Internally, review the hit rate by reason code, confirming whether the cause is rollout not yet reached, a risk-control false positive, or configuration not published.
    4. Externally, explain the scope change with a single consistent wording; do not privately promise different discounts one by one.

    Tests should cover at least: non-subscriber accounts are invisible before the wave starts, visible by percentage after it starts, and invisible after it ends; historically paying accounts do not mistakenly enter the new-customer wave; a short-term low-tier opening cannot be upgraded to grab the previous wave’s discount; display and payment are consistent one minute before and after the timezone boundary; and the copy for a risk-control rejection differs from the copy for rollout-not-yet-open.

    Treat the promotion as a testable business feature rather than an ad-hoc price change, and only then can you avoid the fragmented experience of “announcement published, no campaign on the page, a few people happen to see it.” Eligibility, time, price, and explanation must all come from the same configuration version, and every original price or discount a user sees must correspond to an auditable reason.