Sylius version affected: 1.6.X, 1.7.X, 1.8.0-DEV
Description
When shipping is set in the back-end with the tax option enabled on it, checkout and cart at the presentation side is having wrong calculation applied on it in the way that tax for shipping is applied twice.
Additional side-effects
Steps to reproduce
Possible Solution
It seems that "getShippingTotal" method is applying unnecessary TAX adjustment.
Simple removal of the line "526" resolved this issue on my side.
https://github.com/Sylius/Sylius/blob/master/src/Sylius/Component/Core/Model/Order.php#L526

Items total: 15.00
Estimated shipping cost: 11.30 (should be 10, since the shipping price is set to be 10)
Taxes total: 3.25 (correct for (15+10)0.13)
Order total: 28.25 (correct for: 15+10+((15+10)0.13))
NOTE: I've tried fresh installation based on 1.8.0-DEV - same thing

I think you have to set the parameter 'included_in_price' at true.
@nayluge for that scenario it probably works (I haven't tested it thoroughly) - But for scenario where tax is not included, it is not working correctly. Like I stated above, it further manifests through PayPal payment error, too. ^^^
I'm agree with you @vladimirdjuricic. I'm fighting with this too. When I applied a tax category (the same as my products) to my delivery method it will do this behaviour. And it will also make Paypal payment unvailable (it said than the amount of the cart is not good).
It's not a potential bug, but a real one haha
I found a solution to this problem.
You've to create two taxes categories then apply one for your products and one for your delivery method.
Result :

Hello! The problem is that we assume that each tax on the Order level is a shipment tax. It's definitely too optimistic 😄 We should figure out what is the best solution. I see 2 of them right now:
SHIPPING_TAX_ADJUSTMENTTAX_ADJUSTMENT on the Shipment level🚀
Let's move the conversation to #8950, to keep it in one place.