Commit afbd92e18ec for woocommerce
commit afbd92e18ec64fd663a738cf3dce2455c805cbcd
Author: Oleksandr Aratovskyi <79862886+oaratovskyi@users.noreply.github.com>
Date: Mon Sep 21 16:18:36 2026 +0300
[Payments NOX] Align GoCardless, Airwallex, and Viva.com recommendations with the partner tracker (#68902)
* fix(payments): Recommend GoCardless in the countries it supports
The partner tracker lists GoCardless in 26 countries. The suggestions only
recommended it in 12, so merchants in the other 14 never saw it. In GB it
was also listed after Kustom Checkout, while the tracker places it before.
Add GoCardless as the last payment provider in ES, GR, IE, IT, LT, LU, LV,
MT, NL, NZ, PT, SE, SI, and SK, matching the tracker's order in each, and
move it ahead of Kustom Checkout in GB.
* fix(payments): Align Airwallex recommendations with the partner tracker
The tracker lists Airwallex in the Netherlands, where the suggestions did
not offer it, and does not list South Korea, where the suggestions did.
Add Airwallex after Viva.com in NL and drop it from KR, which leaves KR
with Visa and PayPal only.
* fix(payments): Recommend Viva.com Smart Checkout in Norway
The tracker lists Norway among the Viva.com Smart Checkout countries, but
the suggestions did not include it there.
Add Viva.com after Visa in NO, matching the tracker's order.
* chore(payments): Add changelog entry for partner recommendation alignment
* Update payment partner recommendations for extensions
Align payment recommendations with partner-supported countries for GoCardless, Airwallex, and Viva.com.
---------
Co-authored-by: Vlad Olaru <vlad.olaru@automattic.com>
diff --git a/plugins/woocommerce/changelog/update-payment-partner-recommendations-tracker-drift b/plugins/woocommerce/changelog/update-payment-partner-recommendations-tracker-drift
new file mode 100644
index 00000000000..1823e4844e6
--- /dev/null
+++ b/plugins/woocommerce/changelog/update-payment-partner-recommendations-tracker-drift
@@ -0,0 +1,4 @@
+Significance: minor
+Type: update
+
+Update GoCardless, Airwallex, and Viva.com Smart Checkout payments extension suggestions.
diff --git a/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php b/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
index e01d4d5481c..d88d4eeeead 100644
--- a/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
+++ b/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
@@ -263,8 +263,8 @@ class PaymentsExtensionSuggestions {
self::VISA,
self::AIRWALLEX,
self::VIVA_WALLET,
- self::KUSTOM_CHECKOUT,
self::GOCARDLESS,
+ self::KUSTOM_CHECKOUT,
self::ELAVON,
self::PAYPAL_WALLET,
self::AMAZON_PAY,
@@ -722,6 +722,7 @@ class PaymentsExtensionSuggestions {
self::MOLLIE,
self::VISA,
self::VIVA_WALLET,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
self::KLARNA => array(
'_merge_on_type' => array(
@@ -820,6 +821,7 @@ class PaymentsExtensionSuggestions {
self::VISA,
self::AIRWALLEX,
self::VIVA_WALLET,
+ self::GOCARDLESS,
self::ELAVON,
self::PAYPAL_WALLET,
self::AMAZON_PAY,
@@ -853,6 +855,7 @@ class PaymentsExtensionSuggestions {
self::VISA,
self::AIRWALLEX,
self::VIVA_WALLET,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
self::AMAZON_PAY,
self::KLARNA => array(
@@ -883,6 +886,7 @@ class PaymentsExtensionSuggestions {
self::STRIPE,
self::MOLLIE,
self::VISA,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
),
'LI' => array(
@@ -903,6 +907,7 @@ class PaymentsExtensionSuggestions {
self::MOLLIE,
self::VISA,
self::AIRWALLEX,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
),
'LU' => array(
@@ -912,6 +917,7 @@ class PaymentsExtensionSuggestions {
self::MOLLIE,
self::VISA,
self::VIVA_WALLET,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
self::AMAZON_PAY,
),
@@ -922,6 +928,7 @@ class PaymentsExtensionSuggestions {
self::MOLLIE,
self::VISA,
self::VIVA_WALLET,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
),
'MD' => array(
@@ -959,7 +966,9 @@ class PaymentsExtensionSuggestions {
self::MOLLIE,
self::VISA,
self::VIVA_WALLET,
+ self::AIRWALLEX,
self::KUSTOM_CHECKOUT,
+ self::GOCARDLESS,
self::ELAVON,
self::PAYPAL_WALLET,
self::AMAZON_PAY,
@@ -991,6 +1000,7 @@ class PaymentsExtensionSuggestions {
self::STRIPE,
self::MOLLIE,
self::VISA,
+ self::VIVA_WALLET,
self::KUSTOM_CHECKOUT,
self::NEXI_CHECKOUT,
self::ELAVON,
@@ -1043,6 +1053,7 @@ class PaymentsExtensionSuggestions {
self::VISA,
self::AIRWALLEX,
self::VIVA_WALLET,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
self::AMAZON_PAY,
self::KLARNA => array(
@@ -1117,6 +1128,7 @@ class PaymentsExtensionSuggestions {
self::STRIPE,
self::MOLLIE,
self::VISA,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
self::KLARNA => array(
'_merge_on_type' => array(
@@ -1139,6 +1151,7 @@ class PaymentsExtensionSuggestions {
self::STRIPE,
self::MOLLIE,
self::VISA,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
),
'ES' => array(
@@ -1164,6 +1177,7 @@ class PaymentsExtensionSuggestions {
self::MONEI,
self::AIRWALLEX,
self::VIVA_WALLET,
+ self::GOCARDLESS,
self::ELAVON,
self::PAYPAL_WALLET,
self::AMAZON_PAY,
@@ -1198,6 +1212,7 @@ class PaymentsExtensionSuggestions {
self::VIVA_WALLET,
self::KUSTOM_CHECKOUT,
self::NEXI_CHECKOUT,
+ self::GOCARDLESS,
self::ELAVON,
self::PAYPAL_WALLET,
self::AMAZON_PAY,
@@ -2059,6 +2074,7 @@ class PaymentsExtensionSuggestions {
),
self::VISA,
self::AIRWALLEX,
+ self::GOCARDLESS,
self::PAYPAL_WALLET,
self::AFTERPAY,
self::KLARNA => array(
@@ -2168,7 +2184,6 @@ class PaymentsExtensionSuggestions {
),
),
self::PAYPAL_FULL_STACK,
- self::AIRWALLEX,
self::PAYPAL_WALLET,
),
'TW' => array(
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 41e2bb0f868..2c956904c9a 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
@@ -77,8 +77,8 @@ return array(
'visa_as',
'airwallex',
'viva_wallet',
- 'kustom_checkout',
'gocardless',
+ 'kustom_checkout',
'elavon',
),
'other_express_checkout' => array(
@@ -314,6 +314,7 @@ return array(
'mollie',
'visa_as',
'viva_wallet',
+ 'gocardless',
),
'other_bnpl' => array(
'klarna',
@@ -363,6 +364,7 @@ return array(
'visa_as',
'airwallex',
'viva_wallet',
+ 'gocardless',
'elavon',
),
'other_express_checkout' => array(
@@ -384,6 +386,7 @@ return array(
'visa_as',
'airwallex',
'viva_wallet',
+ 'gocardless',
),
'other_express_checkout' => array(
'amazon_pay',
@@ -402,6 +405,7 @@ return array(
'stripe',
'mollie',
'visa_as',
+ 'gocardless',
),
),
'LI' => array(
@@ -420,6 +424,7 @@ return array(
'mollie',
'visa_as',
'airwallex',
+ 'gocardless',
),
),
'LU' => array(
@@ -430,6 +435,7 @@ return array(
'mollie',
'visa_as',
'viva_wallet',
+ 'gocardless',
),
'other_express_checkout' => array(
'amazon_pay',
@@ -443,6 +449,7 @@ return array(
'mollie',
'visa_as',
'viva_wallet',
+ 'gocardless',
),
),
'MD' => array(
@@ -464,7 +471,9 @@ return array(
'mollie',
'visa_as',
'viva_wallet',
+ 'airwallex',
'kustom_checkout',
+ 'gocardless',
'elavon',
),
'other_express_checkout' => array(
@@ -484,6 +493,7 @@ return array(
'stripe',
'mollie',
'visa_as',
+ 'viva_wallet',
'kustom_checkout',
'nexi_checkout',
'elavon',
@@ -516,6 +526,7 @@ return array(
'visa_as',
'airwallex',
'viva_wallet',
+ 'gocardless',
),
'other_express_checkout' => array(
'amazon_pay',
@@ -555,6 +566,7 @@ return array(
'stripe',
'mollie',
'visa_as',
+ 'gocardless',
),
'other_bnpl' => array(
'klarna',
@@ -567,6 +579,7 @@ return array(
'stripe',
'mollie',
'visa_as',
+ 'gocardless',
),
),
'ES' => array(
@@ -581,6 +594,7 @@ return array(
'monei',
'airwallex',
'viva_wallet',
+ 'gocardless',
'elavon',
),
'other_express_checkout' => array(
@@ -603,6 +617,7 @@ return array(
'viva_wallet',
'kustom_checkout',
'nexi_checkout',
+ 'gocardless',
'elavon',
),
'other_express_checkout' => array(
@@ -1236,6 +1251,7 @@ return array(
'eway',
'visa_as',
'airwallex',
+ 'gocardless',
),
'other_bnpl' => array(
'afterpay',
@@ -1293,9 +1309,6 @@ return array(
'KR' => array(
'primary_psp' => 'visa_as',
'primary_apm' => 'paypal_full_stack',
- 'other_psp' => array(
- 'airwallex',
- ),
),
'TW' => array(
'primary_psp' => 'visa_as',