From 75fa6bc307514b97db0584ea0d74a9edc5132a84 Mon Sep 17 00:00:00 2001 From: Emili Castells Guasch Date: Mon, 25 Nov 2024 16:18:21 +0100 Subject: [PATCH 1/2] Revert delete HKD and SGD currencies --- modules/ppcp-api-client/services.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ppcp-api-client/services.php b/modules/ppcp-api-client/services.php index be97cd359..b55999eb4 100644 --- a/modules/ppcp-api-client/services.php +++ b/modules/ppcp-api-client/services.php @@ -588,6 +588,7 @@ 'CZK', 'DKK', 'EUR', + 'HKD', 'HUF', 'ILS', 'JPY', @@ -600,6 +601,7 @@ 'PLN', 'GBP', 'RUB', + 'SGD', 'SEK', 'CHF', 'THB', From 6bffc4edeb20e06fbe374cf7bca5b7d7e04d0009 Mon Sep 17 00:00:00 2001 From: Emili Castells Guasch Date: Thu, 28 Nov 2024 16:54:49 +0100 Subject: [PATCH 2/2] Add HKD and SGD currencies and all currencies for US --- modules/ppcp-api-client/services.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/modules/ppcp-api-client/services.php b/modules/ppcp-api-client/services.php index b55999eb4..03aa9ee4e 100644 --- a/modules/ppcp-api-client/services.php +++ b/modules/ppcp-api-client/services.php @@ -621,6 +621,7 @@ 'CZK', 'DKK', 'EUR', + 'HKD', 'GBP', 'HUF', 'ILS', @@ -630,6 +631,7 @@ 'NZD', 'PHP', 'PLN', + 'SGD', 'SEK', 'THB', 'TWD', @@ -677,14 +679,7 @@ 'ES' => $default_currencies, 'SE' => $default_currencies, 'GB' => $default_currencies, - 'US' => array( - 'AUD', - 'CAD', - 'EUR', - 'GBP', - 'JPY', - 'USD', - ), + 'US' => $default_currencies, 'NO' => $default_currencies, ) );