Skip to content
arch-lab
View
Demo
Syntax
Validate
MCP
Beta
Editor
Checkout payment
One order charged: validate the cart, take payment with one retry, record the outcome.
Open in the playground
Payment provider
yes
no
yes
declined once
declined again
Order placed
Load cart and prices
[PostgreSQL]
Prices still
current?
Re-price the cart
Charge the card
[Stripe]
Charge accepted?
Wait 30s, retry
Email the receipt
[SMTP]
Order confirmed
Order cancelled
Checkout payment
One order charged: validate the cart, take payment with one retry, record the
outcome.
Fit