-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$250] Attempting to pay an employee with no deposit account requires the admin to click "Pay with Expensify" twice, resulting in duplicated confirmation messages #47503
Comments
Triggered auto assignment to @greg-schroeder ( |
@greg-schroeder Huh... This is 4 days overdue. Who can take care of this? |
Job added to Upwork: https://www.upwork.com/jobs/~011007936f05f04497 |
Sending through triage |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale ( |
Edited by proposal-police: This proposal was edited at 2024-08-24 08:38:02 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Expenses - Double Click requested & messages on Expensify Payment to No BA Employee What is the root cause of that problem?When we click the approve button we invoke the Lines 6918 to 6931 in 42bed64
And the Pay button briefly show because the expense is approved and the current isWaitingOnBankAccount is false Lines 6855 to 6865 in 42bed64
But after the What changes do you think we should make in order to solve the problem?I know that this is not as the Expected Result which we need still to display the Pay button
But i think we can't display the pay button because the BE returning the But here's my solution that will resolved the Pay button briefly appear and disappear Lines 6948 to 6967 in 42bed64
What alternative solutions did you explore? (Optional)We can remove the |
I know my above proposal will not show the pay button because the BE returning the isWaitingOnBankAccount to true because we need to wait until the employee add the Bank account unless we remove the checking for isWaitingOnBankAccount But my proposal will fix the Pay button briefly appear and then disappear |
Go away Melvin |
Have a feeling this might have something to do with approvals in #wave-control perhaps. CC'ing @marcochavezf for vis. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@akinwale @greg-schroeder this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@akinwale, @greg-schroeder Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@akinwale Bump ^ |
Bump @akinwale |
Any thoughts on updated proposal @NJ-2020? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Not overdue, waiting for the proposals. |
@akinwale, @greg-schroeder, @techievivek Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Bumped in slack for proposals https://expensify.slack.com/archives/C01GTK53T8Q/p1733208086766289 |
Thanks @techievivek |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Still awaiting outcome of Slack conversation |
Same |
ProposalPlease re-state the problem that we are trying to solve in this issue.When attempting to pay an employee without a deposit account, the admin is required to click "Pay with Expensify" twice, leading to duplicate confirmation messages. What is the root cause of that problem?Line 7103 in 7925c9b
Step-1When we press Step-2When we first time press In the API PayMoneyRequest Response "isWaitingOnBankAccount": false. So Step-3When we second time press So root cause is that in Step-2 response has "isWaitingOnBankAccount": false What changes do you think we should make in order to solve the problem?In Step-2 server response with "isWaitingOnBankAccount" having its value true What alternative solutions did you explore? (Optional)In the First API PayMoneyRequest Response it has action "REIMBURSEMENTQUEUED". If payment is already queued then Replace Lines 7098 to 7110 in 7925c9b
With
Before Change: After Change (alternative solutions) 47503-3-Local-AfterCodeChange.mp4 |
@akinwale next up to the review the proposal above! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@ijmalik Can you confirm that your proposed solution would work based on this comment? @techievivek Is the backend implementation complete and ready for testing? |
Hi @akinwale, Yes, I confirm that my proposed solution is expected to work as intended. I have tested it thoroughly in my local environment to ensure its accuracy and functionality. Please feel free to reach out if you have any additional questions or concerns. |
@akinwale, @greg-schroeder, @techievivek Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Not overdue, I will review this tomorrow. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.20-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4706616
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Setup - NewDot
Steps:
Expected Result:
Expense payment should be initiated after a single click of the
Pay with Expensify
button. Confirmation messages should only be displayed once for both admin and employee.*Note that payment is on hold until the employee adds a bank account.
Actual Result:
Expense payment is initiated only the
Pay with Expensify
button is clicked twice. Confirmation messages are displayed twice for both admin and employee.*Note that payment is on hold until the employee adds a bank account.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6538223_1720635555826.video_06.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: