Confirmation email sent with receipt details
Why it matters
A confirmation email is the shopper's receipt, their order-number reference for support tickets, and their trust signal that the payment went through. Missing it triggers support load ("did my order go through?"), chargebacks from shoppers who don't remember the purchase, and erodes repeat-purchase trust. It's also often a legal requirement under consumer-protection regimes — EU Consumer Rights Directive Article 8 mandates confirmation of distance contracts in a durable medium, which a missing email fails outright.
Severity rationale
Medium because missing confirmation emails drive support load and can breach EU consumer-protection disclosure requirements.
Remediation
Call a transactional email service (Resend, Postmark, SendGrid, SES) from the order completion handler at src/app/api/orders/route.ts. Include order number, line items, total, and shipping/tracking info. Send before returning success to the client so the email is sent even if the client navigates away.
await sendEmail({ to: order.customerEmail, template: 'order-confirmation', data: { orderNumber: order.id, items: order.items, total: order.total, trackingUrl: `https://yoursite.com/orders/${order.id}/tracking` } })
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Cart & Checkout UX Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
Taxons
History
- 2026-04-18·v1.0.0·Initial import from ecommerce-cart-ux·automated