You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invoice- Missing option "Add bank account" when click on Pay as an individual/ business #82485
Version Number: v9.3.19-1 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:https://test-management.browserstack.com/projects/2219752/test-runs/TR-5252/folder/13176671/41237470/1189839098 Email or phone of affected tester (no customers): N/A Issue reported by: Applause Internal Team Bug source: Regression TC Execution Device used: Win 11/Chrome App Component: Money Requests
Action Performed:
Precondition: Create account A and B with Profile setting currency USD, workspace setting currency USD. On account A enable Invoice for workspace
👋 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:
Identify the pull request that introduced this issue and revert it.
Classification: Frontend bug Causing PR: #82046 - "Hide paying invoices via Expensify behind a beta" by @cristipaval (High confidence) Related Issues: #67218
Recommendation: REVERT
PR #82046 should be reverted. The PR hides the "Add bank account" option for invoice payments behind a beta flag (PAY_INVOICE_VIA_EXPENSIFY). Users without this beta enabled only see "Mark as paid" instead of both "Add bank account" and "Mark as paid" options, which breaks the invoice payment flow for all users not enrolled in the beta.
Labels: Keeping DeployBlockerCash (Frontend bug - App deploy is blocked). No DeployBlocker label present to remove.
📋 Detailed Analysis
Evidence
The bug affects invoice payment options - specifically the "Add bank account" option is missing
Issue is reproducible on staging but NOT on production
The PR intentionally hides invoice payment options behind a beta flag
Verification
The PR modifies these files related to invoice payment options:
src/hooks/usePaymentOptions.ts - Changed line 169 from isCurrencySupported to showPayViaExpensifyOptions = isPayInvoiceViaExpensifyBetaEnabled && isCurrencySupportedForGlobalReimbursement(...)
src/hooks/useBulkPayOptions.ts - Same pattern
src/components/SettlementButton/index.tsx - Same pattern
The logic changed from showing payment options based on currency support to requiring both:
Beta flag enabled (isPayInvoiceViaExpensifyBetaEnabled)
Currency supported
This means users without the beta flag enrolled will not see "Add bank account" options, only "Mark as paid".
Root Cause
PR #82046 introduced a beta flag check that gates access to invoice payment options. The condition on line 169 of usePaymentOptions.ts:
When isPayInvoiceViaExpensifyBetaEnabled is false (for users not in the beta), showPayViaExpensifyOptions becomes false, which causes lines 205 and 212 to filter out:
Bank account payment options (line 205)
The "Add bank account" button (line 212)
This leaves only the "Mark as paid" option visible to non-beta users.
Activity
melvin-bot commentedon Feb 14, 2026
Triggered auto assignment to @greg-schroeder (
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.melvin-bot commentedon Feb 14, 2026
Triggered auto assignment to @AndrewGable (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Feb 14, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Feb 14, 2026
👋 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:
OSBotify commentedon Feb 14, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #82046 - "Hide paying invoices via Expensify behind a beta" by @cristipaval (High confidence)
Related Issues: #67218
Recommendation: REVERT
PR #82046 should be reverted. The PR hides the "Add bank account" option for invoice payments behind a beta flag (
PAY_INVOICE_VIA_EXPENSIFY). Users without this beta enabled only see "Mark as paid" instead of both "Add bank account" and "Mark as paid" options, which breaks the invoice payment flow for all users not enrolled in the beta.Labels: Keeping
DeployBlockerCash(Frontend bug - App deploy is blocked). NoDeployBlockerlabel present to remove.📋 Detailed Analysis
Evidence
Verification
The PR modifies these files related to invoice payment options:
src/hooks/usePaymentOptions.ts- Changed line 169 fromisCurrencySupportedtoshowPayViaExpensifyOptions = isPayInvoiceViaExpensifyBetaEnabled && isCurrencySupportedForGlobalReimbursement(...)src/hooks/useBulkPayOptions.ts- Same patternsrc/components/SettlementButton/index.tsx- Same patternThe logic changed from showing payment options based on currency support to requiring both:
isPayInvoiceViaExpensifyBetaEnabled)This means users without the beta flag enrolled will not see "Add bank account" options, only "Mark as paid".
Root Cause
PR #82046 introduced a beta flag check that gates access to invoice payment options. The condition on line 169 of
usePaymentOptions.ts:When
isPayInvoiceViaExpensifyBetaEnabledis false (for users not in the beta),showPayViaExpensifyOptionsbecomes false, which causes lines 205 and 212 to filter out:This leaves only the "Mark as paid" option visible to non-beta users.
mountiny commentedon Feb 15, 2026
@cristipaval Is this intentional from your PR? I am not sure
mountiny commentedon Feb 16, 2026
Since this is last blocker I will test the revert https://github.com/Expensify/App/pull/82546/changes
IuliiaHerets commentedon Feb 16, 2026
Chrome / v9.3.19-3 PR:82546
Passed
Screen.Recording.2026-02-16.at.13.38.14.mp4
mountiny commentedon Feb 16, 2026
This is intentional now https://expensify.slack.com/archives/C01GTK53T8Q/p1771243142598549?thread_ts=1771064936.144169&cid=C01GTK53T8Q