Skip to content

fix(app): freeze the plan cards while the checkout handoff is pending - #25769

Merged
Git-on-my-level merged 3 commits into
mainfrom
lane/paywall-validation
Nov 19, 2026
Merged

Git-on-my-level merged 3 commits into
mainfrom
lane/paywall-validation

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What changed and why

The trial paywall's plan cards stayed tappable while the CTA's checkout request was in flight. Tapping the other card in that window redrew the trial terms for one plan while the captured plan's cart opened — a paywall reading 7 days free, then US$269.91/year followed by a monthly Stripe cart, which is the pair in Play's review evidence for the Android release.

The card row is now wrapped in IgnorePointer(ignoring: _locked), so the selection cannot change between the CTA press and the checkout settling. No visual, copy or variant change; the A/B-tested paywall is untouched.

Product invariants affected

none

How it was verified

  • flutter test test/widgets/trial_paywall_monthly_offer_test.dart with the repo-pinned Flutter 3.44.5: +14: All tests passed!
  • dart analyze on the changed page and test: clean.
  • dart format with Flutter 3.44.5: no changes.

Tests

app/test/widgets/trial_paywall_monthly_offer_test.dart — the plan cards are inert while the checkout request is in flight. It holds the session request open, taps the other card, and asserts the terms and the opened price stay on the captured plan. Without the IgnorePointer wrapper the tap changes the terms and the test fails.

UI evidence

UI-Evidence: none -- interaction guard only; no visual, copy or layout change.

Failure class (fixes)

Failure-Class: FC-subscription-price-presentment-drift

View guided diff Turn on auto-fix

Git-on-my-level and others added 3 commits November 19, 2026 01:07
…he monthly checkout

Google Play's second "Currency differences with prominent display price"
rejection paired the trial paywall's "7 days free, then US$269.91/year" with a
Stripe cart for US$29.99/month. This pins the direct path: from the default
Yearly selection, tapping Monthly updates the trial line to
"7 days free, then US$29.99/month" before any checkout, and the CTA opens the
Monthly card's own price. The pair in the evidence therefore cannot come from
one paywall state; it needs a capture before the Monthly tap or the
yearly-to-monthly fallback sheet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The CTA captures the selected price before the session request resolves, but
the plan cards stayed tappable. Tapping the other card in that window redrew
the trial terms for one plan while the captured plan's cart opened: a paywall
reading "7 days free, then US$269.91/year" followed by a monthly Stripe cart,
which is the pair in Play's review evidence.

Wrap the card row in IgnorePointer(ignoring: _locked) so the selection cannot
change between the CTA press and the checkout settling. No visual, copy or
variant change; the A/B-tested paywall is untouched.

The new widget test holds the session request open, taps the other card, and
asserts the terms and the opened price stay on the captured plan.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T08:43:45.722403Z d00038f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

@kodjima33 UI changes involving Git-on-my-level require your approval. Review the current diff, then comment /approve-ui d00038fdbea6c88994d7615660a719ad6e31c8df. Each new head needs a fresh approval. To withdraw it, comment /reject-ui <full head SHA>. Non-UI work and unrelated access are unaffected.

@Git-on-my-level

Copy link
Copy Markdown
Member Author

For the UI author approval: this diff is an interaction guard only.

  • app/lib/pages/paywall/trial_paywall_page.dart: the plan-card row is wrapped in IgnorePointer(ignoring: _locked) so the selection cannot change while the CTA's checkout request is in flight. No visual, copy, layout or variant change; the A/B-tested paywall is untouched.
  • app/test/widgets/trial_paywall_monthly_offer_test.dart: a regression test that holds the request open, taps the other card, and asserts the terms and the opened price stay on the captured plan.
  • app/changelog/unreleased/20261119-paywall-plan-handoff.json: {"kind": "none"}.

UI-Evidence: none -- interaction guard only; no visual, copy or layout change.

@Git-on-my-level

Copy link
Copy Markdown
Member Author

approve-ui d00038f

@Git-on-my-level

Copy link
Copy Markdown
Member Author

/approve-ui d00038f

@Git-on-my-level
Git-on-my-level merged commit 24dbe87 into main Nov 19, 2026
53 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/paywall-validation branch November 19, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant