[CP Staging] fix: regressions after pay button standardization#66030
[CP Staging] fix: regressions after pay button standardization#66030grgia merged 9 commits intoExpensify:mainfrom
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2025-07-14.at.16.49.10.movScreen.Recording.2025-07-14.at.17.04.21.movScreen.Recording.2025-07-14.at.17.09.59.movMacOS: Desktop |
|
Should be good now. @hungvu193 |
|
it's now showing bank account with undefined value 🤔 Screen.Recording.2025-07-14.at.16.54.36.mov |
|
forgot to pass the digits, should work now. |
fix: regressions after pay button standardization (cherry picked from commit 5c9a614) (cherry-picked to staging by grgia)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/grgia in version: 9.1.80-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.80-8 🚀
|
| if (automaticAction && originalMessage.paymentType === CONST.IOU.PAYMENT_TYPE.EXPENSIFY) { | ||
| translationKey = 'iou.automaticallyPaidWithExpensify'; | ||
| } else { | ||
| translationKey = 'iou.automaticallyPaidWithBusinessBankAccount'; | ||
| } |
There was a problem hiding this comment.
{bz checklist #71287 } We are not checking if automaticAction true before using automaticallyPaidWithBusinessBankAccount translation key. And we ended up using the wrong translation key.

Explanation of Change
Fixed Issues
$ #66004
$ #66005
$ #65989
$ #66003
PROPOSAL:
Tests
#66004
Precondition:
Have two accounts set with USD as the Payment currency.
The accounts don't have any existing or previous IOUs made in the past.
The account A has been set up with a personal bank account, enable wallet.
#66005
Precondition:
Workspace is set up with bank account.
Admin invites member to the workspace.
Member has a personal bank account.
#65989
Precondition:
User A default currency is USD.
User B has no workspace.
#66003
Precondition:
Workspace is set up with bank account.
Admin invites member to the workspace.
Member has a personal bank account.
Offline tests
N/a
QA Steps
Same as Tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
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
Screen.Recording.2025-07-14.at.11.38.32.in.the.morning.mov
MacOS: Desktop