Commit e4224b457a for woocommerce
commit e4224b457a313a7fd3863f7ae34f9ae73cf3c5c4
Author: Oleksandr Aratovskyi <79862886+oaratovskyi@users.noreply.github.com>
Date: Wed Jan 14 14:08:55 2026 +0200
[Payments NOX] Add N-Genius Online to Recommended Payment Partners (#62747)
* Add NGenius PSP and icon
* Add changelog file
* Fix unit tests
* Add links to ngenuis recommended PSP
* follow up fix
* Small fix in Jordan PSP order
* Update ngenius icon and description
---------
Co-authored-by: oaratovskyi <oleksandr.aratovskyi@automattic.com>
diff --git a/plugins/woocommerce/assets/images/onboarding/icons/ngenius.svg b/plugins/woocommerce/assets/images/onboarding/icons/ngenius.svg
new file mode 100644
index 0000000000..f5ca041da2
--- /dev/null
+++ b/plugins/woocommerce/assets/images/onboarding/icons/ngenius.svg
@@ -0,0 +1 @@
+<svg width="40" height="40" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="#F6F7F7" d="M0 0H40V40H0z"/><path d="M25.85 13.399h-3.574l6.15 7.346L22.35 28h3.573L32 20.745l-6.15-7.346z" fill="#E54360"/><path d="M19.687 14.754c.45.533.785 1.16.999 1.879v-.004c.216.72.323 1.492.323 2.313v9.056h-2.89v-8.103c0-.594-.046-1.16-.138-1.693a4.078 4.078 0 0 0-.507-1.417 2.78 2.78 0 0 0-1.015-.985c-.43-.247-.983-.37-1.66-.37-1.15 0-2.087.437-2.813 1.31-.73.873-1.093 2.038-1.093 3.498V28H8V13.4h2.737s-.186 2.792 0 2.401c.186-.388.53-.755.847-1.094.317-.34.682-.636 1.091-.893A5.444 5.444 0 0 1 15.566 13c.945 0 1.752.158 2.43.475.676.32 1.24.747 1.69 1.279z" fill="#016EAF"/></svg>
diff --git a/plugins/woocommerce/changelog/add-WOOPRD-1614-support-ngenius-psp b/plugins/woocommerce/changelog/add-WOOPRD-1614-support-ngenius-psp
new file mode 100644
index 0000000000..3fc6997411
--- /dev/null
+++ b/plugins/woocommerce/changelog/add-WOOPRD-1614-support-ngenius-psp
@@ -0,0 +1,4 @@
+Significance: minor
+Type: update
+
+Add N-Genius Online to Recommended Payment Partners
diff --git a/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php b/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
index 7ea3963a13..57ce5ff4ab 100644
--- a/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
+++ b/plugins/woocommerce/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
@@ -61,6 +61,7 @@ class PaymentsExtensionSuggestions {
const RAPYD = 'rapyd';
const PAYPAL_BRAINTREE = 'paypal_braintree';
const VISA = 'visa_as';
+ const NGENIUS = 'ngenius';
/*
* The extension types.
@@ -2711,6 +2712,7 @@ class PaymentsExtensionSuggestions {
),
),
self::PAYPAL_FULL_STACK,
+ self::NGENIUS,
self::PAYPAL_WALLET,
),
'KZ' => array(
@@ -2787,6 +2789,7 @@ class PaymentsExtensionSuggestions {
),
self::PAYPAL_FULL_STACK,
self::VISA,
+ self::NGENIUS,
self::PAYPAL_WALLET,
),
'SD' => array(
@@ -2817,6 +2820,7 @@ class PaymentsExtensionSuggestions {
self::PAYONEER,
self::PAYMOB,
self::VISA,
+ self::NGENIUS,
self::PAYPAL_WALLET,
),
'UZ' => array(
@@ -4145,6 +4149,26 @@ class PaymentsExtensionSuggestions {
),
),
),
+ self::NGENIUS => array(
+ '_type' => self::TYPE_PSP,
+ 'title' => esc_html__( 'N-Genius Online', 'woocommerce' ),
+ 'description' => esc_html__( 'Power your business with N-Genius Online—smart, secure, and built for the future', 'woocommerce' ),
+ 'icon' => plugins_url( 'assets/images/onboarding/icons/ngenius.svg', WC_PLUGIN_FILE ),
+ 'plugin' => array(
+ '_type' => self::PLUGIN_TYPE_WPORG,
+ 'slug' => 'ngenius',
+ ),
+ 'links' => array(
+ array(
+ '_type' => PaymentsProviders::LINK_TYPE_ABOUT,
+ 'url' => 'https://woocommerce.com/products/ngenius/',
+ ),
+ array(
+ '_type' => PaymentsProviders::LINK_TYPE_DOCS,
+ 'url' => 'https://woocommerce.com/document/ngenius/',
+ ),
+ ),
+ ),
self::GOCARDLESS => array(
'_type' => self::TYPE_PSP,
'title' => esc_html__( 'GoCardless', 'woocommerce' ),
diff --git a/plugins/woocommerce/tests/php/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestionsTest.php b/plugins/woocommerce/tests/php/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestionsTest.php
index bd2c244ee7..512ec86f4f 100644
--- a/plugins/woocommerce/tests/php/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestionsTest.php
+++ b/plugins/woocommerce/tests/php/src/Internal/Admin/Suggestions/PaymentsExtensionSuggestionsTest.php
@@ -285,14 +285,14 @@ class PaymentsExtensionSuggestionsTest extends WC_Unit_Test_Case {
'BH' => 3,
'IQ' => 1,
'IL' => 2,
- 'JO' => 3,
+ 'JO' => 4,
'KW' => 3,
'LB' => 1,
'OM' => 4,
'PK' => 3,
'QA' => 3,
- 'SA' => 4,
- 'AE' => 7,
+ 'SA' => 5,
+ 'AE' => 8,
'YE' => 1,
'AD' => 3,
'AF' => 1,
@@ -596,14 +596,14 @@ class PaymentsExtensionSuggestionsTest extends WC_Unit_Test_Case {
'BH' => 3,
'IQ' => 1,
'IL' => 2,
- 'JO' => 3,
+ 'JO' => 4,
'KW' => 3,
'LB' => 1,
'OM' => 4,
'PK' => 3,
'QA' => 3,
- 'SA' => 4,
- 'AE' => 7,
+ 'SA' => 5,
+ 'AE' => 8,
'YE' => 1,
'AD' => 3,
'AF' => 1,