Checkout — Place Order
One order placed: card charged, order stored, receipt sent.
- Customer to Storefront (solid line with an arrowhead): Clicks Place order
- Storefront to Order API (solid line with an arrowhead): Place the order [HTTPS]
- Order API to Order API (solid line with an arrowhead, self-message): Validates the cart
- Order API to Payments (solid line with an arrowhead): Create charge [REST]
- Payments to Order API (dotted line with an arrowhead): charge.succeeded
- Order API to Orders DB (solid line with an arrowhead): INSERT order [SQL]
- Order API to Customer (solid line with an open head): Emails the receipt
- Order API to Orders DB (solid line with an open head): Writes audit row
- Order API to Storefront (dotted line with an arrowhead): 201 Created
- Order API to Storefront (dotted line with an arrowhead): 402 Payment Required
- Storefront to Customer (solid line with an arrowhead): Shows onboarding tips