Repository navigation
fix(billing): show one unambiguous USD price from paywall to checkout (Play currency policy) - #23852
Merged
Merged
Conversation
Failure-Class: FC-subscription-price-presentment-drift
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Git-on-my-level
added a commit
that referenced
this pull request
Oct 28, 2026
… refuses auto-send after 1504) (#23874) ## What changed and why Codemagic `android-internal-auto` builds on 2026-10-28 at 03:18Z, 05:55Z, and 06:24Z all uploaded their Android bundles successfully, then failed at Publishing with: “Setting release for Google Play track internal failed. Changes cannot be sent for review automatically. Please set the query parameter changesNotSentForReview to true.” The previous Play 1504 policy rejection was a currency mismatch fixed in #23852. These new Publishing failures show Play again requires committed changes to be held for an explicit Console review submission. This change enables `CHANGES_NOT_SENT_FOR_REVIEW`, adds Codemagic’s `changes_not_sent_for_review: true` option to both Android Play publishing blocks, and updates the workflow contract fixture and tests. Held changes require the Play Console review submission; while they are held, the daily exposure ladder stays parked and the rollout brake follows the shared flag. ## Product invariants affected These contracts remain satisfied by the Android-only Play review-submission change: INV-AUTH-1 (desktop Firebase session truth), INV-BETA-1 (separate macOS Beta identity), and INV-DATA-1 (production-family Firebase/Firestore authority for Play Internal). ## How it was verified - `scripts/run-release-process-guards.sh` — passed. - `scripts/run-release-process-guard-tests.sh` — 98 passed. - `make preflight` — passed all 48 checks. - No Codemagic build or Play API call was triggered. ## Tests - `app/scripts/mobile_store_promote_test.py` — 31 passed; verifies default held mode and Play commit parameters. - `app/scripts/mobile_daily_train_test.py` — 94 passed; verifies the exposure ladder parks in held mode. - `backend/test.sh` selecting `tests/unit/test_mobile_rollout_brake.py` — 25 passed; verifies brake commits follow the shared flag. ## UI evidence UI-Evidence: none -- this is a Play publishing configuration change with no product UI edits. ## Human step After the 13:15Z Codemagic build successfully commits its changes to Play, David opens Play Console → Publishing overview and presses **Send changes for review**. Use `data/run-2026-10-12-subscription-overhaul/reports/play-resubmit-steps.md` for the release and version-code checks. Its earlier instruction to omit `changesNotSentForReview` is superseded by the 2026-10-28 Publishing failures above. ## Rollback If Play rejects the parameter again, set `CHANGES_NOT_SENT_FOR_REVIEW = False`, remove `changes_not_sent_for_review` from both Codemagic Android publishing blocks, and regenerate the Codemagic workflow contract fixture digests. ## Failure class (fixes) Failure-Class: FC-play-track-promotion-omits-review-hold <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/23874?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/23874?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F23874&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Android subscription flow could show a bare dollar symbol, omit the post-trial charge, or use a different formatter from Checkout. This change formats the original catalog amount as US$29.99 (fixture example) in every locale and keeps the exact selected price ID through checkout. Annual offers prominently show the full annual charge. No local prices, currency_options, Stripe catalog changes, account changes, entitlement changes, merge or deployment are included.
The previous backend-only fix #23604 disabled Adaptive Pricing. It did not change native/web symbols, backend price_string consumption, trial disclosure, retention copy, or explicitly pin multi-currency Price selection. Adaptive Pricing remains disabled; the session now also sets the selected Price’s original currency and an explicit USD submit notice.
Purchase-surface audit
Line references are in this PR. Catalog unit_amount/amount_minor and currency are price authority; localized copy contains placeholders, never embedded currency symbols.
Hypotheses and policy limit
Stripe manual currency selection can select presentment independently of Adaptive Pricing; explicitly setting session currency overrides that selection. locale=auto follows browser language. Stripe controls glyphs, so a real cart may use US$, a dollar glyph with USD, or localized USD wording; its amount/currency must match. Hosted-cart visual verification is a release acceptance step, not established by mocked session assertions.
Compatibility and rollout
Validation
python3 app/scripts/l10n.py check) reruns flutter gen-l10n and passes: 49 locales, 4298 keys. Strict ICU audit: all five message keys changed by this PR match English branches/placeholders exactly in every locale; zero newly introduced full-catalog mismatches. The full scan also identifies 184 pre-existing differences across six unrelated keys. Bare-dollar-before-placeholder scan: zero matches across all ARB values. Creator payout threshold copy is unchanged.Product invariants affected
none
Failure-Class: new