Adding business bank account on wallet#68134
Conversation
|
@dominictb Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Looking good so far 👍 |
@joekaufmanexpensify Sorry I missed your earlier comment. Technically it's not problematic at all. Also in terms of UX it shouldn't be problematic (personally I don't find it annoying). But I remember that at some point we wanted the call to api not to be sent if the data was already loaded and the user was in the same Workspace (like the user is in the workflows, enters the flow, leaves the flow and later returns to the flow). So I'm just asking just to make sure that you're ok with that. Now as we have the same entry point for Wallet and Workflows clearing the data seems to be the best option. It could be possibly changed/improved when working on #59245 - refactoring ReimbursementAccountPage will be the part of this project |
|
@dominictb friendly bump |
|
Back to @srikarparsi |
|
We have a failed lint check @koko57 |
Yes, I know, but I need to understand why it's failing. It doesn't fail on changes I made and I'm not really sure how to fix it |
|
all checks pass, @srikarparsi the PR is ready for your review |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good from my perspective too 👍
srikarparsi
left a comment
There was a problem hiding this comment.
Code looks good to me 🚀
|
🚧 @srikarparsi has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.3.20-0 🚀
|
|
@koko57 is it expected that when clicking “Make payments” users are first redirected to the Country Selector and then to the USD Business Account flow? |
|
@nlemma - yes after Make Payments, first you see the Country selector. Selecting USA redirects to USD flow - you can log in via plaid, when you select another country you go to non-USD flow - you click connect manualyy and then you see corpay fields for a chosen country (SWIFT, IBAN, etc) |
|
Great, thanks for the quick response ^ |
|
@nlemma ah, sorry I haven't updated the test steps after Globar Reimbursements were enabled. Now they are updated and they include these steps I mentioned above |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.20-6 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.20-6 🚀
|

Explanation of Change
I decided on a bit different approach as I didn't want to complicate navigation and break anything in Personal Bank Account flow. I reused only the selector, left the logic for the personal account in CountrySelection and created a similar wrapper component that will be only displayed for business flow.
This way we don't need to navigate to Bank Account Purpose page when the user is not an admin and they're redirected straight to the personal flow will all countries selector. Also navigating back and forth and editing from confirmation step is preserved.
Fixed Issues
$ #66073
PROPOSAL:
Tests
Partially Set Up Bank Accounts (testing new param in the API call + testing against regressions)
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
Screen.Recording.2025-08-14.at.18.07.58.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2025-08-14.at.17.51.12.mp4
Screen.Recording.2025-08-14.at.17.50.29.mp4