From 9ba62a8ebfd242e154ca03408146ae3f74397dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=BCsken?= Date: Tue, 11 Feb 2025 12:16:22 +0100 Subject: [PATCH 1/3] add SG and HK to some services --- modules/ppcp-applepay/services.php | 2 ++ modules/ppcp-card-fields/services.php | 2 ++ modules/ppcp-googlepay/services.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/modules/ppcp-applepay/services.php b/modules/ppcp-applepay/services.php index 586a300ae..7e15dfdd9 100644 --- a/modules/ppcp-applepay/services.php +++ b/modules/ppcp-applepay/services.php @@ -191,6 +191,7 @@ return array( 'FR', // France 'DE', // Germany 'GR', // Greece + 'HK', // Hong Kong 'HU', // Hungary 'IE', // Ireland 'IT', // Italy @@ -204,6 +205,7 @@ return array( 'PL', // Poland 'PT', // Portugal 'RO', // Romania + 'SG', // Singapore 'SK', // Slovakia 'SI', // Slovenia 'ES', // Spain diff --git a/modules/ppcp-card-fields/services.php b/modules/ppcp-card-fields/services.php index 1e32cc4f6..d1bf340b3 100644 --- a/modules/ppcp-card-fields/services.php +++ b/modules/ppcp-card-fields/services.php @@ -43,6 +43,7 @@ return array( 'FR', 'DE', 'GR', + 'HK', 'HU', 'IE', 'IT', @@ -56,6 +57,7 @@ return array( 'PT', 'RO', 'SK', + 'SG', 'SI', 'ES', 'SE', diff --git a/modules/ppcp-googlepay/services.php b/modules/ppcp-googlepay/services.php index f92aa0bd8..3a1df9671 100644 --- a/modules/ppcp-googlepay/services.php +++ b/modules/ppcp-googlepay/services.php @@ -106,6 +106,7 @@ return array( 'FR', // France 'DE', // Germany 'GR', // Greece + 'HK', // Hong Kong 'HU', // Hungary 'IE', // Ireland 'IT', // Italy @@ -119,6 +120,7 @@ return array( 'PL', // Poland 'PT', // Portugal 'RO', // Romania + 'SG', // Singapore 'SK', // Slovakia 'SI', // Slovenia 'ES', // Spain From f3b47d811bb92ae0c43311eba5d36b5be2fd0508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=BCsken?= Date: Thu, 13 Feb 2025 09:54:21 +0100 Subject: [PATCH 2/3] fix missing adding --- modules/ppcp-api-client/services.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ppcp-api-client/services.php b/modules/ppcp-api-client/services.php index 272bfdaf7..422c06202 100644 --- a/modules/ppcp-api-client/services.php +++ b/modules/ppcp-api-client/services.php @@ -671,6 +671,7 @@ return array( 'FR' => $default_currencies, 'DE' => $default_currencies, 'GR' => $default_currencies, + 'HK' => $default_currencies, 'HU' => $default_currencies, 'IE' => $default_currencies, 'IT' => $default_currencies, @@ -688,6 +689,7 @@ return array( 'PT' => $default_currencies, 'RO' => $default_currencies, 'SK' => $default_currencies, + 'SG' => $default_currencies, 'SI' => $default_currencies, 'ES' => $default_currencies, 'SE' => $default_currencies, @@ -736,6 +738,7 @@ return array( 'FR' => $mastercard_visa_amex, 'GB' => $mastercard_visa_amex, 'GR' => $mastercard_visa_amex, + 'HK' => $mastercard_visa_amex, 'HU' => $mastercard_visa_amex, 'IE' => $mastercard_visa_amex, 'IT' => $mastercard_visa_amex, @@ -765,6 +768,7 @@ return array( 'SE' => $mastercard_visa_amex, 'SI' => $mastercard_visa_amex, 'SK' => $mastercard_visa_amex, + 'SG' => $mastercard_visa_amex, 'JP' => array( 'mastercard' => array(), 'visa' => array(), From 90a09e71ad1ba3370b5e22aaa5ad347209a1bd98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=BCsken?= Date: Thu, 13 Feb 2025 12:59:31 +0100 Subject: [PATCH 3/3] add HKD and SGD to Google and Apple Pay --- modules/ppcp-applepay/services.php | 2 ++ modules/ppcp-googlepay/services.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/ppcp-applepay/services.php b/modules/ppcp-applepay/services.php index 7e15dfdd9..48d6fed83 100644 --- a/modules/ppcp-applepay/services.php +++ b/modules/ppcp-applepay/services.php @@ -235,6 +235,7 @@ return array( 'CZK', // Czech Koruna 'DKK', // Danish Krone 'EUR', // Euro + 'HKD', // Hong Kong Dollar 'GBP', // British Pound Sterling 'HUF', // Hungarian Forint 'ILS', // Israeli New Shekel @@ -244,6 +245,7 @@ return array( 'NZD', // New Zealand Dollar 'PHP', // Philippine Peso 'PLN', // Polish Zloty + 'SGD', // Singapur-Dollar 'SEK', // Swedish Krona 'THB', // Thai Baht 'TWD', // New Taiwan Dollar diff --git a/modules/ppcp-googlepay/services.php b/modules/ppcp-googlepay/services.php index 3a1df9671..6d57aee40 100644 --- a/modules/ppcp-googlepay/services.php +++ b/modules/ppcp-googlepay/services.php @@ -150,6 +150,7 @@ return array( 'CZK', // Czech Koruna 'DKK', // Danish Krone 'EUR', // Euro + 'HKD', // Hong Kong Dollar 'GBP', // British Pound Sterling 'HUF', // Hungarian Forint 'ILS', // Israeli New Shekel @@ -159,6 +160,7 @@ return array( 'NZD', // New Zealand Dollar 'PHP', // Philippine Peso 'PLN', // Polish Zloty + 'SGD', // Singapur-Dollar 'SEK', // Swedish Krona 'THB', // Thai Baht 'TWD', // New Taiwan Dollar