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. 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(), ] ]);