-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4.1.2
-- PHP version -- : 7.4.33
-- Browser(s) name and version -- : chrome latest, firefox, etc.
-- Error-message(debug-mod must be tuned on) -- : no error message
Hi there!
I encountered a rounding issue.
If there's a product priced at, say, 536.41 forints (HUF), it rounds it to 536 forints gross. However, the issue arises when someone buys two of these products, which would amount to 1073 forints, as the gross value is actually 1072.82. Now, if I don't round it up with Hikashop to 1073, the Barion (payment module) rejects it with an error, and it's impossible to make a payment on the website (in Hungary, non-whole numbers cannot be used for payments, unlike Euro cents). But if I round it up, it disregards the decimal value (from 1072.82, it only takes 1072 HUF), and thus 1 HUF is lost. However, Barion only accepts the value if we round up the prices beforehand.
The more one orders, the greater the discrepancy.
Thanks in advance!
FRIK