How does Hantera calculate cart totals?
The Commerce app returns a rendered cart after every mutation, with prices, discounts, shipping, and tax already calculated by the same pricing pass that produces the order.
Storefronts consume the rendered cart instead of rebuilding tax, shipping, discount, and total logic on their own. The figure a shopper agrees to is therefore produced by the same commercial calculation used for the order.