EXAMPLESAvailable
Checkout & Payment Failure Flow
Modeling checkout payment processing, gateway failure, and retry recovery actions.
Visual Interaction Graph
Rendering diagram...
Complete UXDL 0.1 Specification
YAML
uxdl: "0.1"app: E-Commerce Storetitle: Payment Failure Recoveryscreens: checkout: name: Order Checkout type: page states: default: Order summary and payment form ready payment_failed: Card declined by payment gateway actions: submit_order: name: Complete Order Payment relations: success: to: order_confirmation declined: to: checkout state: payment_failed when: Gateway returns card declined retry_payment: name: Retry Payment with Updated Card relations: success: to: order_confirmation when: Second payment attempt succeeds order_confirmation: name: Order Confirmed type: page states: confirmed: Order receipt shown