Releases: dingo-d/woo-solo-api
Taxes and payment options fixes
- Added payment types for each payment gateway
- Tax fixes - tax class wasn't working on changing the order to complete
- Added travis integration (development)
- Added code standards definition (development)
Update
Currency rate change
1.5
- Fixed the currency rate to pull it from the official hnb site
- Set the transient validity to 6 hours so every 6 hours it will expire and be created again
Additional notes
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.
Update fixes
1.4 Update
- Added automatic conversion rate from Croatian National Bank (https://www.hnb.hr/temeljne-funkcije/monetarna-politika/tecajna-lista/tecajna-lista)
- 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
- Fix for taxes rounding error on shipping
Additional notes
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).
The including prices will be fixed in the next update.
Update tax rates
Updates and fixes
- Add additional debug methods
- Code sniffer fixes
- Add tax check - tax rate can be separate for shipping and for items, and are handled by WooCommerce
Additional notes
The 1.3 update removed the predefined tax rates from the plugin, and is instead using WooCommerce taxes.
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.
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't be correct (not sure how else to handle this since WooCommerce has a weird tax system).
Plugin update
- Renamed classes - shorten name of the classes and changed file names
- Fixed bug that prevented sending of the pdf bill if the type of the bill was offer (ponuda)