Skip to content

Remove payouts overview feature flag #15778

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

Merged
merged 2 commits into from
Jun 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Modules/Sources/Experiments/DefaultFeatureFlagService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
return true
case .giftCardInOrderForm:
return true
case .wooPaymentsPayoutsOverviewInPaymentsMenu:
return true
case .productBundlesInOrderForm:
return true
case .customLoginUIForAccountCreation:
Expand Down
4 changes: 0 additions & 4 deletions Modules/Sources/Experiments/FeatureFlag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ public enum FeatureFlag: Int {
///
case giftCardInOrderForm

/// Enables the Woo Payments Payouts item in the Payments menu
///
case wooPaymentsPayoutsOverviewInPaymentsMenu

/// Enables bundle product configuration support in order creation/editing.
///
case productBundlesInOrderForm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ final class InPersonPaymentsMenuViewModel: ObservableObject {
}

private func refreshPayoutSummary() async {
guard ServiceLocator.featureFlagService.isFeatureFlagEnabled(.wooPaymentsPayoutsOverviewInPaymentsMenu),
let payoutService = dependencies.wooPaymentsPayoutService,
guard let payoutService = dependencies.wooPaymentsPayoutService,
await dependencies.systemStatusService.fetchSystemPluginWithPath(siteID: siteID,
pluginPath: WooConstants.wooPaymentsPluginPath) != nil else {
shouldShowPayoutSummary = false
Expand Down