Add HK and SG countries to back up wc pay supported lists (https://github.com/woocommerce/woocommerce-admin/pull/7558)
* Add HK and SG countries to back up wc pay supported lists * Add changelog
This commit is contained in:
parent
ea17558e9a
commit
dda9d120b6
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: Update
|
||||
|
||||
Add HK and SG countries to WC Pay intl support. #7558
|
|
@ -68,6 +68,8 @@ export function isWCPaySupported( countryCode ) {
|
|||
'PL',
|
||||
'PT',
|
||||
'CH',
|
||||
'HK',
|
||||
'SG',
|
||||
];
|
||||
|
||||
return supportedCountries.includes( countryCode );
|
||||
|
|
|
@ -252,7 +252,7 @@ class DefaultPaymentGateways {
|
|||
* @return array Array of countries.
|
||||
*/
|
||||
public static function get_wcpay_countries() {
|
||||
return array( 'US', 'PR', 'AU', 'CA', 'DE', 'ES', 'FR', 'GB', 'IE', 'IT', 'NZ', 'AT', 'BE', 'NL', 'PL', 'PT', 'CH' );
|
||||
return array( 'US', 'PR', 'AU', 'CA', 'DE', 'ES', 'FR', 'GB', 'IE', 'IT', 'NZ', 'AT', 'BE', 'NL', 'PL', 'PT', 'CH', 'HK', 'SG' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue