Skip to content
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

Remove paymentsOnboardingInPointOfSale feature flag a few weeks after release #14787

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

jaclync
Copy link
Contributor

@jaclync jaclync commented Jan 3, 2025

Closes: #14343

Description

The POS payments onboarding feature was released in 21.2 on December 9. Now that it's been a few weeks, it's ready to remove the paymentsOnboardingInPointOfSale feature flag and its associated logic from various parts of the codebase.

Removal of paymentsOnboardingInPointOfSale feature flag:

Updates to eligibility checker logic:

Updates to mock feature flag service:

Updates to unit tests:

Steps to reproduce

Optional - feel free to do a confidence test on the payments onboarding by making sure POS is eligible for a store with incomplete payments onboarding state.

Testing information

  • @jaclync smoke tests POS before merging

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

Reviewer (or Author, in the case of optional code reviews):

Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement:

  • The PR is small and has a clear, single focus, or a valid explanation is provided in the description. If needed, please request to split it into smaller PRs.
  • Ensure Adequate Unit Test Coverage: The changes are reasonably covered by unit tests or an explanation is provided in the PR description.
  • Manual Testing: The author listed all the tests they ran, including smoke tests when needed (e.g., for refactorings). The reviewer confirmed that the PR works as expected on all devices (phone/tablet) and no regressions are added.

@jaclync jaclync added the type: technical debt Represents or solves tech debt of the project. label Jan 3, 2025
@jaclync jaclync added this to the 21.4 milestone Jan 3, 2025
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Jan 3, 2025

WooCommerce iOS📲 You can test the changes from this Pull Request in WooCommerce iOS by scanning the QR code below to install the corresponding build.

App NameWooCommerce iOS WooCommerce iOS
Build Numberpr14787-a7abd66
Version21.3
Bundle IDcom.automattic.alpha.woocommerce
Commita7abd66
App Center BuildWooCommerce - Prototype Builds #12348
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@jaclync jaclync marked this pull request as ready for review January 3, 2025 08:42
@jaclync jaclync requested a review from staskus January 3, 2025 08:42
@@ -60,18 +55,6 @@ final class POSEligibilityChecker: POSEligibilityCheckerProtocol {
}

private extension POSEligibilityChecker {
var isOnboardingComplete: AnyPublisher<Bool, Never> {
return cardPresentPaymentsOnboarding.statePublisher
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cardPresentPaymentsOnboarding could be removed from the class.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch! Removed all related onboarding logic in POS eligibility check in a7abd66.

@jaclync jaclync merged commit a73d880 into trunk Jan 6, 2025
13 checks passed
@jaclync jaclync deleted the task/14343-remove-payments-onboarding-feature-flag branch January 6, 2025 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: technical debt Represents or solves tech debt of the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Woo POS - payments onboarding] Remove onboarding feature flag
3 participants