Subscription Promotion Eligibility: Canary Rollout and Consistency Design
This article explains how to treat a subscription promotion as a versioned eligibility decision rather than marketing copy. It covers modeling offers as structured state, driving phased rollouts from explicit stage configuration, keeping eligibility rules explainable while canary release controls only the rollout speed, aligning public commitments with system state through immutable events, and handling observability, caching, failure defaults, acceptance tests, and rollback. The goal is a single reproducible decision shared by the pricing page, checkout, notifications, and support tooling.
A promotion is not a poster in engineering terms. It is a set of time-bounded eligibility checks. When a user reloads the subscription page, the system does not need to answer “has the campaign been announced?” It needs to answer: does this account, at this moment, in this region, in this subscription state, match a discount rule that is still valid? The page price, in-app announcements, support scripts, and backend configuration must all come from the same decision. Otherwise you get the familiar failure: a few users see the discount, most see list price, and the public statement contradicts the system.
Model the Offer as State, Not Copy
An executable offer needs at least these fields: campaign identifier, applicable products (for example entry tier, pro tier, annual or monthly billing), price or discount calculation method, start and end time, audience conditions, canary percentage or allowlist, mutual exclusion rules, and a version number for the display copy. The decision result should be a structured object, not an ad-hoc marketing sentence assembled at render time. A sketch of the shape:
OfferDecision {eligible: boolreason_code: string // not subscribed, already a paying user, canary not hit, campaign ended, etc.price_plan_id: stringwindow: [start, end]rule_version: string}
The subscription page, the checkout API, and the notification service all consume only this decision. The copy layer may degrade to “no promotion available right now,” but it must never show a discounted price when the decision is ineligible. Reason codes should be explainable internally and groupable externally: tell the user only “this account is not in scope for the current campaign,” while keeping the specific reason available to operations and on-call staff so they can tell whether the rule was written wrong, the canary was never ramped, or the account state simply does not qualify.
Make Phased Rollout Explicit Stages, Not Verbal Agreements
A common approach for a large sale is to serve existing paying subscribers first, then open to non-subscribers. That sequencing reduces sudden billing changes and support spikes, but the stages must live in configuration, not in a reply from the campaign owner. Drive them from a stage table:
- Stage A: existing paid subscriptions only, and only for plans in the set allowed to upgrade or renew.
- Stage B: accounts that have never had a paid subscription, subject to basic risk checks.
- Stage C: optional top-up coverage for accounts that failed to claim, whose eligibility expired, or that missed the canary.
- Each stage has its own start and end time, traffic percentage, and circuit-breaker condition.
Store times in a single timezone and convert only for display. The boundaries between days are where things break: the previous stage’s banner goes down on schedule, the next stage’s rule was never published, and users see a blank page or list price on the actual campaign day. The release checklist should require “retire old rule” and “activate new rule” to switch atomically inside one change window, or else define the default display for the intermediate state explicitly (no discount, no promise that cannot be honored).
Non-subscribers should not be nudged to buy the lowest tier in order to “become an existing user.” If the business genuinely allows “subscribe first, then upgrade for the discount,” that path must be a formal rule: when eligibility is recomputed after purchase, how long the cache stays stale, and which plans are mutually exclusive all belong in the same decision, rather than relying on steps circulating in a community thread. If the cache has not expired, the user buys and still sees list price, and support cannot distinguish a rule that disallows the discount from a stale decision being read.
Eligibility Must Be Explainable, and the Canary Must Not Become a Black Box
New versus returning customer is not the only dimension. Other common conditions include account verification or business verification status, whether the account has previously claimed a similar coupon, whether it is in arrears or on a trial, region and settlement currency, whether the organization already has seats, and whether the risk score exceeds a threshold. These conditions should be composable and should return a stable reason_code, so you never end up with “two new accounts, completely different outcomes” and no record of why.
Canary release is appropriate for controlling ramp speed and watching payment success rate. It is not appropriate for quietly changing eligibility that has already been promised publicly. If the announcement says “starting on X, all non-subscribers can participate” while the system lets through a tiny fraction, the external messaging has split from reality. The safer approach:
- Use the same audience definition for the public scope and the rule scope; the canary only adjusts ramp speed, and the creative states that access is rolling out in batches.
- Track allowlist, blocklist, and risk rejections separately, and never disguise a risk rejection as “the campaign has not started yet.”
- Return a clear reason to users who miss the canary, plus the expected next evaluation time or a common cutoff date, instead of making them refresh repeatedly.
- Make rule version changes replayable: given an account, a time, and a version, you can reproduce the eligible flag and the price from that moment.
Risk controls may reject anomalous registrations, bulk account farming, or accounts with excessive payment risk, but threshold changes should leave an audit log. When eligibility is tightened mid-campaign, the help center and the support script must be updated at the same time, otherwise the front line can only fall back on “it’s a system issue.”
Commitments, Edits, and System State Must Line Up
Once a public commitment is made, treat it as part of the configuration: posts, emails, and in-product announcements each have versions, and it must be traceable which rule version each one cites. If inventory, a payment channel, or compliance reasons later make fulfillment impossible, the correct action is to publish a correction, freeze new exposure, and retain the original commitment record, not to delete a single reply and leave the rest of the discussion standing. Deleting does not change expectations that have already spread; it only makes the original claim unverifiable.
Architecturally, make the “externally visible commitment” an immutable event: publish time, audience, rule version, operator. Retiring a rule or retracting copy creates a new event and does not overwrite the old one. On campaign day, on-call staff should be able to answer three questions: what rule version is currently in effect; are non-subscribers in the audience; and if not, is the reason that the window has not opened, the canary is not full, or the rule was cancelled. If those three questions cannot be answered, do not keep publishing “stay tuned” copy that cannot be honored.
Observability, Caching, and Failure Modes
The eligibility endpoint is a read-heavy, write-light path, but during a campaign switch, writing configuration and invalidating caches must be reliable. Monitor at least:
- The share of each reason_code, plus hit rate split by new customer, returning customer, and region.
- The number of times the displayed price on the subscription page disagrees with the price computed at order time.
- Cache hit rate and forced-refresh success rate after a rule publish.
- Correlation between payment creation failures, discount redemption failures, and support contacts reporting “I can’t see the promotion.”
Cache keys should include account, product, and rule version, not just the account with a boolean “has promotion.” While the version is unchanged, caching for a few minutes is fine; on a version switch, invalidate actively, or put the version number in the key so old entries expire naturally. If edge nodes cache page HTML separately, that cache must also follow the rule version, otherwise the origin already returns list price while the edge keeps serving a discount banner.
Write the failure policy down in advance. If the rule service times out, do not default to the maximum discount, and do not show a price that may not be orderable; the safe default is list price with a marker that promotion information is temporarily unavailable. If a cached result must be shown, cap the cache age and treat the server-side final calculation at checkout as authoritative, with the page price presented only as an estimate.
Acceptance and Rollback Checklist
Before launch, cover the main paths with fixed account fixtures, not just with operations staff’s own accounts:
- A clean account with no payment history is ineligible in Stage A and eligible in Stage B according to the canary percentage.
- A paying account does not accidentally get the new-customer price in Stage B unless the rule explicitly allows upgrades.
- A few minutes on either side of a stage boundary, price, banner, and reason_code all switch together.
- After claiming then cancelling, after a failed payment, and after the discount expires, re-entering the page shows the correct state.
- The decision seen in the support lookup tool matches the user’s page and exposes the rule version.
Rollback should not stop at hiding the front-end banner. Disable the rule, invalidate caches, withdraw creative that is still running, and publish a single cutoff statement. If a small number of accounts already paid at the discounted price, a separate fulfillment policy is needed: completed orders honor the transacted price, unfinished sessions are repriced, so the same account does not end up with two prices both counted as success.
How This Connects to Cloud Subscription Capabilities
When an enterprise packages model calls, storage, or collaboration seats as a subscription, promotion eligibility normally belongs to the billing and entitlement layer, not inside one model console. When evaluating subscription and entitlement capabilities on a cloud platform such as Baidu AI Cloud, treat these as acceptance criteria: whether eligibility is queryable, whether campaign windows are configurable, whether price is settled server-side, and whether changes are auditable. Do not assume that what the page shows equals the final bill. The general pattern: products and price plans are managed by the billing catalog, marketing rules only reference the plan identifier and add a time window and an audience; object storage, message queues, or logging services can carry audit and notification load, but each should not implement its own contradictory discount logic.
If a campaign must apply per organization rather than per individual account, the decision key should be the billing entity. Individual members seeing a discount while the organization bill is still charged at list price is the classic symptom of an identity model that disagrees with the billing entity. Separate “who can see it” from “who can place the order”: visibility can be ramped, but ordering must re-check eligibility and quota.
Summary
When a user asks “did the new-customer discount start?”, the engineering answer should be a reproducible eligibility decision, not whether an operations post is still up. Express stages, audience, canary, and risk control as versioned rules; let display, checkout, and support share one decision; and treat public commitments as events that cannot be casually rewritten. That is what keeps campaign day from turning into a scene where some users hit the discount, most see list price, and nobody can explain the gap. Rules can be ramped in batches, but the ramped scope must match what has already been said. When that is not achievable, issue a clear correction and roll back exposure instead of leaving users to refresh and hope.
