-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[NO QA] Feature: Implement SCA support to transfer owner #49411
[NO QA] Feature: Implement SCA support to transfer owner #49411
Conversation
@blimpich Opened a PR |
NOTE: |
@waterim and I have been working on a fix for the scenario where the user fails the SCA authentication. Requires a small backend change which I have a PR out for here. @DylanDylann since you will be testing this PR using my ngrok credentials my backend should already have the necessary fix, so we should be able to make this work for both the success and failure scenario now. |
Crash App because using window Object on native app (RCA here: #44321 (comment)) |
Ah, this reminds me, we can't actually add a billing card if this is on native mobile. This is due to legal reasons. If we allow people to add billing cards on mobile then Apple will want to take 30% of our subscription revenue. So @waterim if the user is on mobile and they don't have a billing card they should not have the option to transfer the account. cc: @trjExpensify to double check me on this we could maybe make this a new issue, will look into if this is an existing bug with the transfer owner flow or not |
From: #44321 (comment)
|
Yep, correct. Can't put a billing card down on native mobile, so we shouldn't allow it here. |
@DylanDylann updated |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-09-27.at.01.31.11.moviOS: NativeScreen.Recording.2024-10-01.at.00.18.41.moviOS: mWeb SafariScreen.Recording.2024-09-27.at.01.24.50.movMacOS: Chrome / SafariScreen.Recording.2024-09-27.at.01.13.17.movMacOS: DesktopScreen.Recording.2024-09-27.at.01.22.49.mov |
@DylanDylann @blimpich updated everything |
@waterim can you address this discussion thread and also get the eslint/prettier checks passing? Won't be able to merge without those passing. |
@DylanDylann @blimpich updated everything |
Merged main and resolved coflicts |
@DylanDylann back to you for review 👍 |
@blimpich BE bug: The pusher doesn't return the FundList field to subscribers. Even though, if we log in again, the BE also doesn't return FundList. Fundlist field will only be returned to the user who calls |
@DylanDylann Thank you! I will follow up with you and make a fix so the backend updates that correctly. |
✋ 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 https://github.com/blimpich in version: 9.0.42-0 🚀
|
Based on the back-end PRs for the API commands called in this PR, it doesn't seem like we do any live testing, so I think we should be good to check this off assuming the sandbox testing cards worked correctly. |
Yes, sorry @jasperhuangg I should've marked this as NO QA. Its not possible to QA this right now due to how our stripe apis are set up and the fact that we lack test credit cards that can trigger SCA authentication. |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.42-3 🚀
|
Details
Feature: Implement SCA support to transfer owner
Fixed Issues
$ #42490
PROPOSAL: N/A
Tests
NOTE: You need to connect to someone local backend to test live mode of the stripe
Offline tests
Same as tests
QA Steps
None
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting 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
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)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
8mb.video.compressor.1.mp4