-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[Wallet KYC] Fix Onfido and KBA flows #14988
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
Conversation
|
@MonilBhavsar Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
| * @param {String} dob | ||
| */ | ||
| function openOnfidoFlow(firstName, lastName, dob) { | ||
| API.read('OpenOnfidoFlow', {firstName, lastName, dob}, { |
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.
For context, we're now fetching these params in the API instead of relying on the frontend to send them: https://github.com/Expensify/Web-Expensify/pull/36435
MonilBhavsar
left a comment
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.
Code looks good. Testing now...
| message={errorMessage} | ||
| isLoading={this.props.walletAdditionalDetails.isLoading} | ||
| buttonText={this.props.translate('common.saveAndContinue')} | ||
| containerStyles={[styles.mh0, styles.mv0, styles.mb0]} |
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.
NAB, these style rules can be shifted to a class, as they're used on multiple pages
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-02-16.at.4.28.49.PM.movScreen.Recording.2023-02-16.at.5.53.31.PM.movMobile Web - ChromeScreen.Recording.2023-02-16.at.5.45.38.PM.movMobile Web - SafariScreen.Recording.2023-02-16.at.4.48.09.PM.movDesktopScreen.Recording.2023-02-16.at.4.35.43.PM.moviOSScreen.Recording.2023-02-16.at.4.43.21.PM.movAndroidScreen.Recording.2023-02-16.at.5.20.15.PM.mov |
|
Bump @MonilBhavsar :) |
MonilBhavsar
left a comment
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.
Works fine!
Sorry, I ran into some issues with my Android simulator
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
|
@MariaHCD Can we use Expensifail account for this PR? or any specific account to validate it? |
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 1.2.73-0 🚀
|
|
@mvtglobally You can use any account under the wallet beta. An expensifail account should work for this. Let me know if you run into any issues. |
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.2.73-1 🚀
|
1 similar comment
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.2.73-1 🚀
|
Details
Fixed Issues
Part of #14477
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
Test steps:
Connect via plaidand use the following credentials:Alberta, last nameCharlesonand SSN as3333. Enter any data for the other fields.BobbethOffline tests
None of the wallet KYC steps should be available offline
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
New.Expensify.webm
Mobile Web - Chrome
XRecorder_Edited_13022023_174830.mp4
Mobile Web - Safari
Screen.Recording.2023-02-14.at.3.52.09.PM.mov
Desktop
Screen.Recording.2023-02-13.at.4.17.49.PM.mov
iOS
Screen.Recording.2023-02-14.at.4.01.00.PM.mov
Android
Screen.Recording.2023-02-13.at.5.55.37.PM.mov