From 1ddbc383590cf5b8d42bf2480b434cc7a0f810e7 Mon Sep 17 00:00:00 2001
From: Philipp Stracker
Date: Thu, 31 Oct 2024 18:49:08 +0100
Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20Update=20supported=20countries?=
=?UTF-8?q?=20for=20casual=20selling?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
modules/ppcp-settings/services.php | 51 ++++++++++++++++++++++++++----
1 file changed, 44 insertions(+), 7 deletions(-)
diff --git a/modules/ppcp-settings/services.php b/modules/ppcp-settings/services.php
index 692e4a8f4..bab12ffb8 100644
--- a/modules/ppcp-settings/services.php
+++ b/modules/ppcp-settings/services.php
@@ -50,16 +50,53 @@ return array(
return new ConnectManualRestEndpoint();
},
'settings.casual-selling.supported-countries' => static function ( ContainerInterface $container ) : array {
- // TODO: This is a dummy list, while we wait for the official eligibility list.
-
return array(
- 'US',
- 'CA',
- 'DE',
- 'ES',
+ 'AR',
+ 'AU',
'AT',
- 'CH',
+ 'BE',
+ 'BR',
+ 'CA',
+ 'CL',
+ 'CN',
+ 'CY',
+ 'CZ',
+ 'DK',
+ 'EE',
+ 'FI',
+ 'FR',
+ 'GR',
+ 'HU',
+ 'ID',
+ 'IE',
+ 'IT',
+ 'JP',
+ 'LV',
+ 'LI',
+ 'LU',
+ 'MY',
+ 'MT',
'NL',
+ 'NZ',
+ 'NO',
+ 'PH',
+ 'PL',
+ 'PT',
+ 'RO',
+ 'RU',
+ 'SM',
+ 'SA',
+ 'SG',
+ 'SK',
+ 'SI',
+ 'ZA',
+ 'KR',
+ 'ES',
+ 'SE',
+ 'TW',
+ 'GB',
+ 'US',
+ 'VN',
);
},
'settings.casual-selling.eligible' => static function ( ContainerInterface $container ) : bool {