Skip to content

Currency rate change

Compare
Choose a tag to compare
@dingo-d dingo-d released this 01 Mar 21:23
aa100ea

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.