App icon indicating copy to clipboard operation
App copied to clipboard

[$250] Attempting to pay an employee with no deposit account requires the admin to click "Pay with Expensify" twice, resulting in duplicated confirmation messages

Open izarutskaya opened this issue 6 months ago • 61 comments

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:

Use Regions bank
Username: user_good | Password: pass_good
Account type: Plaid Saving (2nd option)
CompanyName: Alberta Bobbeth Charleson
CompanyTaxID: 123456789
First Name: Alberta
Last Name: Charleson
Last SSN numbers: 3333

Setup - NewDot

  1. Sign-up for a new account on expensify.com using a Gmail account > choose 1-9 in the qualifiers > get redirected to NewDot
  2. Choose the "Manage my team's expenses" path in the onboarding modal to create a workspace on completion
  3. Go to Settings > Workspaces > Click the workspace > Workflows > Enable approvals
  4. Click "Connect bank account" to add a fully verified VBBA using the details above
  5. Navigate to the Members tab of the workspace settings
  6. Invite a new user as an employee (must be Gmail)
  7. Verify the user workspace chat is displayed in the LHN

Steps:

  1. As Employee - Submit expenses in workspace chat
  2. As Admin - Go to the expense report, approve it
  3. Click Pay with Expensify (observe button still stays on the screen)
  4. Click Pay with Expensify again (button disappears after second click)

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?

  • [ ] Android: Native
  • [x] Android: mWeb Chrome
  • [ ] iOS: Native
  • [x] iOS: mWeb Safari
  • [x] MacOS: Chrome / Safari
  • [ ] MacOS: Desktop

Screenshots/Videos

https://github.com/user-attachments/assets/82e046cb-7699-455a-ab20-17f3e9478de7

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~011007936f05f04497
  • Upwork Job ID: 1826365707781713597
  • Last Price Increase: 2024-12-04
Issue OwnerCurrent Issue Owner: @

izarutskaya avatar Aug 15 '24 15:08 izarutskaya