Hi all,
Everything looked fine in the payment section until I added a discount coupon. It was considering the discount in the shipping when it was calculating the tax but not when it was calculating the total prices so I got a wrong total because of that.
Here I leave a solution. It involves two files; both of them in includes\modules\order_total folder:
ot_coupon.php
ot_shipping.php
I have attached those two files.
If you use those files, please tell me if you get any problem.
Bookmarks