feat: Update corpay fields logic, integrate API#52812
feat: Update corpay fields logic, integrate API#52812madmax330 merged 32 commits intoExpensify:mainfrom
Conversation
47ba16d to
dc0c88f
Compare
…with isCreateCorpayBankAccount flag
… update corpayFields structure
…n Confirmation component
|
@hungvu193 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] |
|
Can you resolve conflicts? @pasyukevich |
|
I think we should clear the error if we closed the RHP Screen.Recording.2024-12-16.at.18.05.48.mov |
|
The problem with the crash went after a couple of merges, I've addressed eslint errors after them, Fixed issue with county ISO |
|
@hungvu193 PR is ready for rereview |
|
Also, I think I can still reproduce this one: #52812 (comment) |
Fixed |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb ChromemAndroid.moviOS: Nativeios.moviOS: mWeb SafarimSafari.movMacOS: Chrome / SafariChrome.movMacOS: DesktopDesktop.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
| type VerifyIdentityForBankAccountParams = { | ||
| bankAccountID: number; | ||
| onfidoData: string; | ||
| policyID: string; | ||
| policyID?: string; | ||
| }; |
There was a problem hiding this comment.
NIT: This is wrong. PolicyID should not be optional. Confirmed this with internal team about this.
There was a problem hiding this comment.
How should we handle this case then?
https://github.com/Expensify/App/blob/main/contributingGuides/STYLE.md#case-1-argument-of-type-string--undefined-is-not-assignable-to-parameter-of-type-string
We have the example exactly with policyID
There was a problem hiding this comment.
I will handle this. Not to worry here.
|
🚀 Deployed to staging by https://github.com/madmax330 in version: 9.0.80-1 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.80-6 🚀
|






Explanation of Change
Fixed Issues
$ #50904, #50903
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android-native-converted.webm
Android: mWeb Chrome
android-web-converted.webm
iOS: Native
ios-native-converted.mp4
iOS: mWeb Safari
ios-web-converted.mp4
MacOS: Chrome / Safari
desktop-web-converted.mov
MacOS: Desktop
desktop-native-converted.mov