Skip to content

Wallet - User back to select the type of bank account after adding one #82610

Closed

Description

@jponikarchuk

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.3.20-2
Reproducible in staging?: Yes
Reproducible in production?: N/A - new feature, doesn't exist in prod
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #68134 https://test-management.browserstack.com/projects/2219752/folder/13176692/test-cases/41236749
Email or phone of affected tester (no customers): gatantm+6216@gmail.com
Issue reported by: Applause Internal Team
Bug source: Regression TC Execution
Device used: macOS 26 Safari, iOS 16.7
App Component: User Settings

Action Performed:

  1. Launch expensify logged in and create a workspace
  2. Tap on Account
  3. Tap on Wallet and Add bank account
  4. Tap on Get reimbursed
  5. Select India and tap Next
  6. Add all necessary info and Next
  7. Select Savings and tap next
  8. Add name and address on the bank details and account holder details screens
  9. Accept the terms and confirm
  10. Select Continue

Expected Result:

The RHP closes (web), and you land on the wallet (mobile), where your newly added bank account is shown in the wallet

Actual Result:

User is back to "What do you want to do with your bank account?" screen

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCash
    Bug
    on Feb 17, 2026
  2. melvin-bot commented on Feb 17, 2026

    @melvin-bot

    @srikarparsi recently merged #68134, but they are OOO right now, so I'll auto-assign someone else.

  3. melvin-bot commented on Feb 17, 2026

    @melvin-bot

    Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  4. melvin-bot commented on Feb 17, 2026

    @melvin-bot

    Triggered auto assignment to @rlinoz (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  5. melvin-bot commented on Feb 17, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  6. github-actions commented on Feb 17, 2026

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  7. OSBotify commented on Feb 17, 2026

    @OSBotify
    Contributor

    Investigation Summary

    Classification: Frontend bug
    Causing PR: #68134 - "Adding business bank account on wallet" by @koko57 (High confidence)
    Related Issues: None

    Recommendation: REVERT

    The PR introduces a navigation bug that causes users to be redirected to the wrong screen after successfully adding a bank account. The fix would require modifying the navigation flow, but reverting is cleaner and safer to unblock the deploy.

    Labels: No label changes needed - keeping DeployBlockerCash as this is a frontend bug that blocks the App deploy.

    Detailed Analysis

    Evidence

    PR #68134 introduced a new bank account purpose selection flow that allows users to choose between "Get reimbursed" (personal account) and "Make payments" (business account) before adding a bank account.

    The bug occurs in the new file src/pages/settings/Wallet/BankAccountPurposePage/substeps/CountrySelection.tsx at line 66:

    navigateToBankAccountRoute({backTo: ROUTES.SETTINGS_BANK_ACCOUNT_PURPOSE});

    This sets the return destination to the Bank Account Purpose page, so when the international bank account flow completes, it navigates back to the purpose selection page instead of the wallet.

    Verification

    1. The affected file was newly created in PR Adding business bank account on wallet #68134
    2. Other places in the codebase that initiate bank account flows from the wallet use backTo: ROUTES.SETTINGS_WALLET (see src/pages/settings/Wallet/WalletPage/index.tsx lines 172, 175)
    3. The international bank account flow completion logic in src/pages/settings/Wallet/InternationalDepositAccount/InternationalDepositAccountContent.tsx (lines 84-100) respects the backTo parameter and navigates to it
    4. The issue is reproducible on staging with version 9.3.20-2 which includes this PR

    Root Cause

    When a user selects "Make payments" and chooses India (or another non-USD country):

    1. User is on Bank Account Purpose page
    2. User selects "Make payments" → navigates to Country Selection substep
    3. User selects India and clicks Next → calls navigateToBankAccountRoute({backTo: ROUTES.SETTINGS_BANK_ACCOUNT_PURPOSE})
    4. User completes the international bank account flow
    5. Flow finishes and navigates to the backTo parameter → returns to Bank Account Purpose page instead of Wallet

    The backTo should be ROUTES.SETTINGS_WALLET or inherit from the parent flow, not hardcoded to SETTINGS_BANK_ACCOUNT_PURPOSE.

  8. 4 remaining items

  9. joekaufmanexpensify commented on Feb 17, 2026

    @joekaufmanexpensify
    Contributor

    This doesn't seem to happen with US bank accounts.

    2026-02-17_08-21-22.mp4
  10. joekaufmanexpensify commented on Feb 17, 2026

    @joekaufmanexpensify
    Contributor

    I can reproduce it with a non-US account. However, we do still add the bank account. The user just has to click the < to close it. Not ideal, but not a huge issue. Especially given it's not US personal bank accounts. Let's fix this quickly now if we can, but my 2c is this is not something we should block the deploy over if it comes to that.

    2026-02-17_08-22-18.mp4
  11. added
    Reviewing
    on Feb 17, 2026
  12. koko57 commented on Feb 17, 2026

    @koko57
    Contributor

    ready for review #82621

  13. added
    Daily
    and removed
    DeployBlockerCash
    Hourly
    on Feb 17, 2026
  14. mountiny commented on Feb 17, 2026

    @mountiny
    Contributor

    I will demote based on the comment from @joekaufmanexpensify but @dominictb can you please prioritize the review?

  15. dominictb commented on Feb 26, 2026

    @dominictb
    Contributor

    This is done and on production. Can we close?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyEngineeringReviewing

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions