You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be pushed to the master branch. It took me hours to figure out.
I had a follow-up error in ShippingOption.php while calculating the tax_amount. isotope-klarna-checkout/src/Dto/ShippingOption.php
Changed to $this->tax_amount = (int) round($includes->calculateAmountIncludedInPrice($this->price));
it seems like this is the same calculation for different vars ??
isotope-klarna-checkout/src/Dto/Surcharge.php
Lines 32 to 33 in 5dfd3d3
i fixed this with
$this->tax_rate = (int) round(($surcharge->total_price / $surcharge->tax_free_total_price - 1 ) * 10000);
in line 37
The text was updated successfully, but these errors were encountered: