Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    It rounds the total to your WC decimal setting, because many gateways, including some PayPal gateways, break when a rogue half cent is rounded up and the grand total does not match. It should affect the shipping total only. Not the total you input before tax.

    shipping cost excl. = 3.2645 x 1.21 (21% tax)= 395.0045 incl.vat (this is oke)

    shipping were always visible with round amount, Since Version: 2.5.2 all shipping incl.vat not be rounded to whole amounts. 3.94 or 3.96. This is not proffessioneel. All orders now have a strange total amount which does not finish at 20.50 or 20:00 but only 20.49, 20.44. etc. Please make it undone, or take an option to choose. the checkout does not look with these amounts. sorry for my translation.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    The rounding is needed for situations where for example, the rate is input as 3.2666 – so it would round up. Since this rounds up it can cause issues with gateways.

    That said I can see this could be annoying so I’ll see if its possible to move the round until after the tax is calculated. If its not possible though, the round needs to stay because successful payment is more important than 1 cent difference in price display.

    “… successful payment is more important than 1 cent difference in price display.”
    Well said Mike.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Thread Starter Tomi76

    (@tomi76)

    Hi Mike,

    It’s works, thank you very much!

    Round the total cost after taxes have been calculated works great. Mike thanks for your quick response, explanation and a perfect solution. it works with my gateway, I hope that it will also work with many other gateways. This I can not test for you. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘When calculating shipping total, force rounding’ is closed to new replies.