From checkout to delivery and reviews

This guide covers: how checkout creates an order, reserves stock and starts delivery, and how customers submit reviews afterward.
About this guide

Prepared with AI under human direction. The customer, order and financial facts are development test data.

1. What it does

Checkout creates an order, Stock reserves the items, and Logistics tracks delivery. After delivery, the customer can submit a review.

Order recordsThe order saves the accepted quote.

Product identity, price, promotions, margin and delivery/billing addresses are copied into Order instead of silently changing later.

Delivery and reviewsStock, delivery and reviews follow the order.

Stock commits the reservation to the Order, Logistics records the current minimal delivery path, and delivery opens the verified-review path.

Practical example: a customer buys the Alpine Espresso System for CHF 108.10 using separate Zürich delivery and Geneva billing addresses. The order survives later Catalog or profile changes, reaches delivery through the warehouse, then supports a moderated five-star product review.

2. From purchase to a published review

The film follows the complete visible journey with on-screen captions.

CHECKOUT → DELIVERY → REVIEW / 2M 30.64S

Address, Order, delivery and Review

The same product remains recognizable through Cart, distinct addresses, paid Order, warehouse transitions, delivery, review submission, moderation and publication on the product page.

01
Review the purchaseThe customer reviews product, price, delivery, billing and payment method before placement.
02
Save the orderAn order number and immutable snapshots remain available after the converted Cart becomes empty.
03
Move through the warehouseLogistics records picked, shipped and delivered in order.
04
Submit and moderate a reviewThe customer submits a review; moderation approves it; the product page displays the result.

3. One journey, clear stages

Each service handles a specific step in the purchase.

A straight customer journey moves from accepted Cart quote through Stock, Order, Logistics, delivery, Review and Catalog product feedback
Cart, Stock, Order, Logistics, Review and Catalog handle the steps shown below.

4. What changes for the customer

TECHNICAL DEEP DIVE

How the order journey works

The sections below explain service ownership, reservation commitment, immutable snapshots, the current minimal Logistics flow, review publication and failure boundaries.

5. Services involved

The services exchange events while keeping their own records and rules.

Cart, Stock, Order, Logistics, Review and Catalog each own a distinct decision and exchange only required facts
Cart orchestrates placement but cannot allocate stock or advance shipment. Order records the transaction but does not own warehouse work or review moderation. Catalog only projects approved feedback.
BoundaryResponsibilityData passed on
CartQuote, checkout session, selected addresses/payment and placement orchestrationAccepted line, campaign, address and reservation-key snapshots
StockAvailability, holds, cancellation release and shipment deductionReservation state and stock movements
OrderOrder identity, immutable commercial history and customer-visible statusOrder status events and delivery records
LogisticsShipment work and warehouse transitionsPicked, shipped and delivered facts
ReviewReview content, moderation and publication lifecycleApproved, edited or deleted rating facts
CatalogProduct-facing review count and average-rating projectionCustomer product presentation

6. Reservation commitment

Cart revalidates the hold immediately before Order creation. After creation, it asks Stock to commit that reservation to the Order. The reservation key also travels with the Order so Stock can repair a lost synchronous commitment call.

Checkout confirms an active Stock reservation, creates the Order, commits the reservation synchronously and uses Order events as an idempotent repair path
The Order already exists if the synchronous commitment call fails. Cart logs reconciliation instead of deleting a valid Order; Stock consumes the Order event and idempotently commits the same reservation within the hold window.
Current implementation: Cart triggers this immediate post-order commitment because BlueShop currently ships a minimal Logistics delivery path without a dedicated Fulfilment capability. This is placement orchestration, not Cart ownership of fulfilment. The current Stock API method is named fulfil; its actual effect here is to move the reservation from an active checkout hold to committed Order stock while keeping the quantity reserved. The Order Kafka event already repeats the same commitment idempotently as recovery. The synchronous path is still active, so it is not legacy; moving to Kafka-primary commitment remains an architectural follow-up. A future Fulfilment bounded context is a candidate, not an implemented boundary.
Placement gate: checkout must be reviewed, both addresses must exist, the Cart must still exist and every Stock reservation must still be holding. Expired or unprovable holds fail closed before Order creation.

7. Order details are preserved

Order stores what the customer accepted instead of depending on mutable Catalog, campaign or profile reads later.

Snapshot groupPreserved factsWhy Order saves it
Line identityProduct/variant IDs, names and SKUsLater Catalog edits cannot rewrite what was ordered
Prices and discountsOriginal and allocated unit price, discounts, cost, margin and pricing snapshot IDHistorical totals and profitability remain reproducible
AddressesSeparate delivery and billing street, postal code, city and cantonCustomer profile edits do not alter the order record
Operational linkOrder number and checkout reservation keyStock can reconcile holds to the durable Order
Current payment behavior: while no payment gateway is integrated, the storefront creation path creates the Order directly as PAID. It records the selected method but does not claim external authorization, capture, refund or chargeback behavior.

8. Order and Logistics event flow

A paid Order creates one Logistics work item. Logistics owns the physical state machine and reports each accepted transition back to Order.

Order commits an outbox event, Logistics creates and advances shipment, then Logistics events update customer-visible Order state
Both sides publish through transactional outboxes. Shipment creation is idempotent, and Order consumes only accepted Logistics facts. The legal path is PAID → PICKED → SHIPPED → DELIVERED.
Current stateAllowed nextOperational meaning
PAIDPICKED or CANCELLEDWarehouse accepts work; cancellation remains possible before picking
PICKEDSHIPPEDThe parcel may leave only after picking
SHIPPEDDELIVEREDDelivery can be recorded only after dispatch
DELIVERED / CANCELLEDNoneBoth are terminal in Logistics

9. From delivery to product reviews

Review verifies the customer/product pair against Order’s delivery records, prevents duplicate customer reviews for the product, then owns moderation before Catalog projects the approved rating.

Review checks delivered purchase evidence in Order, stores pending moderation, emits approval through an outbox and Catalog updates product rating projection
Review stores and serves the review text. Catalog consumes approved, edited and deleted rating facts to maintain product-facing count and average rating.

10. Failure and recovery

Retries avoid duplicate work, and outboxes retain events for delivery. Recovery still depends on the reservation timeout, and review verification has a fail-open fallback.

Stock cannot prove the holdCheckout fails closed before creating an Order.
Post-create commitment call is lostThe Order event carries the reservation key; Stock commits it idempotently.
Order is cancelled before shipmentStock releases committed-but-unshipped reservations; shipped lines remain for the returns flow.
Shipment event is replayedThe unique shipment movement prevents a second physical deduction.
Order or Logistics delivery is delayedOutbox-backed events retry; customer-visible state is eventually consistent.
Review cannot reach OrderThe current circuit-breaker fallback returns synthetic delivery evidence and can admit an unverified review. This fail-open behavior was confirmed in backend source at d305706a on 12 September 2026; no live outage was exercised.