Commit e8545b3429b for woocommerce

commit e8545b3429b8b8e0d57b99a77711b92ba093fbe1
Author: Vlad Olaru <vlad.olaru@automattic.com>
Date:   Fri Aug 28 10:44:30 2026 +0300

    [Payments NOX] Disable Helcim recommendations temporarily (#68118)

    * fix(payments): disable Helcim recommendations

    Context: Helcim remains registered with complete provider details.

    Problem: It must temporarily stay out of merchant recommendations.

    Solution: Remove its US and Canadian placements and update the related placement and REST count expectations.

    * chore(changelog): document disabled Helcim recommendations

    Context: WooCommerce package changes require a release note.

    Problem: The temporary recommendation change was not documented.

    Solution: Add a patch entry describing the disabled recommendations.

diff --git a/plugins/woocommerce/changelog/disable-helcim-recommendations b/plugins/woocommerce/changelog/disable-helcim-recommendations
new file mode 100644
index 00000000000..f8c369a29d5
--- /dev/null
+++ b/plugins/woocommerce/changelog/disable-helcim-recommendations
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Temporarily disable Helcim payment provider recommendations.
diff --git a/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php b/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
index ceb4e52a37e..c8bdb8aa4bc 100644
--- a/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
+++ b/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
@@ -180,7 +180,6 @@ class PaymentsExtensionSuggestions {
 					),
 				),
 			),
-			self::HELCIM,
 			self::PAYPAL_WALLET,
 			self::AFFIRM,
 			self::AFTERPAY,
@@ -217,7 +216,6 @@ class PaymentsExtensionSuggestions {
 			self::SQUARE, // Use the default details.
 			self::VISA,
 			self::AIRWALLEX,
-			self::HELCIM,
 			self::PAYPAL_WALLET,
 			self::AMAZON_PAY,
 			self::AFFIRM,
diff --git a/plugins/woocommerce/tests/php/src/Internal/Admin/Settings/PaymentsRestControllerIntegrationTest.php b/plugins/woocommerce/tests/php/src/Internal/Admin/Settings/PaymentsRestControllerIntegrationTest.php
index 7f3525d6e9f..65f734e9141 100644
--- a/plugins/woocommerce/tests/php/src/Internal/Admin/Settings/PaymentsRestControllerIntegrationTest.php
+++ b/plugins/woocommerce/tests/php/src/Internal/Admin/Settings/PaymentsRestControllerIntegrationTest.php
@@ -467,7 +467,7 @@ class PaymentsRestControllerIntegrationTest extends WC_Unit_Test_Case {
 		// We also have the 3 offline payment methods.
 		$this->assertCount( 3, $data['offline_payment_methods'] );
 		// We only have PSPs because there is no payment gateway enabled.
-		$this->assertCount( 5, $data['suggestions'] );
+		$this->assertCount( 4, $data['suggestions'] );
 		// Assert we get the suggestion categories.
 		$this->assertCount( 4, $data['suggestion_categories'] );

@@ -513,7 +513,7 @@ class PaymentsRestControllerIntegrationTest extends WC_Unit_Test_Case {
 		// We also have the 3 offline payment methods.
 		$this->assertCount( 3, $data['offline_payment_methods'] );
 		// We get all the suggestions.
-		$this->assertCount( 9, $data['suggestions'] );
+		$this->assertCount( 8, $data['suggestions'] );
 		// Assert we get the suggestion categories.
 		$this->assertCount( 4, $data['suggestion_categories'] );

@@ -683,7 +683,7 @@ class PaymentsRestControllerIntegrationTest extends WC_Unit_Test_Case {
 		// We also have the 3 offline payment methods.
 		$this->assertCount( 3, $data['offline_payment_methods'] );
 		// We get all the suggestions.
-		$this->assertCount( 9, $data['suggestions'] );
+		$this->assertCount( 8, $data['suggestions'] );
 		// Assert we get the suggestion categories.
 		$this->assertCount( 4, $data['suggestion_categories'] );

@@ -881,8 +881,8 @@ class PaymentsRestControllerIntegrationTest extends WC_Unit_Test_Case {

 		// We also have the 3 offline payment methods.
 		$this->assertCount( 3, $data['offline_payment_methods'] );
-		// We don't get BNPL suggestions since WooPayments is active (even if not enabled), so only 6 suggestions are returned.
-		$this->assertCount( 6, $data['suggestions'] );
+		// We don't get BNPL suggestions since WooPayments is active (even if not enabled), so only 5 suggestions are returned.
+		$this->assertCount( 5, $data['suggestions'] );
 		// Assert we get the suggestion categories.
 		$this->assertCount( 4, $data['suggestion_categories'] );

@@ -1095,8 +1095,8 @@ class PaymentsRestControllerIntegrationTest extends WC_Unit_Test_Case {

 		// We also have the 3 offline payment methods.
 		$this->assertCount( 3, $data['offline_payment_methods'] );
-		// We don't get BNPL suggestions since WooPayments is active, so only 6 suggestions are returned.
-		$this->assertCount( 6, $data['suggestions'] );
+		// We don't get BNPL suggestions since WooPayments is active, so only 5 suggestions are returned.
+		$this->assertCount( 5, $data['suggestions'] );
 		// Assert we get the suggestion categories.
 		$this->assertCount( 4, $data['suggestion_categories'] );

@@ -1264,8 +1264,8 @@ class PaymentsRestControllerIntegrationTest extends WC_Unit_Test_Case {

 		// We also have the 3 offline payment methods.
 		$this->assertCount( 3, $data['offline_payment_methods'] );
-		// We get BNPL suggestions since WooPayments or Stripe are not active, so 8 suggestions are returned.
-		$this->assertCount( 8, $data['suggestions'] );
+		// We get BNPL suggestions since WooPayments or Stripe are not active, so 7 suggestions are returned.
+		$this->assertCount( 7, $data['suggestions'] );
 		// Assert we get the suggestion categories.
 		$this->assertCount( 4, $data['suggestion_categories'] );

diff --git a/plugins/woocommerce/tests/php/src/Internal/Admin/Suggestions/fixtures/expected-country-placements.php b/plugins/woocommerce/tests/php/src/Internal/Admin/Suggestions/fixtures/expected-country-placements.php
index 898d5ac76c6..a8e59e355e3 100644
--- a/plugins/woocommerce/tests/php/src/Internal/Admin/Suggestions/fixtures/expected-country-placements.php
+++ b/plugins/woocommerce/tests/php/src/Internal/Admin/Suggestions/fixtures/expected-country-placements.php
@@ -33,7 +33,6 @@ return array(
 			'square',
 			'visa_as',
 			'gocardless',
-			'helcim',
 		),
 		'other_bnpl'      => array(
 			'affirm',
@@ -53,7 +52,6 @@ return array(
 			'square',
 			'visa_as',
 			'airwallex',
-			'helcim',
 		),
 		'other_express_checkout' => array(
 			'amazon_pay',