mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge pull request #2748 from woocommerce/PCP-3820-casual-selling-country-list
Update country list to determine casual selling availability (3813)
This commit is contained in:
commit
d5745709d8
1 changed files with 44 additions and 7 deletions
|
@ -50,16 +50,53 @@ return array(
|
||||||
return new ConnectManualRestEndpoint();
|
return new ConnectManualRestEndpoint();
|
||||||
},
|
},
|
||||||
'settings.casual-selling.supported-countries' => static function ( ContainerInterface $container ) : array {
|
'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(
|
return array(
|
||||||
'US',
|
'AR',
|
||||||
'CA',
|
'AU',
|
||||||
'DE',
|
|
||||||
'ES',
|
|
||||||
'AT',
|
'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',
|
'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 {
|
'settings.casual-selling.eligible' => static function ( ContainerInterface $container ) : bool {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue