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
[HOLD for payment 2023-12-28] [$500] Send money - Bank account option is not present in Pay with Expensify menu #32228
Version Number: 1.4.5-3 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal Team Slack conversation:
Action Performed:
Go to staging.new.expensify.com
Go to 1:1 DM
Click + > Send money
Select USD currency and enter an amount > Click Next
Click Pay with Expensify
Expected Result:
Bank account option will be present in Pay with Expensify menu
Actual Result:
Bank account option is not present in Pay with Expensify menu
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]Send money - Bank account option is not present in Pay with Expensify menu[/-][+][$500] Send money - Bank account option is not present in Pay with Expensify menu[/+]on Nov 29, 2023
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
In SettlementButton in the send money flow, we don't pass in the iouReport, so based on this condition, it will not show the personal bank account.
What changes do you think we should make in order to solve the problem?
In the send money flow, we need to pass the iouType to SettlementButton and subsequently to AddPaymentMethodMenu. If the iouType is CONST.IOU.TYPE.SEND, we can allow the personal bank account to show.
We can add that condition to here, or can extract to a canUsePersonalBankAccount variable (similar pattern to the existing canUseBusinessBankAccount variable)
What alternative solutions did you explore? (Optional)
Pass a boolean, or a iouReport with only the type field, which can be used to indicate it's a send money request in AddPaymentMethodMenu.
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.14-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-12-28. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
For reference, here are some details about the assignees on this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@aimane-chnaif] The PR that introduced the bug has been identified. Link to the PR:
[@aimane-chnaif] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@aimane-chnaif] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@aimane-chnaif] Determine if we should create a regression test for this bug.
[@aimane-chnaif] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@trjExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
Determine if we should create a regression test for this bug.
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
There's already regression test (caught by QA) so no need another one
Activity
[-]Send money - Bank account option is not present in Pay with Expensify menu[/-][+][$500] Send money - Bank account option is not present in Pay with Expensify menu[/+]melvin-bot commentedon Nov 29, 2023
Triggered auto assignment to @trjExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Nov 29, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01782e16325ea5e0f2
melvin-bot commentedon Nov 29, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Nov 29, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (
External)dukenv0307 commentedon Nov 30, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
In
SettlementButtonin the send money flow, we don't pass in theiouReport, so based on this condition, it will not show the personal bank account.What changes do you think we should make in order to solve the problem?
In the send money flow, we need to pass the
iouTypetoSettlementButtonand subsequently toAddPaymentMethodMenu. If theiouTypeisCONST.IOU.TYPE.SEND, we can allow the personal bank account to show.We can add that condition to here, or can extract to a
canUsePersonalBankAccountvariable (similar pattern to the existingcanUseBusinessBankAccountvariable)What alternative solutions did you explore? (Optional)
Pass a boolean, or a
iouReportwith only thetypefield, which can be used to indicate it's a send money request inAddPaymentMethodMenu.trjExpensify commentedon Nov 30, 2023
Hm, @kevinksullivan @joekaufmanexpensify can you guys chime in on this one?
Pay with Expensifyon the confirmation screenWhy aren't I prompted here to go through the flow and enable the wallet?
CC: @mountiny as well maybs from Bottom Up!
mountiny commentedon Nov 30, 2023
There should be no business bank account option when sending money 1:1, but there should be one for personal bank account
@dukenv0307 solution is right except we do not want the business bank account but personal one here, we only check for hte IOU report
App/src/components/AddPaymentMethodMenu.js
Lines 82 to 92 in a83a35d
dukenv0307 commentedon Dec 1, 2023
Thanks @mountiny for point out the right expectation here. Proposal updated to cover the case of personal bank account.
24 remaining items
melvin-bot commentedon Dec 21, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Dec 21, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.14-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-12-28. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Dec 21, 2023
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
kevinksullivan commentedon Dec 22, 2023
Hi @aimane-chnaif please complete the checklist above when you get a chance!
melvin-bot commentedon Jan 1, 2024
@trjExpensify, @mountiny, @aimane-chnaif, @dukenv0307 Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Jan 1, 2024
@trjExpensify, @mountiny, @aimane-chnaif, @dukenv0307 Huh... This is 4 days overdue. Who can take care of this?
trjExpensify commentedon Jan 3, 2024
@aimane-chnaif awaiting the checklist. What's your ETA on completing that, please?
aimane-chnaif commentedon Jan 3, 2024
There's already regression test (caught by QA) so no need another one
trjExpensify commentedon Jan 3, 2024
Thanks! Confirming payments due are:
$500 to @aimane-chnaif for the C+ review
$500 to @dukenv0307 for the fix
Settled up!