Skip to content
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

Workspace - Plaid process auto starts after adding a personal bank account #33890

Closed
3 of 6 tasks
kbecciv opened this issue Jan 3, 2024 · 11 comments
Closed
3 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@kbecciv
Copy link

kbecciv commented Jan 3, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.21.1
Reproducible in staging?: y
Reproducible in production?: Team can not verify production
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:

  1. Navigate to https://staging.new.expensify.com/
  2. Create a workspace
  3. Navigate to settings - wallet
  4. Click on the "Enable wallet" button
  5. Complete the process with Chase bank
  6. Navigate to the workspace settings
  7. Click on the "Bank account" button

Expected Result:

Plaid process shouldn't start without clicking on it's button.

Actual Result:

Plaid process auto starts after adding a personal bank account.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6331531_1704304528653.bandicam_2024-01-03_13-02-22-248.mp4

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Jan 3, 2024
Copy link
Contributor

github-actions bot commented Jan 3, 2024

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Jan 3, 2024

Triggered auto assignment to @marcaaron (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@Pujan92
Copy link
Contributor

Pujan92 commented Jan 3, 2024

Seems a backend issue where for wallet OpenPlaidBankAccountSelector api it sets the unwanted reimbursementAccount BankAccountStep data.

Screenshot 2024-01-04 at 01 33 54

BankAccounts.openPlaidBankAccountSelector(publicToken, metadata.institution.name, allowDebit, bankAccountID);

As OpenPlaidBankAccountSelector common for reimbursementAccount bank account setup and wallet bank account flow, we can pass an extra param which can help to decide whether to set reimbursementAccount BankAccountStep or not.

@marcaaron
Copy link
Contributor

Seems a backend issue where for wallet OpenPlaidBankAccountSelector api it sets the unwanted reimbursementAccount BankAccountStep data

This is an old change though (~ 1 year) so I would guess either the same happens on production or a more recent frontend change causes this.

A code comment says:

If there are accounts, then return the processed list of bank accounts as well as the owners in case of withdrawal setup.

Sounds like the expectation is that we would just land in the Add bank account page with the accounts already available in the selector? cc @nkuoch who might remember for sure.

The frontend for this has not been changed since the last deploy so I think this is a non-blocker. The last material changed looks to be here. So, maybe we introduced some regression about how this works.

@marcaaron marcaaron added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jan 3, 2024
@marcaaron marcaaron removed their assignment Jan 3, 2024
@marcaaron marcaaron added the Bug Something is broken. Auto assigns a BugZero manager. label Jan 3, 2024
Copy link

melvin-bot bot commented Jan 3, 2024

Triggered auto assignment to @peterdbarkerUK (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Jan 3, 2024

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Copy link

melvin-bot bot commented Jan 4, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added the Overdue label Jan 8, 2024
Copy link

melvin-bot bot commented Jan 9, 2024

@peterdbarkerUK Eep! 4 days overdue now. Issues have feelings too...

@peterdbarkerUK
Copy link
Contributor

Checking in VIP-Split

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jan 10, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

@peterdbarkerUK Huh... This is 4 days overdue. Who can take care of this?

@peterdbarkerUK
Copy link
Contributor

Coming from here - this is expected behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

4 participants