arch-atlas

Checkout & Payment

End-to-end checkout: builds a server cart from the selected local items, collects address + shipping + answers, runs Stripe PaymentSheet, completes the cart and clears the local items. Handles promo codes and booking deposits via partial payment sessions.

Riverpod · Medusa Store API · flutter_stripe PaymentSheet

diagram · Checkout & PaymentRiverpod · Medusa Store API · flutter_stripe PaymentSheet
10 nodes 4 flows
01
LayerPresentation

UI · Controllers · Widgets

3 nodes
02
LayerDomain

Entities · Use Cases · Repository contracts

3 nodes
03
LayerData

Repo Impl · Remote / Local Data Sources

3 nodes
04
LayerDependency Injection

Routes · Bindings · Service Locator

1 node
cards are peers grouped by layer — pick a flow to trace real calls