Skip to content

feat(deposit): offer Apple Pay on qa builds only - #2608

Merged
mul53 merged 1 commit into
qafrom
claude/apple-pay-qa-only
Sep 29, 2026
Merged

mul53 merged 1 commit into
qafrom
claude/apple-pay-qa-only

Conversation

@mul53

@mul53 mul53 commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Gates the Apple Pay (Onramper) USD row and its Apple Pay chip behind isDevFeatureEnabled, so it shows on qa/preview builds and stays hidden in production. The gate is isApplePayEnabled() in DepositUsdOptions.tsx; delete it at launch.
  • One gate covers every caller: the wallet's cash list, the USD method chooser, and the card funding modals' USD step and chips.
  • Edge case: without Apple Pay, a Wirex cardholder outside the US has no bank rail and no Cash App, so USD has no method. The wallet's cash list now hides the USD row instead of opening an empty chooser. The card funding modals are Rain-only and always keep the bank rail, so they don't change.

Test plan

  • depositUsdOptions.test.tsx: the existing tests run with the flag on, and new tests cover production (row hidden, chip dropped, empty chips when USD has no method).
  • eslint and prettier are clean on the changed files.
  • On a QA build, Deposit → Cash → USD still lists Apple Pay.
  • Note: CardFundOptions.test.tsx already fails on qa because react-native-mmkv doesn't load under jest. This PR doesn't touch it.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Apple Pay (Onramper's widget) is still being tested, so gate its USD row
and chip behind isDevFeatureEnabled: shown on qa/preview, hidden in
production until launch.

Without Apple Pay, a Wirex cardholder outside the US has no USD method
at all, so the cash list hides its USD row rather than opening an empty
chooser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
solid-app Ignored Ignored Preview Sep 29, 2026 10:53pm UTC
solid-app-staging Ignored Ignored Preview Sep 29, 2026 10:53pm UTC

Request Review

@claude

claude Bot commented Sep 29, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@mul53
mul53 merged commit 83ea675 into qa Sep 29, 2026
6 checks passed
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