Promotional Rollout and Eligibility Logic for New-User Discounts: A Technical Breakdown

    This article analyzes why new users often see full price after a promised promotion goes live, and how subscription businesses can fix it. It breaks the failure into three layers—eligibility definition, gradual rollout, and price fulfillment—then explains common root causes such as conflicting definitions of a "new user," canary bucketing mistaken for a full launch, and inconsistent price resolution across marketing, checkout, and client caches. It presents a practical design for a fulfillable promotion eligibility service: versioned rule snapshots, materialized eligibility decisions, deterministic hash-based bucketing, balanced anti-abuse controls, and observability with shadow replay. It also covers commitment governance and a pre-launch checklist to keep public promises verifiable, explainable, and deliverable.

    1. Framing the Incident: A Typical “Promise Not Fulfilled” Failure

    During a Black Friday promotion, an overseas AI coding and large-model subscription service ran into a familiar scene. An official replied under the promotion announcement that users who had not yet subscribed could get a discount on the main sale day. When that day arrived, however, most new users refreshed the subscription page and saw only the regular price, while a small number of accounts did see a new-customer discount with a deadline attached. The highly upvoted reply was later deleted without explanation, and community sentiment escalated quickly.

    Setting the specific brand aside, this is a very common combined engineering and operations problem in subscription businesses: marketing has already made a public promise, but eligibility evaluation and gradual rollout are not aligned. The technical nature of the problem breaks down into three layers:

    1. Eligibility layer: what counts as a “new user,” who decides it, when it is decided, and where the result is stored;
    2. Rollout and canary layer: which accounts can see the offer, along what dimensions it is split, and how the percentage is ramped;
    3. Fulfillment and communication layer: whether the price a user sees can actually be ordered, whether there is a fallback on failure, and whether the external messaging is consistent.

    2. Root-Cause Breakdown: Why “the Announcement Is Live but Users Can’t See It”

    2.1 Multiple Versions of the Eligibility Definition

    In business terms, “new user” has at least four interpretations: never registered, never paid, never claimed any benefit, and currently has no active subscription. Marketing copy usually means the second one, while risk-control systems often judge by the first, or even by stricter device and payment dimensions. When the two semantics are not unified, you inevitably get “I’m clearly a new user, so why can’t I see it.”

    The recommendation is to converge the eligibility definition into a single executable rule chain and version it:

    1. promotion:
    2. id: black_friday_new_user
    3. eligibility:
    4. all_of:
    5. - not(has_ever_paid_subscription)
    6. - not(has_active_entitlement)
    7. - account_age_days >= 7 # suppress bulk fake accounts
    8. any_of:
    9. - region in [A, B, C]
    10. price_override:
    11. plan: pro_annual
    12. list_price: 199.99
    13. promo_price: 99.99
    14. window:
    15. start: 2025-11-27T00:00:00Z
    16. end: 2025-12-04T23:59:59Z

    The key point is that eligibility keeps only one definition, and the marketing page, checkout page, and client cache all read the same rule snapshot. Each end is forbidden from writing its own separate judgment.

    2.2 Gradual Rollout Mistaken for “Live for Everyone”

    A few accounts seeing the offer while most do not, with different deadlines on the offer, is a classic signature of canary bucketing rather than a random failure. Common split dimensions include account hash bucketing, region, signup channel, client version, and historical entitlement state. When operations believes it is “fully rolled out” while engineering is still at a 5% bucket, the incident happens.

    A more robust approach is to make the rollout an explicit, queryable state machine that can answer at any moment “how far is it rolled out, and along what dimension”:

    1. draft -> canary(1%) -> ramp(10%) -> ramp(50%) -> full -> closed

    Every transition is written to a configuration change record and checked for consistency against the announcement publish time: when the announcement states “available to everyone,” the rollout state must be full, otherwise the release is blocked.

    2.3 Inconsistent Eligibility and Price-Display Paths

    A typical path is: the marketing page reads one cache, the checkout page reads another real-time interface, and the client has a local fallback price. When the three results differ, users see “discount on the homepage, full price at checkout.” This must converge to a single price decision entry point:

    1. def resolve_price(account_id: str, plan: str, snapshot_id: str) -> PriceDecision:
    2. # 1) Read the immutable rule snapshot to keep results stable within a session
    3. rule = rule_store.get(snapshot_id)
    4. # 2) Eligibility depends only on the snapshot + account facts, no randomness
    5. if not rule.eligibility.matches(account_facts(account_id)):
    6. return PriceDecision(list_price=rule.list_price, reason="INELIGIBLE")
    7. # 3) Idempotency key avoids duplicate orders and duplicate coupon issuance
    8. return PriceDecision(
    9. promo_price=rule.promo_price,
    10. reason="ELIGIBLE",
    11. idempotency_key=f"{account_id}:{rule.id}"
    12. )

    2.4 Missing Eligibility Pre-Check and Fallback Messaging

    When users are rejected, they see only the regular price and cannot distinguish “I’m not eligible,” “the campaign hasn’t started,” “the canary doesn’t cover me,” or “a system error occurred.” These four states must return different error codes and different messaging, and a pre-check interface should be provided so the client can proactively query during the campaign, reducing blind refreshing and support tickets.

    3. The Right Approach: Designing a Fulfillable Promotion Eligibility Service

    3.1 Separate Rules from Execution

    Make eligibility rules configuration rather than hard-coded logic, put the configuration under version control, and require review for changes; the execution side only evaluates rules. This way, adjusting thresholds on the operations side does not require a release, and you avoid “changed the copy but forgot to change the code.”

    3.2 Materialize Decisions to Avoid Flapping

    Eligibility evaluation should be precomputed asynchronously and persisted, with results batch-generated before the campaign starts and only read during the campaign. The benefits are threefold: complex evaluation logic won’t slow down the checkout interface; the same account gets a stable result throughout the campaign; and when disputes arise, the basis for the decision at that time can be traced back.

    1. create table promo_eligibility (
    2. account_id text not null,
    3. promotion_id text not null,
    4. bucket int not null, -- 0..99 canary bucket
    5. eligible bool not null,
    6. reason_code text not null,
    7. decided_at timestamp not null,
    8. snapshot_id text not null,
    9. primary key (account_id, promotion_id)
    10. );

    3.3 Use Deterministic Hashing for Rollout, Eliminating the “Black Magic”

    Bucketing must be derived from a stable key (such as an account identifier) plus a salt via hashing, ensuring the same account gets a consistent result across multiple visits, and turning “why don’t I have it” into an explainable, reproducible conclusion. Avoid unexplainable methods such as reverse signup-time ordering or random numbers.

    3.4 Balancing Risk Control and Marketing Goals

    For new-customer offers, abuse risk concentrates on bulk registration and payment-instrument reuse. A reasonable combination is: a minimum account age, behavioral feature scoring, payment-credential uniqueness constraints, and a per-account/per-device limit. It must be emphasized that tightening risk control directly lowers the hit rate of the “new user” definition, so risk-control thresholds must be reviewed in sync with the marketing promise and cannot operate in isolation.

    3.5 Observability and Drills

    Before the campaign, replay the checkout path with shadow traffic to verify three things: the eligibility hit rate matches expectations, price decisions show no divergence, and the error-code distribution is normal. During the campaign, monitor these metrics and drill down by bucket; the moment a bucket’s hit rate looks abnormal, pause the rollout immediately rather than waiting for support tickets.

    1. promo_eligible_ratio{bucket="canary"} # hit rate
    2. promo_price_mismatch_total # count of display vs. checkout price mismatches
    3. promo_decision_latency_ms # evaluation latency
    4. promo_claim_failure_total{reason=...} # failure reason distribution

    4. Governing Consistency of External Commitments

    Deleting a promise-making reply does not eliminate the incident; it only escalates a product problem into a trust problem. There are three executable rules:

    • Set a “commitment–rollout” validation gate before publishing an announcement; claiming full availability requires being in the full state;
    • Avoid absolute time commitments in external copy; instead say “opens in batches during the campaign; check eligibility on the subscription page”;
    • When a deviation occurs, first give a status explanation and expected timing, then provide targeted compensation to affected users, rather than handling it silently.

    5. A Reusable General Cloud Architecture If You Build This Yourself

    The capabilities above have no special barrier on a general cloud platform and can be assembled from ordinary categories: put rules and snapshots in a configuration management capability; store eligibility results in a database and add read-only replicas to handle high-concurrency reads during the campaign; decouple evaluation and coupon issuance asynchronously through a message queue to ensure peak shaving and retries; have the campaign page and checkout page share the same API gateway; cover the full path with logging and monitoring/alerting, and combine load testing with canary release capabilities for rollout control. Baidu AI Cloud offers corresponding product forms in these general categories and can be implemented with the same layering; the core remains “single rule source + materialized decisions + explicit rollout.”

    6. Pre-Launch Checklist

    1. Is the eligibility definition in only one place, signed off by marketing, checkout, and risk control;
    2. Are the canary dimensions and current percentage queryable, and consistent with the announcement;
    3. Do the display price and checkout price go through the same decision entry point, and is there a mismatch alert;
    4. Do rejection scenarios distinguish the four reasons and give clear messaging plus an eligibility pre-check entry;
    5. Are ordering and coupon issuance idempotent, and are repeated requests safe;
    6. Has shadow replay and load testing been completed, and does the hit rate meet the target;
    7. Are a deviation-explanation template and a targeted compensation plan prepared.

    The technical difficulty of a promotion campaign was never “how much of a discount,” but making the promise verifiable, explainable, and fulfillable within the system. Only by making eligibility evaluation a deterministic, observable service tightly bound to rollout state can you avoid the next “empty-handed on the main day.”