{"id":77913,"date":"2017-11-22T20:25:46","date_gmt":"2017-11-22T20:25:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/solo-api-woocommerce-integration\/"},"modified":"2024-01-16T14:21:31","modified_gmt":"2024-01-16T14:21:31","slug":"woo-solo-api","status":"closed","type":"plugin","link":"https:\/\/sk.wordpress.org\/plugins\/woo-solo-api\/","author":13926664,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.3.0","stable_tag":"3.3.0","tested":"6.4.8","requires":"6.1","requires_php":"7.4","requires_plugins":null,"header_name":"Woo Solo Api","header_author":"Denis \u017doljom","header_description":"This plugin provides integration of the SOLO API service with WooCommerce.","assets_banners_color":"ffffff","last_updated":"2024-01-16 14:21:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/madebydenis.com\/woo-solo-api","header_author_uri":"https:\/\/madebydenis.com","rating":5,"author_block_rating":4,"active_installs":30,"downloads":8750,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":1,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.1":{"tag":"1.1","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.2":{"tag":"1.2","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.3":{"tag":"1.3","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.4":{"tag":"1.4","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.5":{"tag":"1.5","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.6":{"tag":"1.6","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.7":{"tag":"1.7","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.7.5":{"tag":"1.7.5","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.8.0":{"tag":"1.8.0","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.8.1":{"tag":"1.8.1","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.9.0":{"tag":"1.9.0","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.9.1":{"tag":"1.9.1","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.9.2":{"tag":"1.9.2","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.9.3":{"tag":"1.9.3","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.9.4":{"tag":"1.9.4","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.9.5":{"tag":"1.9.5","author":"dingo_d","date":"2019-06-27 08:37:13"},"1.9.6":{"tag":"1.9.6","author":"dingo_d","date":"2019-06-27 08:37:13"},"2.0.0":{"tag":"2.0.0","author":"dingo_d","date":"2020-11-22 16:41:01"},"2.0.1":{"tag":"2.0.1","author":"dingo_d","date":"2020-11-23 06:53:11"},"2.0.2":{"tag":"2.0.2","author":"dingo_d","date":"2020-11-24 11:29:45"},"2.0.3":{"tag":"2.0.3","author":"dingo_d","date":"2020-11-25 08:54:06"},"2.0.4":{"tag":"2.0.4","author":"dingo_d","date":"2020-11-28 10:46:01"},"2.0.5":{"tag":"2.0.5","author":"dingo_d","date":"2020-11-30 08:15:31"},"2.0.6":{"tag":"2.0.6","author":"dingo_d","date":"2020-11-30 08:15:31"},"2.0.7":{"tag":"2.0.7","author":"dingo_d","date":"2020-12-28 08:52:29"},"2.0.8":{"tag":"2.0.8","author":"dingo_d","date":"2020-12-29 10:03:15"},"2.1.0":{"tag":"2.1.0","author":"dingo_d","date":"2021-03-07 17:03:55"},"2.2.0":{"tag":"2.2.0","author":"dingo_d","date":"2022-01-18 16:17:13"},"2.3.0":{"tag":"2.3.0","author":"dingo_d","date":"2023-01-04 22:52:40"},"3.0.0":{"tag":"3.0.0","author":"dingo_d","date":"2023-01-30 13:30:49"},"3.0.1":{"tag":"3.0.1","author":"dingo_d","date":"2023-01-31 08:43:29"},"3.1.0":{"tag":"3.1.0","author":"dingo_d","date":"2023-08-09 08:20:06"},"3.1.1":{"tag":"3.1.1","author":"dingo_d","date":"2023-08-09 09:57:35"},"3.2.0":{"tag":"3.2.0","author":"dingo_d","date":"2023-08-30 17:32:16"},"3.3.0":{"tag":"3.3.0","author":"dingo_d","date":"2024-01-16 14:21:31"}},"upgrade_notice":{"Version 2 update":"<p>This is a very big update. I called this the refactor, because the basic functionality of the plugin remained the same. But in all reality, this was a total plugin rewrite.<\/p>\n\n<p>The options remained the same, so none of the settings on an already existing version should disappear. Plugin will\n need to be disabled and then enabled again once updated, so that the database table can be created.<\/p>\n\n<p>There is one bug that is coming from the fact that the new settings page is built using Gutenberg blocks. Due to a nature of translations and how they work in GB, and the fact that I&#039;m relying on webpack to bundle my assets. The translations are not working properly. There is an issue opened in WP-CLI (https:\/\/github.com\/wp-cli\/i18n-command\/issues\/200), but so far we don&#039;t have a fix for this. Once the fix comes out I&#039;ll update the plugin&#039;s translation files. The plugin&#039;s .po file is fully translated to Croatian, but we need a json file as well for the JavaScript translations.<\/p>\n\n<p>The options page has been revamped and is built using Gutenberg components. So that&#039;s nice.<\/p>\n\n<p>Api calls towards Solo service are now run as a background process. So don&#039;t be alarmed if the order doesn&#039;t appear immediately, or if the Solo invoice\/order doesn&#039;t come immediately to the customer. Give it some time, and rummage around a bit, to trigger WordPress cron :D<\/p>\n\n<p>A lot of issues were fixed. The plugin should be more stable and work better now.<\/p>\n\n<p>&#039;&#039;&#039;Hrvatski prijevod&#039;&#039;&#039;:<\/p>\n\n<p>Ovo je veoma veliki update dodatka. Funkcionalnosti dodatka su ostale iste, ali je na\u010din na koji dodatak radi veoma izmjenjen. Da bi plugin radio, va\u0161 server mora podr\u017eavati PHP 7.3 ili 7.4.<\/p>\n\n<p>Prilikom updatea, trebat ce te ga onemogu\u0107iti i ponovo omogu\u0107iti, da biste kreirali novu tablicu u bazi, koja slu\u017ei za provjeru jesu li se ra\u010dun\/ponuda poslali na Solo servis. Nemojte deinstalirati dodatak, jer to ce maknuti sve podatke koje imate spremljene (sve opcije).<\/p>\n\n<p>Postoji jedan bug koji je posljedica toga kako se kod pakira i \u010dinjenice da se koriste Gutenberg komponente kod kreiranja stranica opcija plugina. Iako prijevod postoji (.po i .mo file sa prijevodima su uklju\u010dene u plugin), na\u010din na koji Gutenberg kontrolira prijevod, zna\u010di da trenutno ne mo\u017ee dohvatiti te prijevode (https:\/\/github.com\/wp-cli\/i18n-command\/issues\/200). Stoga \u0107e opcije dodatka biti na engleskom jeziku, dokle god se taj problem ne rije\u0161i.<\/p>\n\n<p>Tako\u0111er, api pozivi prema Solo servisu se izvr\u0161avaju kao pozadinski procesi. To zna\u010di da kupac ne\u0107e odmah dobiti e-mail s ra\u010dunom\/ponudom koja je generirana na Solo servisu, nego \u0107e se to desiti nakon 15ak do 30ak sekundi. Po\u0161to se koristi WordPressov cron za tu funkcionalnost, bitno je da netko bude prisutan na stranici i da se navigira po njoj (ili u adminu ili na frontu). To je jednostavno kako WordPressov cron funkcionira. Razlog za\u0161to su se ti pozivi morali napraviti kao pozadinski procesi, jest to da Solo API ima za\u0161titu od napada napravljenu da se unutar 15 sekundi ne smiju desiti dva API poziva, ina\u010de bit takvi pozivi bili odba\u010deni, i korisnik ne bi dobio PDF ra\u010dun ili se ne bi kreirala ponuda\/ra\u010dun na Solo servisu.<\/p>\n\n<p>Osim toga, dosta problema je rije\u0161eno sa ovim updateom, CorvusPay i Braintree integracije su prepoznate i rade sa dodatkom.<\/p>","1.9.4 Version privacy fix":"<p>Pre 1.9.4 update the offers were saved to a <code>wp-content\/uploads\/ponude<\/code> folder and sent to clients. An oversight on my part was not counting on the GDPR and the people&#039;s privacy. It was an honest mistake. And one I learned about because one of my client notified me about that due to the fact that his customer could see hers personal information coming from the sent pdf&#039;s.\nBecause of that fact I will no longer force the plugin to save the pdf&#039;s. Once they were sent to the customer the plugin will delete them from the server.<\/p>\n\n<p><strong>Caution<\/strong><\/p>\n\n<p>The new update will delete your old offers, so if you want to save them, you need to do that manually before a new offer is sent.<\/p>\n\n<p>Then you should go to https:\/\/www.google.com\/webmasters\/tools\/removals and request google to remove the search results for your invoices or offers.<\/p>\n\n<p>I am truly sorry for this oversight, it wasn&#039;t done with intention.<\/p>","1.5 Currency rate update":"<p>The 1.5 update fixed the currency rate. I parsed the results from https:\/\/www.hnb.hr\/tecajn\/htecajn.htm and created my own currency rate array. I also tested it with included taxes and it seems to be working ok. If for any reason the taxes are not being calculated or pulled in the solo api, there must be some third party plugin that is messing stuff up. Be mindful of that.<\/p>","1.4 Tax and tax rates fixes":"<p>The 1.4 update fixed a lot of issues with the taxes, and tax rates. Although this has been fixed, the taxes probably won&#039;t be picked up by the SOLO API if you set the option in the WooCommerce to include taxes in the price of the product. This is why you should separate the two. Also when creating a shipping tax class, be sure to create it as a separate class, and leave the standard tax class for the product. So for instance the product will have a standard tax of 5%, and the shipping can have a separate class with tax rate of 25% (be sure to tick the shipping checkbox in this class).\nThe including prices will be fixed in the next update.<\/p>","1.3 Taxes fixes":"<p>The 1.3 update removed the predefined tax rates from the plugin, and is instead using WooCommerce taxes.\nThis means that you can have different tax for the item, and different for the shipping. Word of caution though, the Croatian law has predefined taxes of 0, 5, 13 or 25%. So in case you put the tax for the item and shipping anything other than that, the tax rate will be sent as 0 - so that your SOLO invoice or offer will pass, but with 0 tax rate.<\/p>\n\n<p>Also be sure to separate those two taxes. For instance you can set the item tax rate as a standard tax rate, and then the shipping tax can be set as a reduced tax rate, and then just set the Shipping tax class to reduced tax rate in the WooCommerce options. If you put everything as a standard one, the tax rates will get mixed and the end price won&#039;t be correct (not sure how else to handle this since WooCommerce has a weird tax system).<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":4},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2427706,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2427706,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2427706,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.7.5","1.8.0","1.8.1","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.1.0","2.2.0","2.3.0","3.0.0","3.0.1","3.1.0","3.1.1","3.2.0","3.3.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2857118,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2857118,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2857118,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2857118,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2857118,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2857118,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"After installation, you can go to the plugin settings and add your SOLO token","2":"You can set up various options that are directly linked to how you want the invoice to look like","3":"You can add some additional WooCommerce settings such as PIN and IBAN fields","4":"You can add the mail settings that will be sent (if you choose to) to the client when the order is completed","5":"You can test if your API key works properly and that communication with the Solo API works","6":"You can check the sent orders, whether the order was sent to API, and if the customer got the PDF or not (or if error happened on the API)"}},"plugin_section":[],"plugin_tags":[1556,89213,58389,149733,286],"plugin_category":[45],"plugin_contributors":[97293],"plugin_business_model":[],"class_list":["post-77913","plugin","type-plugin","status-closed","hentry","plugin_tags-api","plugin_tags-api-integration","plugin_tags-solo","plugin_tags-solo-api","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-dingo_d","plugin_committers-dingo_d"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/woo-solo-api_ffffff.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/woo-solo-api\/assets\/screenshot-1.png?rev=2857118","caption":"After installation, you can go to the plugin settings and add your SOLO token"},{"src":"https:\/\/ps.w.org\/woo-solo-api\/assets\/screenshot-2.png?rev=2857118","caption":"You can set up various options that are directly linked to how you want the invoice to look like"},{"src":"https:\/\/ps.w.org\/woo-solo-api\/assets\/screenshot-3.png?rev=2857118","caption":"You can add some additional WooCommerce settings such as PIN and IBAN fields"},{"src":"https:\/\/ps.w.org\/woo-solo-api\/assets\/screenshot-4.png?rev=2857118","caption":"You can add the mail settings that will be sent (if you choose to) to the client when the order is completed"},{"src":"https:\/\/ps.w.org\/woo-solo-api\/assets\/screenshot-5.png?rev=2857118","caption":"You can test if your API key works properly and that communication with the Solo API works"},{"src":"https:\/\/ps.w.org\/woo-solo-api\/assets\/screenshot-6.png?rev=2857118","caption":"You can check the sent orders, whether the order was sent to API, and if the customer got the PDF or not (or if error happened on the API)"}],"raw_content":"<!--section=description-->\n<p>Woo Solo Api plugin will integrate with your checkout process, and will send the API request with\nthe order details to the SOLO service which will in turn create a PDF of the invoice or order on your SOLO dashboard.<\/p>\n\n<p>Additionally, the invoice or order will be stored on your site, and you'll have the option of sending this PDF as a separate\nmail to the client.<\/p>\n\n<p>There is an entire options page where you can specify the details of the order or the invoice such as unit measure, payment\noptions, language of the invoice, currency and others.<\/p>\n\n<p>The plugin is translated to Croatian, since the SOLO service is primarily used by Croatian users.<\/p>\n\n<p>For more information about the SOLO API visit this link: https:\/\/solo.com.hr\/api-dokumentacija<\/p>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>PHP 7.4 or greater<\/li>\n<li>WordPress 6.0 or above<\/li>\n<li>WooCommerce 7.0.0 or above<\/li>\n<li>Non IE browser<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Installing the plugin is easy. Just follow these steps:<\/p>\n\n<p><strong>Installing from WordPress repository:<\/strong><\/p>\n\n<p>Be sure you have WooCommerce plugin installed first, otherwise you'll get an error on the plugin activation.<\/p>\n\n<ol>\n<li>From the dashboard of your site, navigate to Plugins --&gt; Add New.<\/li>\n<li>In the Search type Woo Solo Api<\/li>\n<li>Click Install Now<\/li>\n<li>When it's finished, activate the plugin via the prompt. A message will show confirming activation was successful.<\/li>\n<\/ol>\n\n<p><strong>Uploading the .zip file:<\/strong><\/p>\n\n<ol>\n<li>From the dashboard of your site, navigate to Plugins --&gt; Add New.<\/li>\n<li>Select the Upload option and hit \"Choose File.\"<\/li>\n<li>When the popup appears select the woo-solo-api.x.x.zip file from your desktop. (The 'x.x' will change depending on the current version number).<\/li>\n<li>Follow the on-screen instructions and wait as the upload completes.<\/li>\n<li>When it's finished, activate the plugin via the prompt. A message will show confirming activation was successful.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='why%20is%20the%20php%207.3%20required%3F'><h3>Why is the PHP 7.3 required?<\/h3><\/dt>\n<dd><p>PHP 7.4 is in the end of life(https:\/\/www.php.net\/supported-versions.php) phase. You should really move on to PHP 8.<\/p>\n\n<p>If you have older PHP versions, you are not only doing a disservice to the planet, you're also harming your own site speed and security. You can always ask your hosting provider to fix this for you, or if you have control over cPanel on shared hosting, you are likely to be able to update PHP version yourself. Just make sure you tick all the required PHP\nextensions (https:\/\/make.wordpress.org\/hosting\/handbook\/handbook\/server-environment\/#php-extensions).<\/p><\/dd>\n<dt id='i%20didn%27t%20receive%20an%20invoice%20when%20testing%20the%20plugin.%20what%27s%20wrong%3F'><h3>I didn't receive an invoice when testing the plugin. What's wrong?<\/h3><\/dt>\n<dd><p>Give it a minute, scroll your site. The API communication happens using WP cron, which depends on the site activity to work. You can always check the 'Solo API order details' tab in the settings to see if there was some error from the API.\nIf that fails, turn on the debug mode (https:\/\/wordpress.org\/support\/article\/debugging-in-wordpress\/) and try to test again. If there was a fatal error it should be shown in the logs.<\/p>\n\n<p>In the version 3 of the plugin, for every failed request you'll be able to see the error and try to rerun the call towards the API.<\/p><\/dd>\n<dt id='this%20plugin%20doesn%27t%20work%20with%20xyz%20plugin'><h3>This plugin doesn't work with XYZ plugin<\/h3><\/dt>\n<dd><p>Could be. I didn't test it out with every plugin in the wild. That takes time. And money. In the near future I might be able to do some paid work, but that will depend on many things.<\/p>\n\n<p>Please don't try to guilt-trip me to work on your site specific issues. I will try to help to the best of my abilities.\nBut the plugin is free, so don't expect me to work miracles. Also, don't expect me to\ndrop everything just to work on your issue. If I don't answer in a day or two, be patient. I have a private life as\nwell (shocker, I know) :D<\/p>\n\n<p>If you want me to add a new feature to the plugin you can contact me and pay me to work on the feature you need. My rate is 50\u20ac\/hr.<\/p>\n\n<p>Note that some features are not possible to make within this plugin. For instance, some apps and plugins will utilize WooCommerce REST API endpoints to trigger orders. Their API is poorly written, and when you do these kind of actions, the hooks that will look if something changed won't get triggered, which means this plugin cannot know of the order status. It is what it is. I could make some kind of listener\/cron jobs to manually check these things, but this is a paid feature.<\/p><\/dd>\n<dt id='can%20i%20modify%20how%20the%20email%20looks%2C%20or%20customer%20notice%3F'><h3>Can I modify how the email looks, or customer notice?<\/h3><\/dt>\n<dd><p>Sure you can, besides actually adding things in the settings of the plugin you can modify certain things using these hooks:<\/p>\n\n\n\n<p>Overwrite the checkout request for specific payment cases<\/p>\n\n<p>This filter is used if you have globally selected the API request to happen on\nmanual status change of the order, but you want to allow some payment gateways to\nexecute on the checkout.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_overwrite_request_on_checkout', 'my_payment_processor_overwrite', 10, 2);\n\nfunction my_payment_processor_overwrite($sendControl, $order) {\n  \/\/ Say we want to allow api call on checkout for direct bank transfer (bacs),\n  \/\/ and all others on status change.\n\n  \/\/ Check the payment gateway from the order.\n  $paymentMethod = $order-&gt;get_payment_method();\n\n  \/\/ Check if the current payment method is the one you want to overwrite.\n  if ($paymentMethod === 'bacs') {\n    return 'checkout';\n  }\n\n  \/\/ Default fallback.\n  return $sendControl;\n}\n\n\n\n@param string $sendControl Type of send control. Can be 'checkout' or 'status_change'.\n@param WC_Order $order Order object.\n<\/code><\/pre>\n\n\n\n<p>Filters the custom message for customer note<\/p>\n\n<p>If you need to extend the customer note, you can just hook to this filter\nand modify the existing content<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_customer_note', 'my_customer_filter', 10, 2);\n\nfunction my_customer_filter($customerNote, $order) {\n  \/\/ (maybe) modify $customerNote.\n  return $customerNote;\n}\n\n\n\n@param string $customerNote Existing customer note.\n@param WC_Order $order Order object\n<\/code><\/pre>\n\n\n\n<p>Filters the Solo API request body before it's being prepared for sending<\/p>\n\n<p>If you need to modify the request towards the SOLO API,\nyou can just hook to this filter and modify the request body.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_request_body', 'my_customer_filter', 10, 2);\n\nfunction my_customer_filter($requestBody, $order) {\n  \/\/ (maybe) modify $requestBody.\n  return $requestBody;\n}\n\n\n\n@param array $requestBody Existing customer note.\n<\/code><\/pre>\n\n\n\n<p>Modify the email message from the options<\/p>\n\n<p>Email message can be set in the options and will be outputted here.\nIf, for whatever reason we want to modify it some more, we can do that here.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_options_email_message', 'my_message_filter', 10, 3);\n\nfunction my_message_filter($emailMessage, $orderId, $email) {\n  \/\/ (maybe) modify $emailMessage.\n  return $emailMessage;\n}\n\n\n\n@param string $emailMessage Email message from options to filter.\n@param int    $orderId Order ID.\n@param string $email Email address of the person for whom this message needs to be send to.\n<\/code><\/pre>\n\n\n\n<p>Modify the default email message<\/p>\n\n<p>If you don't set the message in the options, you can still filter the default one.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_default_email_message', 'my_message_filter', 10, 3);\n\nfunction my_message_filter($defaultMessage, $orderId, $email) {\n  \/\/ (maybe) modify $defaultMessage.\n  return $defaultMessage;\n}\n\n\n\n@param string $defaultMessage Email message to filter.\n@param int    $orderId Order ID.\n@param string $email Email address of the person for whom this message needs to be send to.\n<\/code><\/pre>\n\n\n\n<p>Modify the email title from the options<\/p>\n\n<p>Email title for the customer can be set in the options,\nbut you can modify it further with this filter.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_options_email_title', 'my_title_filter', 10, 2);\n\nfunction my_title_filter($emailTitle, $orderId) {\n  \/\/ (maybe) modify $emailTitle.\n  return $emailTitle;\n}\n\n\n\n@param string $emailTitle Email title.\n@param int    $orderId Order ID.\n<\/code><\/pre>\n\n\n\n<p>Modify the default email title from the options<\/p>\n\n<p>If you don't use the title from the options, you can use default one.\nAnd modify it.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_default_email_title', 'my_title_filter', 10, 2);\n\nfunction my_title_filter($defaultTitle, $orderId) {\n  \/\/ (maybe) modify $defaultTitle.\n  return $defaultTitle;\n}\n\n\n\n@param string $emailTitle Email title.\n@param int    $orderId Order ID.\n<\/code><\/pre>\n\n\n\n<p>Filter email headers<\/p>\n\n<p>When email to customer is sent, maybe you want to add something more. In that\ncase you'll probably need to modify the headers sent with the email.\nDefault ones are<\/p>\n\n<pre><code>[\n    'MIME-Version: 1.0',\n    'Content-Type: text\/html',\n];\n<\/code><\/pre>\n\n<p>You can add to that list.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_email_headers', 'my_custom_email_headers', 10);\n\nfunction my_custom_email_headers($headers) {\n  \/\/ (maybe) modify $headers.\n  return $headers;\n}\n\n\n\n@param array $headers Email headers to pass to wp_mail.\n<\/code><\/pre>\n\n\n\n<p>Filter the 'from' name set from the options<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_change_email_from_name', 'my_custom_from_name', 10);\n\nfunction my_custom_from_name($name) {\n  \/\/ (maybe) modify $name.\n  return $name;\n}\n\n\n\n@param string $name Name to change in the \"From\" field.\n<\/code><\/pre>\n\n\n\n<p>Adds a global discount<\/p>\n\n<p>WooCommerce will handle counting the discounts for us.\nThis is why this is set to 0.\nWe can hook into this if we want to change it.\nBut this hook will affect every item. So use it with care.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_add_global_discount', 'my_global_discount', 10, 1);\n\nfunction my_global_discount($globalDiscount) {\n  \/\/ (maybe) modify $globalDiscount.\n  return $globalDiscount;\n}\n\n\n\n@param int $globalDiscount The value of the global discount to apply to every item.\n<\/code><\/pre>\n\n\n\n<p>Modify tax rates<\/p>\n\n<p>This hook is used to set different tax rates for items based on certain criteria.\nFor instance, if you want to modify taxes based on location you can change it here\n(if for some reason it's not working from the default settings).<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_tax_rate', 'my_tax_rate', 10, 3);\n\nfunction my_tax_rate($taxRate, $itemData, $taxRates) {\n  \/\/ (maybe) modify $taxRate.\n  return $taxRate;\n}\n\n\n\n@param float $taxRate  The value of the tax rate for the current order item.\n@param array $itemData The data for the current order item.\n@param array $taxRates The value of the tax rates for the current order item.\n<\/code><\/pre>\n\n\n\n<p>Modify the bill type<\/p>\n\n<p>Use this filter if you need to dynamically change the bill type.<\/p>\n\n<p>Usage:<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_bill_type', 'my_customer_filter', 10, 3);\n\nfunction my_customer_filter($billType, $paymentMethod, $order) {\n  \/\/ (maybe) modify $billType, based on some external parameters or $paymentMethod or $order.\n  return $billType;\n}\n\n\n\n@param string $billType Existing bill type.\n@param string $paymentMethod Selected payment method for the current order.\n@param object|WC_Order $order Current order.\n<\/code><\/pre>\n\n\n\n<p>Filter the unit measure for the current item<\/p>\n\n<p>Use this filter if you need to dynamically change measure for the item.\nUnit measure <em>MUST<\/em> be an integer in the list of measures (check the API documentation for details).<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_item_measure', 'my_customer_filter', 10, 4);\n\nfunction my_customer_filter($measure, $itemNo, $order, $itemData) {\n  \/\/ Modify multiple item numbers in your order based on some settings, meta value, etc.\n  switch ($itemNo) {\n    case 0:\n      $measure = 7;\n      break;\n    case 1:\n      $measure = 19;\n      break;\n    default:\n      $measure = 2;\n      break;\n  }\n\n  \/\/ Or filter based on $order object or $itemData which contains other information about the product.\n\n  return $measure;\n}\n\n\n\n@param int $measure Current unit measure.\n@param int $itemNo Current item in the list.\n@param object|WC_Order $order Current order.\n@param array $itemData Current item data.\n<\/code><\/pre>\n\n\n\n<p>Filter the unit measure for the current shipping item<\/p>\n\n<p>Use this filter if you need to dynamically change measure for the shipping item.\nUnit measure <em>MUST<\/em> be an integer corresponding to the list of measures.<\/p>\n\n<p>Be careful when changing the measure using the above filter, as the shipping item should probably be a <code>piece (2)<\/code>.<\/p>\n\n<pre><code>add_filter('woo_solo_api_modify_shipping_item_measure', 'my_customer_filter', 10, 4);\n\nfunction my_customer_filter($measure, $itemNo, $order, $itemData) {\n    return 2; \/\/ Corresponds to: piece.\n}\n\n\n\n@param int $measure Current shipping unit measure. Will be picked up by whatever is in the default measure.\n@param int $itemNo Current item in the list.\n@param object|WC_Order $order Current order.\n@param object|null $shippingObject Current shipping item data.\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.3.0<\/h4>\n\n<p>Release Date: January 16th, 2024<\/p>\n\n<h3>Added<\/h3>\n\n<ul>\n<li>Additional api response errors in case of an email sending failure, for easier debugging<\/li>\n<\/ul>\n\n<h3>Fixed<\/h3>\n\n<ul>\n<li>Extended the timeout value of fetching PDF from Solo service<\/li>\n<\/ul>\n\n<h3>Changed<\/h3>\n\n<ul>\n<li>Minor package updates<\/li>\n<\/ul>\n\n<h4>3.2.0<\/h4>\n\n<p>Release Date: August 30th, 2023<\/p>\n\n<h3>Added<\/h3>\n\n<ul>\n<li>New filter for the address order field<\/li>\n<li>0 days due date option for the order<\/li>\n<\/ul>\n\n<h3>Fixed<\/h3>\n\n<ul>\n<li>Fix the PIN field casting to integer (would strip the leading zero)<\/li>\n<\/ul>\n\n<h4>3.1.1<\/h4>\n\n<p>Release Date: August 9th, 2023<\/p>\n\n<h3>Fixed<\/h3>\n\n<ul>\n<li>Fix issue with saving of the fiscalization options<\/li>\n<\/ul>\n\n<h4>3.1.0<\/h4>\n\n<p>Release Date: August 9th, 2023<\/p>\n\n<h3>Fixed<\/h3>\n\n<ul>\n<li>Fix issue with fiscalization options<\/li>\n<li>Tested with WC 8.0.0 and WP 6.3<\/li>\n<\/ul>\n\n<h4>3.0.1<\/h4>\n\n<p>Release Date: January 31st, 2023<\/p>\n\n<h3>Fixed<\/h3>\n\n<ul>\n<li>Fix issue with the compiled container<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<p>Release Date: January 30th, 2023<\/p>\n\n<p>This update was mostly a dev update to make the plugin easier to maintain.\nA lot was changed under the hood (from handling dependency injection to build process, and how settings are handled).\nMinor issues in the plugin should be fixed, most notable is that the translation for Croatian language should work now.\nAlso, the plugin should work with PHP 8+ (beta compatibility). PHP 8.2 could throw some notices, but WP is not yet fully compatible with PHP 8, so you can report any issues you find.<\/p>\n\n<h3>Added<\/h3>\n\n<ul>\n<li>Improved handling of dependencies in files<\/li>\n<li>Method that will delete HNB exchange rate transient on plugin update<\/li>\n<li>Improved error handling on API call failures<\/li>\n<\/ul>\n\n<h3>Changed<\/h3>\n\n<ul>\n<li>Minimum PHP version updated to 7.4, beta compatibility with PHP 8+ added<\/li>\n<li>Build process changed from Webpack to Vite<\/li>\n<li>Updated the options page a bit (better organization)\n\n<ul>\n<li>The settings are a bit more fool-proof now in the way settings are fetched, stored and handled across the admin app.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h3>Fixed<\/h3>\n\n<ul>\n<li>Translations for Croatian language should work now<\/li>\n<li>If people didn't update their plugin or settings, the currency should automatically default to EUR<\/li>\n<li>All outstanding coding style and type errors<\/li>\n<li>Better exception descriptions<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<p>Release Date: January 4th, 2023<\/p>\n\n<p>This release will fix the affected change due to Croatia entering the Euro-zone.<\/p>\n\n<h3>Added<\/h3>\n\n<ul>\n<li>Add a fallback to checking if offers exist in case the invoices don't exist<\/li>\n<li>Add a way to clear Croatian National Bank API transient response<\/li>\n<\/ul>\n\n<h3>Changed<\/h3>\n\n<ul>\n<li>Update HNB API link to a new v3 working one<\/li>\n<li>Fix conversion logic for currencies<\/li>\n<\/ul>\n\n<h3>Fixed<\/h3>\n\n<ul>\n<li>Fix filter type for plugin link hook<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<p>Release Date: January 18th, 2022<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Added new filters (See FAQ section for more info)<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Fix the localization notice<\/li>\n<li>Fix PHPStan errors<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<p>Release Date: March 7th, 2021<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Added new filters and arguments to existing filters (See FAQ section for more info)<\/li>\n<li>Added a check if WooCommerce plugin is active to prevent fatal errors if you disable WooCommerce before this plugin<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Change name of the language translation files so that they work properly\n\n<ul>\n<li>In case the translation doesn't work automatically, place the woo-solo-api-hr.mo in the\n\/wp-content\/languages\/plugins folder<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>2.0.8<\/h4>\n\n<p>Release Date: December 29th, 2020<\/p>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Updated JS packages and webpack bundling process (updated to webpack 5)<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Update bundle of the assets and the PHP packages (possible cause to some issues in version 2.0.7?)<\/li>\n<\/ul>\n\n<h4>2.0.7<\/h4>\n\n<p>Release Date: December 28th, 2020<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Changed the typehint of the admin order fields hook.<\/li>\n<\/ul>\n\n<h4>2.0.6<\/h4>\n\n<p>Release Date: November 30th, 2020<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Add assets to the plugin. The GH Action tag is not working as intended so this is a manual fix.<\/li>\n<\/ul>\n\n<h4>2.0.5<\/h4>\n\n<p>Release Date: November 29th, 2020<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Fix the company name showing on the order and sending taxes option towards API.<\/li>\n<\/ul>\n\n<h4>2.0.4<\/h4>\n\n<p>Release Date: November 28th, 2020<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Clear error log message if order is manually triggered and succeeds.<\/li>\n<\/ul>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Priority changed on the on completed WooCommerce hook.<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Remove shipping from all the variables, fix shipping tax calculation\n*The shipping does not concern us really, so no need to pull any fields from there.\n\n<ul>\n<li>Shipping was a bit changed, so it didn't pick anything up and reported 0 tax on taxable shipping.<\/li>\n<\/ul><\/li>\n<li>Fix the defaults in the settings (languages, checkout settings) in PHP.<\/li>\n<\/ul>\n\n<h4>2.0.3<\/h4>\n\n<p>Release Date: November 25th, 2020<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Add a default fallback on save in case a settings is undefined or null in settings<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<p>Release Date: November 24th, 2020<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Add a check if the options to be serialized exist at all before attempting to deserialize them<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<p>Release Date: November 23rd, 2020<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Autoload order in main plugin file, so that the first error can be thrown correctly, if it happens<\/li>\n<li>Fix the uninstall error because of a missing autoloader file<\/li>\n<li>Add fallbacks in case there is no gateway set, so that the JS doesn't fail when deserializing arrays<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<p>Release Date: November 22nd, 2020<\/p>\n\n<p>This is a very big update. I called this the refactor, because the basic functionality of the plugin remained the same. But in all reality, this was a total plugin rewrite. You'll need to make sure you have PHP 7.3 installed on your server.<\/p>\n\n<p>The options remained the same, so none of the settings on an already existing version should disappear. Plugin will\n need to be disabled and then enabled again once updated, so that the database table can be created.<\/p>\n\n<p>There is one bug that is coming from the fact that the new settings page is built using Gutenberg blocks. Due to a\n nature of translations and how they work in GB, and the fact that I'm relying on webpack to bundle my assets. The\n  translations are not working properly. There is an issue opened in WP-CLI (<a href=\"https:\/\/github.com\/wp-cli\/i18n-command\/issues\/200\">make-json does not work for .jsx files\n  <\/a>), but so far we don't have a fix for this. Once the fix comes\n   out I'll update the plugin's translation files. The plugin's .po file is fully translated to Croatian, but we need a json file as well for the JavaScript translations.<\/p>\n\n<p>The options page has been revamped and is built using Gutenberg components. So that's nice.<\/p>\n\n<p>Api calls towards Solo service are now run as a background process. So don't be alarmed if the order doesn't appear\n immediately, or if the Solo invoice\/order doesn't come immediately to the customer. Give it some time, and rummage\n  around a bit, to trigger WordPress cron :D<\/p>\n\n<p>A lot of issues were fixed. The plugin should be more stable and work better now.<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Tests - several acceptance tests and integration tests using wp-browser<\/li>\n<li>Added several rest routes for internal use\n\n<ul>\n<li>Account Details - fetches orders from SOLO API (for testing if api calls work)<\/li>\n<li>Order Details and its collection - details about orders fetched from the database<\/li>\n<\/ul><\/li>\n<li>Added new database for sending orders to API\n\n<ul>\n<li>We need to keep track if the order was sent or not, and it's better to have a table with this information in it. We can update it when the API request is made, and when the process for triggering user email happens. This gives us more control later on if we need to debug something (missing emails, missing requests, etc.).<\/li>\n<\/ul><\/li>\n<li>Add privacy related functionality\n\n<ul>\n<li>This functionality hooks into WP's own core privacy functionality. So that if the user requests their data to be\neither exported or deleted we remove the data in the custom table we created.<\/li>\n<\/ul><\/li>\n<li>Added filters for modifying certain data in the plugin<\/li>\n<li>Link the invoice from the Solo service with the WooCommerce invoice<\/li>\n<\/ul>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Refactored the entire plugin structure to use dependency injection, autowiring, PSR-4 autoloading and PSR-12 coding\nstandards<\/li>\n<li>Replaced old settings page with new, core editor powered settings page<\/li>\n<li>Settings page now includes WooCommerce navbar<\/li>\n<li>Sending any remote call towards Solo API is now done utilizing WordPress cron.\n\n<ul>\n<li>It's not ideal, as Wordpress cron is\nnot a real cron, but it seems to be working. With queueing calls we are less likely to trigger API throttling from\nthe Solo Api. Oftentimes there would be no orders created in the Solo service, and the user would be none the wiser\nwhat happened. By queueing we avoid this throttling. Also, we have a better way of logging errors from the API.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p>Removed:<\/p>\n\n<ul>\n<li>Removed the filter for PDF file types as those are no longer saved in the media uploads folder<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>If 2 transactions are marked as complete, only one will send the call to solo API for completion\n\n<ul>\n<li>Fixed by adding a db with checks from the database<\/li>\n<\/ul><\/li>\n<li>When changing the order from on hold to completed in the order screen the API call is made again\n\n<ul>\n<li>Fixed by adding a db with checks from the database<\/li>\n<\/ul><\/li>\n<li>Make company field mandatory if R1 type of invoice is selected<\/li>\n<li>Check if the offer\/bill is created twice\n\n<ul>\n<li>Fixed by adding a db with checks from the database<\/li>\n<\/ul><\/li>\n<li>Plugin recognizes Braintree and Corvus payment gateways<\/li>\n<\/ul>\n\n<h4>1.9.6<\/h4>\n\n<p>Release Date: May 18th, 2019<\/p>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Tested with WordPress 5.2<\/li>\n<li>Tested with WooCommerce 3.6.3<\/li>\n<\/ul>\n\n<h4>1.9.5<\/h4>\n\n<p>Release Date: December 9th, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Added escaping to activation messages<\/li>\n<\/ul>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Updated <code>composer.json<\/code> (development only)<\/li>\n<li>Updated <code>phpcs.xml.dist<\/code> (development only)<\/li>\n<li>Tested with WordPress 5.0<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Fixed issue with multiple requests being made towards the SOLO service<\/li>\n<li>Fixed the issue with no emails being send on order status change<\/li>\n<li>Fixed the wrong plugin settings link on the plugins admin page<\/li>\n<li>Fixed <code>.travis<\/code> build (development only)<\/li>\n<li>Minor autoload fixes (removed manual requirement for activation hook)<\/li>\n<\/ul>\n\n<h4>1.9.4<\/h4>\n\n<p>Release Date: December 3rd, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Added removal of all offers<\/li>\n<\/ul>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Changed the name of the offers and invoices<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Fixed important GDPR issue \u2013 no longer saving offers and invoices because they contain sensitive information, and\ngoogle will crawl your site and make them public<\/li>\n<\/ul>\n\n<h4>1.9.3<\/h4>\n\n<p>Release Date: August 26th, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Manually add translations for the recalculated note, since locale manipulation was causing site language change<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Fix the status check for the currency list<\/li>\n<\/ul>\n\n<h4>1.9.2<\/h4>\n\n<p>Release Date: July 11th, 2018<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Minor fix \u2013 put WC() in the global scope<\/li>\n<\/ul>\n\n<h4>1.9.1<\/h4>\n\n<p>Release Date: June 30th, 2018<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Minor fix in the Admin class constructor (string typehinting is not available prior to PHP 7)<\/li>\n<\/ul>\n\n<h4>1.9.0<\/h4>\n\n<p>Release Date: June 6th, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Added the ability to translate the invoice\/offer based on the selected and available language<\/li>\n<\/ul>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Moved the Solo API options under the WooCommerce menu<\/li>\n<li>Extended the due date time to include 1-6 days in addition to 1-3 weeks<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<p>Release Date: June 6th, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Add a check if no shipping is selected in the WooCommerce options<\/li>\n<\/ul>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Minor code refactor (constants instead of properties in the main class)<\/li>\n<li>Replaced built in autoloader for composers autoloader<\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<p>Release Date: May 7th, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Add test method that returns all receipts from Solo API to check if the plugin is working properly.<\/li>\n<\/ul>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Minor visual adjustments<\/li>\n<\/ul>\n\n<h4>1.7.5<\/h4>\n\n<p>Release Date: April 29th, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Add fallback method for fetching currency rates in case the `allow_url_fopen is disabled.<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<p>Release Date: March 24th, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Added payment types for each payment gateway<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Tax fixes \u2013 tax class wasn't working on changing the order to status 'complete'<\/li>\n<li>Added travis integration (development)<\/li>\n<li>Added code standards definition (development)<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<p>Release Date: March 3rd, 2018<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Fixed language issue on the invoices (props to ivoks)<\/li>\n<li>PHPCS fixes<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<p>Release Date: March 1st, 2018<\/p>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Set the transient validity to 6 hours so every 6 hours it will expire and be created again<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Fixed the currency rate to pull it from the official hnb site<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<p>Release Date: February 25th, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Added automatic conversion rate from Croatian National Bank (https:\/\/www.hnb.hr\/temeljne-funkcije\/monetarna-politika\/tecajna-lista\/tecajna-lista)<\/li>\n<li>Add a fix for duplicated orders \u2013 you can now choose if you want to make SOLO API call on the checkout or when\nchanging order status manually<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Fix for taxes rounding error on shipping<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<p>Release Date: February 25th, 2018<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Add additional debug methods<\/li>\n<li>Add tax check \u2013 tax rate can be separate for shipping and for items, and are handled by WooCommerce<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Code sniffer fixes<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<p>Release Date: December 10th, 2017<\/p>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Renamed classes \u2013 shorten the name of the classes and changed file names<\/li>\n<\/ul>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Fixed a bug that prevented sending of the pdf bill if the type of the bill was offer (ponuda)<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<p>Release Date: November 23rd, 2017<\/p>\n\n<p>Added:<\/p>\n\n<ul>\n<li>Added multiple invoice type selection based on payment type with appropriate fiscalization check<\/li>\n<\/ul>\n\n<p>Changed:<\/p>\n\n<ul>\n<li>Fiscalization will be disabled for offer by default, and enabled only on invoice type<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<p>Release Date: November 22nd, 2017<\/p>\n\n<p>Fixed:<\/p>\n\n<ul>\n<li>Typo fix<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<p>Release Date: November 22nd, 2017<\/p>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"This plugin provides integration of the SOLO service with WooCommerce store.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/77913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=77913"}],"author":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dingo_d"}],"wp:attachment":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=77913"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=77913"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=77913"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=77913"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=77913"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=77913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}