COMMERCE FLOW
Cancel order and refund app flow
A commerce flow in 5 screens, from order detail to refunded. Start your app from it, and your agent draws it on your own design system.
- 5 screens
- 8 patterns
- Mobile and desktop
- Brand: Mampir (made up)
The screens, in order
- Order detail

- Choose itemsPro
- Refund methodPro
- Confirm cancelPro
- RefundedPro
See all 5 screens, at mobile and desktop.Pro opens the whole flow in your Universe, with the prompt and code for each screen.
Upgrade to ProAlready Pro? Open in UniverseWhen to use it
USE WHEN
Any order that can be cancelled before fulfilment or refunded after.
AVOID WHEN
Hiding cancel behind chat or support only (Shop pattern); never require a reason before showing the refund amount.
Patterns and why they work
8 decisions this flow makes, and the clarity each one buys.
Cost of cancelling in the confirm title
The key fact is the heading
Refund amount before the cancel button
User sees the money outcome first
Line-item refund breakdown
Each fee shows refunded vs paid
Refund method cards with date and speed
Original card vs instant credit trade-off
Timeline stated in plain words ("within 10 business days")
Sets expectation
Reason after the decision
Cancel is never blocked by a survey
Step indicator for multi-step cancel
Shows length
Refund status on the order card
Status lives where the order lives
Each pattern also has its psychology, the intuition behind it and what it rules out, plus layout notes for mobile and desktop.
Open in UniverseStates to cover
The screens people forget until a user hits them.
- Cancellable (free)
- Cancellable with fee
- Not cancellable (window passed)
- Selecting items
- Confirming
- Cancelled with refund pending
- Refund sent / completed
- Refund failed (contact support)
- Partial refund
- Store credit chosen
Pairs with
The flows this one hands off to or comes back from.
More Commerce flows
Drawn for the same brand, so they fit together.
Questions
- When should I use a cancel order and refund flow?
- Any order that can be cancelled before fulfilment or refunded after. Use another pattern for hiding cancel behind chat or support only (Shop pattern); never require a reason before showing the refund amount.
- Which screens does it need?
- This pattern uses 5: Order detail, Choose items, Refund method, Confirm cancel and Refunded. Plan for these states too: cancellable (free), cancellable with fee, not cancellable (window passed), selecting items.
- Is Mampir a real app?
- No. Mampir is a made-up neighbourhood marketplace: order, book, subscribe, so the screens show the pattern without copying anyone's brand. Your agent redraws the flow on your own tokens and components.
- How does my agent use this flow?
- Connect Claude Code, Codex or Claude Desktop to Wonderblok over MCP. The agent calls use_pattern for this flow, reads its screens, rules and states, and draws them in your file.
- Is it free?
- Browsing Universe is free. Full pattern notes and use with your agent are part of Pro, and the Free plan opens a few flows in full each month.







