Add Ability: Prompting to enable the wallet if you have a non-US deposit account setup#63818
Add Ability: Prompting to enable the wallet if you have a non-US deposit account setup#63818MonilBhavsar merged 9 commits intoExpensify:mainfrom
Conversation
|
@shubham1206agra 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] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-06-14.at.3.42.53.PM.movAndroid: mWeb ChromeScreen.Recording.2025-06-14.at.12.23.49.PM.moviOS: HybridAppScreen.Recording.2025-06-14.at.3.38.08.PM.moviOS: mWeb SafariScreen.Recording.2025-06-14.at.12.21.05.PM.movMacOS: Chrome / SafariScreen.Recording.2025-06-14.at.12.18.51.PM.movMacOS: DesktopScreen.Recording.2025-06-14.at.3.16.43.PM.mov |
|
@allgandalf Merge main please |
|
As in the issue, we should be prompting to add a US Business bank account, no? This does not seem right 🤔 cc @joekaufmanexpensify |
|
@MonilBhavsar I don't think so, since we are paying 1:1 IOU. |
|
Correct. If you are paying a 1:1 IOU with the wallet, we should not prompt you to set up a business bank account. |
|
Had a conversation with Joe regarding the expected behavior here. Here's what Joe says -
So in this case, we need to prompt for a US bank account if a user is trying to pay 1:1 IOU |
|
Correct. If they are trying to pay a 1:1 IOU via the wallet, that requires having a US personal bank account. An international personal bank account cannot be used. We don't want to change anything about the bottom up flow (when you pay an IOU by moving it to a workspace), or paying elsewhere though. LMK if there are any other questions on that! |
|
@allgandalf Can you please address the above comment? |
|
@allgandalf Bump here |
|
Okay i understood the requirement, I will update the code to match it! |
…ccount is not US bank account
|
@shubham1206agra ready for your review, @shubham1206agra @MonilBhavsar I also refactored some code to make it easier for us to pass params to the Screen.Recording.2025-07-07.at.10.18.19.AM.mov |
|
bump @shubham1206agra |
Screen.Recording.2025-07-10.at.6.41.32.PM.mov |
|
@MonilBhavsar all yours |
MonilBhavsar
left a comment
There was a problem hiding this comment.
Thanks for leading this to finish line!
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 9.1.81-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.81-7 🚀
|
Explanation of Change
Fixed Issues
$ #56970
PROPOSAL: #56970 (comment)
Tests
Offline tests
QA Steps
Precondition: User added a non USD deposit account and have an unpaid IOU
Verify that use is Prompt specifically to setup a deposit account
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))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
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop