Event storming: checkout

hunchboard

Commands, events, aggregates and policies for an order, on one board, the way a team would sticky-note it.

Comments

    What is on this board

    Parts

    • Buyer Actor
    • Place order Command
    • Order Aggregate
    • Order placed Domain event
    • When placed, charge Policy
    • Charge card Command
    • Payment Aggregate
    • Payment taken Domain event
    • Payment failed Domain event
    • When paid, ship Policy
    • Ship Command
    • Shipment Aggregate
    • Shipped Domain event
    • Order status Read model
    • Sales Bounded context
    • Billing Bounded context

    Notes and decisions

    • What happens to stock when the payment fails?