From a55f314ea0c81c9dd8c0495fdb07e17a599a9686 Mon Sep 17 00:00:00 2001 From: rockwellll Date: Wed, 9 Apr 2025 16:35:45 +0300 Subject: [PATCH 1/2] pass the shop currency to our API --- src/Events/AppInstalled.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Events/AppInstalled.php b/src/Events/AppInstalled.php index 2f4e32e..6884226 100644 --- a/src/Events/AppInstalled.php +++ b/src/Events/AppInstalled.php @@ -47,6 +47,7 @@ function hellotext_activate () { 'email' => get_bloginfo('admin_email'), 'consumer_key' => $api_keys->consumer_key, 'consumer_secret' => $api_keys->consumer_secret, + 'currency' => get_woocommerce_currency(), ] ]); From 2432d805c2ad2aa6a2344a9a076dee486019d0f9 Mon Sep 17 00:00:00 2001 From: rockwellll Date: Wed, 9 Apr 2025 16:36:34 +0300 Subject: [PATCH 2/2] update changelog --- changelog.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog.txt b/changelog.txt index f5ab01b..f43466f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,9 @@ ** Hellotext for WooCommerce Changelog ** +2025-04-9 - version 1.2.1 + +* Passes the shop's currency to Hellotext API when the plugin is installed. + 2025-03-03 - version 1.2.0 * Updates API structure to the new format.