Bug library · pricing · math
Wrong total
Shipping is charged once per cart line instead of once per order, inflating the total.
The diff
lib/pricing.ts- const shippingCents = lines.length > 0 ? SHIPPING_CENTS : 0;+ const shippingCents = lines.length * SHIPPING_CENTS;