Checkout
operational commerce
A basket can be converted into a confirmed order by applying promotions, totals and payment authorisation.
Converts a confirmed basket into a placed order by orchestrating totals calculation, promotion application, fulfilment option selection, payment authorisation, and order creation. Represents the critical transaction boundary in the commerce flow; checkout outcome is an authorised payment and a confirmed order record.
Overview
ID
checkout
Domain
commerce
Classification
operational
Actors
customer, store-associate, system
Services
4
Events
4
Processes
5
Applications
3
Services
ID
Name
Description
checkout-basket
Checkout Basket
Marks the basket as checked out and initiates the checkout flow, locking the basket from further modification.
calculate-totals
Calculate Totals
Computes the final order totals including subtotal, promotions, taxes, shipping, and voucher deductions.
apply-promotions
Apply Promotions
Applies all eligible promotions to a basket and returns the updated basket with discounts itemised by promotion.
authorize-payment
Authorize Payment
Requests payment authorisation from the PSP for the specified amount and payment instrument, returning an authorisation code.
Events Emitted
Event
Type
Subject
Description
basket-checked-out
``
The customer initiated the checkout flow from the basket.
basket-checkout-started
``
Checkout was started; the basket moved into the checkout processing state.
checkout-started
``
A basket has entered the checkout process; payment and delivery details are being collected.
checkout-cancelled
``
An in-progress checkout was abandoned or explicitly cancelled before payment completion.
Processes
Applications
Application
Name
Tier
pos
POS
ecommerce-platform
eCommerce Platform
associate-workspace
Associate Workspace
Metrics & KPIs
Touchpoints
Validation Rules
Rule
Type
Applies To
Severity
checkout-requires-active-basket
pre-condition
checkout
invariant
checkout-requires-active-product
pre-condition
checkout
invariant
voucher-redemption-requires-valid-voucher
pre-condition
voucher-redemption
invariant
self-checkout-requires-active-terminal
pre-condition
self-checkout
invariant
loss-prevention-intervention-requires-policy
pre-condition
loss-prevention-case-handling
invariant
checkout-creates-order
post-condition
checkout
invariant
checkout-clears-basket
post-condition
checkout
invariant
authorize-payment-sets-authorized
post-condition
authorize-payment
invariant