Schematex
state·OMG UML 2.5.1·software, ecommerce·complexity 3/3·since v0.3.0

Checkout session with composite state and history

UML statechart for a checkout session with a composite Payment state, entry and exit activities, guards, and retry transitions.

For the software architect

Open in Playground →
state-diagram·§ UML 2.5 / Harel
↘ preview
100%
State Diagram UML 2.5 / Harel statechart rendered by Schematex Payment entry / startPaymentTimer() exit / stopPaymentTimer() Cart Checkout Authorizing Capturing Failed Captured Confirmed Cancelled begin_checkout submit_shipping [addressValid] / createIntent() edit_cart captured / sendReceipt() failed [retries < 3] / showError() failed [retries >= 3] authorized declined capture_ok capture_error
UTF-8 · LF · 23 lines · 685 chars✓ parsed·3.9 ms·9.6 KB SVG

Scenario

Checkout is a lifecycle, not a process list: the session can move forward, retry, or terminate depending on events and guards. A composite state keeps the external lifecycle readable while still showing the internal payment substates.

Annotation key

State diagram syntax