-
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] VerifyIdentityForBankAccount #11719
[Refactor] VerifyIdentityForBankAccount #11719
Conversation
…-identity-for-bank-account-v2
…-identity-for-bank-account-v2 # Conflicts: # src/libs/actions/BankAccounts.js
key: ONYXKEYS.ONFIDO_TOKEN, | ||
}, | ||
reimbursementAccountDraft: { | ||
key: ONYXKEYS.REIMBURSEMENT_ACCOUNT_DRAFT, |
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.
Why is this not in the propTypes?
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.
Good point, I updated the propTypes here and in BankAccountStep, CompanyStep and RequestorStep.
…-identity-for-bank-account-v2
Just a heads up, I suspect that one of the reasons the VBBA flow is behaving incorrectly is because the Onfido step on staging/prod is still using the old deprecated API command instead of the new one refactored in this PR. |
This should be all set for review! |
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!
I reviewed the code and that looks fine, but with respect to the testing and the scope of the issue, I don't have the context. I don't have access to the linked issue. |
Thanks, @mananjadhav. In terms of the context and scope of this PR, we're just using a new API command In regards to testing, I've outlined the steps in the tests section. Let me know if there's anything else I can clarify! |
@MariaHCD @nkuoch @stitesExpensify Is there a way to add Plaid account by the contributor?
Point 4 mentions a stackoverflow link but I can't access this. |
@MariaHCD For some reason it connects to me production plaid. I've enabled connect to staging servers, but it doesn't seem to be working for me. |
I tested this on web and desktop, it is not testable on ios/android/mWeb via emulator because of onFido |
|
@stitesExpensify looks like this was merged without the checklist test passing. Please add a note explaining why this was done and remove the |
lies. Everything passed. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @stitesExpensify in version: 1.2.19-0 🚀
|
🚀 Deployed to production by @chiragsalian in version: 1.2.19-2 🚀
|
Redo of #10967 as it had to be reverted.
Details
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/226853
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
5. Follow the prompts and submit the verification data
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/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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
Screenshots
Web
1.New.Expensify.5.webm
Mobile Web - Chrome
1.New.Expensify.6.webm
Mobile Web - Safari
Screen.Recording.2022-10-17.at.12.59.30.PM.mov
Desktop
Screen.Recording.2022-10-17.at.1.04.52.PM.mov
iOS
Can't test on this platform as camera access is not possible via iOS simulator
Android
XRecorder_17102022_144522.mp4