medusajs / medusa

Building blocks for digital commerce
https://medusajs.com
MIT License
23.82k stars 2.3k forks source link

Taxes of shipping_methods are not added in the shipping_total #3708

Open Hemann55 opened 1 year ago

Hemann55 commented 1 year ago

I have enabled tax inclusive pricing for a region and am getting the correct pricing in shipping_methods array. But currently, the shipping_total is the sum of all shipping_method's subtotals. This means that the final cart/order total will not include tax for the shipping methods

I think the shipping_total should be sum of all shipping_method's total (not subtotal).

attmn commented 1 year ago

I've ran into the same issue with "discount_total". I would assume "gift_card_total" also has this problem. Whatever value you write in the Admin panel has additonal tax percentage added to it when displaying in cart/checkout.

Eventhough tax is supposed to be included in that value already.