-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Refactor] Use new API Command: UpdateBeneficialOwnersForBankAccount #10994
Conversation
Oops, sorry @sketchydroide - please hold off reviewing for now, this isn't quite ready |
#11162 has been merged on main - please merge main on your branch |
…hub.com:Expensify/App into HEAD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We'll just need the test steps and QA steps added for this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Do we need to add C+? |
@sketchydroide I don't think it has to be a C+ to do the PR reviewer checklist, any reviewer should be able to check things so that the test passes? |
We've been talking about this topic in this #whatsnext post. As a quick summary, this is what's being proposed as the new standard:
|
@NikkiWines Have you tested checking the boxes for Screen.Recording.2022-10-11.at.4.44.34.PM.movI also tried the flow without checking those two boxes and still ended up on an empty ValidationStep page 😕 I also get this error pop up during the setup process (but I don't think it's related to this PR) 🤔 |
Also able to reproduce this on Web - digging into it now.
Weird, I'm getting this now too but it was definitely working before 🤔
I'm also getting these now - maybe some new code merged to main? |
It looks like for the |
For the blank validationStep flows it looks like using the |
@MariaHCD it seems to be an issue with When checking the logs I can see we're successfully passing it originally but then there's an error saying it's missing from
Using an ssn of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NikkiWines Thanks for investigating that! It's probably due to this fix for VerifyIdentityForBankAccount: https://github.com/Expensify/Web-Expensify/pull/35108
We started sending useOnfido
as true for every step in the flow here. And we actually don't need requestorIdentityKBA
anymore. It used to be a fallback to Onfido but we removed this fallback for NewDot (more details here)
So it sounds like we just need to understand when Onfido can be skipped and when it cannot.
cc: @nkuoch
Question question: with 34853 merged and now on production can we remove the [HOLD] on this PR? |
We still need to work through a small issue with the flow: #10994 (comment) I'm looking into it! |
Looks like we get the error I'm not 100% sure of why/when we skip Onfido during the VBBA flow, I can dig into it more tomorrow |
Made sure to pull the latest changes from Auth and the tests work better today 🎊
Screen.Recording.2022-10-13.at.4.29.45.PM.mov
Screen.Recording.2022-10-13.at.6.30.20.PM.mov
Screen.Recording.2022-10-13.at.4.42.08.PM.mov
XRecorder_13102022_184043.mp4
2.New.Expensify.webm
Screen.Recording.2022-10-13.at.5.06.52.PM.movScreen.Recording.2022-10-13.at.5.08.54.PM.mov |
Thanks for all the testing @MariaHCD!! Went through it again myself and got the same results as you. It looks like things may have just changed with https://github.com/Expensify/Auth/pull/7091 just getting merged but to recap this is why the TLDR; we need to make sure Long explanationWe pass along both In This results in us leaving out Then, later in |
Quick question: Are we holding on this PR until the Auth PR for consistently handling Onfido is merged? |
Thinking about @JmillsExpensify's comment, I think we can merge this PR. The bug with the flow is on the backend. I've created a separate issue to investigate and fix that: https://github.com/Expensify/Expensify/issues/234337 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Nice, agree with that. Thanks all! |
Hi everyone 👋🏼 It seems like this PR is the most likely culprit for this deploy blocker. Would be great if anyone with context on the changes in this PR could look into that 🙇🏼 |
This is likely a backend error and not a frontend error. We're investigating here: https://github.com/Expensify/Expensify/issues/234337 |
🚀 Deployed to production by @sketchydroide in version: 1.2.17-4 🚀
|
Details
Associated web PR: https://github.com/Expensify/Web-Expensify/pull/34853
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/226855
Tests
PR Review Checklist
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)QA Steps
Validate Bank Account - Let's finish in chat
pageScreenshots
Web
Pending:
pending.mov
Verifying:
verifying.mov
Open
Screen.Recording.2022-10-05.at.14.54.06.mov
Desktop
desktop-pending.mov
mWeb
mweb-pending.mp4
iOS
ios-pending.mp4
Android
android-pending.webm