Bug library · display · math
Wrong charged amount
The confirmation page reports the pre-discount subtotal as the amount charged.
The diff
app/order/[id]/page.tsx- Charged <strong data-testid="charged">{formatCents(order.totalCents)}</strong>+ Charged <strong data-testid="charged">{formatCents(order.subtotalCents)}</strong>