Skip to content

Commit a4e868d

Browse files
authored
Merge pull request #3 from dingo-d/develop
Update version to 1.4
2 parents aea7a3e + d6bc60d commit a4e868d

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
**Requires at least**: 4.4
66
**Requires PHP**: 5.6
77
**Tested up to**: 4.9.4
8-
**Stable tag**: 1.3
8+
**Stable tag**: 1.4
99
**WC requires at least**: 3.0.0
1010
**WC tested up to**: 3.3.3
1111
**License**: GPLv2 or later
@@ -59,6 +59,12 @@ Be sure you have WooCommerce plugin installed first, otherwise you'll get an err
5959

6060
## Changelog
6161

62+
### 1.4
63+
64+
* Added automatic conversion rate from Croatian National Bank (https://www.hnb.hr/temeljne-funkcije/monetarna-politika/tecajna-lista/tecajna-lista)
65+
* Add a fix for duplicated orders - you can now choose if you want to make SOLO API call on the checkout or when changing order status manually
66+
* Fix for taxes rounding error on shipping
67+
6268
### 1.3
6369

6470
* Add additional debug methods
@@ -85,6 +91,11 @@ Be sure you have WooCommerce plugin installed first, otherwise you'll get an err
8591

8692
## Additional notes
8793

94+
The 1.4 update fixed a lot of issues with the taxes, and tax rates. Although this has been fixed, the taxes probably wont'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 aseparate 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).
95+
The including prices will be fixed in the next update.
96+
97+
----
98+
8899
The 1.3 update removed the predefined tax rates from the plugin, and is instead using WooCommerce taxes.
89100
This 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.
90101

README.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: woocommerce, api, solo api, solo, api integration, shop, payment, woo
44
Requires at least: 4.4
55
Requires PHP: 5.6
66
Tested up to: 4.9.4
7-
Stable tag: 1.3
7+
Stable tag: 1.4
88
WC requires at least: 3.0.0
99
WC tested up to: 3.3.3
1010
License: GPLv2 or later
@@ -65,6 +65,11 @@ Be sure you have WooCommerce plugin installed first, otherwise you'll get an err
6565

6666
== Changelog ==
6767

68+
= 1.4 =
69+
* Added automatic conversion rate from Croatian National Bank (https://www.hnb.hr/temeljne-funkcije/monetarna-politika/tecajna-lista/tecajna-lista)
70+
* Add a fix for duplicated orders - you can now choose if you want to make SOLO API call on the checkout or when changing order status manually
71+
* Fix for taxes rounding error on shipping
72+
6873
= 1.3 =
6974
* Add additional debug methods
7075
* Code sniffer fixes
@@ -90,6 +95,11 @@ Be sure you have WooCommerce plugin installed first, otherwise you'll get an err
9095

9196
== Additional notes ==
9297

98+
The 1.4 update fixed a lot of issues with the taxes, and tax rates. Although this has been fixed, the taxes probably wont'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 aseparate 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).
99+
The including prices will be fixed in the next update.
100+
101+
----
102+
93103
The 1.3 update removed the predefined tax rates from the plugin, and is instead using WooCommerce taxes.
94104
This 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.
95105

includes/class-woo-solo-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function __construct() {
6565
if ( defined( 'SAWI_PLUGIN_VERSION' ) ) {
6666
$this->version = SAWI_PLUGIN_VERSION;
6767
} else {
68-
$this->version = '1.3';
68+
$this->version = '1.4';
6969
}
7070

7171
if ( defined( 'SAWI_PLUGIN_NAME' ) ) {

woo-solo-api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Plugin Name: Woo Solo Api
1111
* Plugin URI: https://madebydenis.com/woo-solo-api
1212
* Description: This plugin provides integration of the SOLO API service with WooCommerce.
13-
* Version: 1.3
13+
* Version: 1.4
1414
* Author: Denis Žoljom
1515
* Author URI: https://madebydenis.com
1616
* License: GPL-2.0+
@@ -30,7 +30,7 @@
3030
die;
3131
}
3232

33-
define( 'SAWI_PLUGIN_VERSION', '1.3' );
33+
define( 'SAWI_PLUGIN_VERSION', '1.4' );
3434
define( 'SAWI_PLUGIN_NAME', 'woo-solo-api' );
3535

3636
// Include the autoloader so we can dynamically include the rest of the classes.

0 commit comments

Comments
 (0)