# Post-Purchase Actions block

> Order Receipt Page with Quick-Action Tile Grid, Line Items, Totals, and Shipping or Tracking Details

Post-purchase receipt with a status-badged order summary, line items with thumbnails, totals breakdown, a shipping/payment/tracking grid, and a 4-tile Track/Reorder/Return/Help action grid. Uses ReUI Badge, shadcn Card, Button, Item.

- Type: Pro block
- Category: [Receipt](https://web.dev.reui.io/blocks/ecommerce/receipt.md)
- Page: https://web.dev.reui.io/blocks/ecommerce/receipt/receipt-6
- MCP: `get_block("receipt-6")`
- Built with: Badge, Button, Card, Item, Separator
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A 4 tile next step grid for Track Order, Reorder, Return and Get Help, under a shipping, payment and tracking card

## Agent notes

- The 4 `ActionTile` buttons each call `dispatchReceiptAction` with track, reorder, return or help and navigate nowhere, so wire real handlers
- `trackingHref` in `SHIPMENT` is never rendered here; `trackingNumber` and the arrival window print as plain text in the Tracking block
- The Paid badge is fixed text although `OrderInfo` allows a refunded `status`, so a refunded order still reads Paid

## When not to use

- Per item Write Review, Buy Again and Return actions on a delivered order: use [Delivered Order Receipt](https://web.dev.reui.io/blocks/ecommerce/receipt/receipt-4.md) (`get_block("receipt-4")`)
- Warehouse staff reviewing an order with a shipping label and picking status: use [Order Details](https://web.dev.reui.io/blocks/solutions/inventory/solution-inventory-11.md) (`get_block("solution-inventory-11")`)

## Install

```bash
npx shadcn@latest add @reui/receipt-6
```

## About Receipt blocks

### When to use

- The order confirmation a shopper lands on after checkout, with items, discount, tax, total and card used
- A proof of purchase the shopper can download, email to themselves or print
- An order page after purchase for tracking the parcel, buying again, starting a return or writing a review

### When not to use

- Staff side order review, tracking or a shipping label inside a stock operations tool: use the [Inventory blocks](https://web.dev.reui.io/blocks/solutions/inventory.md)
- A history of many payments or transactions, one signed amount on each row: use the [List blocks](https://web.dev.reui.io/blocks/application/list.md)
- Invoices, subscriptions and dunning run by finance staff, not one shopper's order: use the [Billing blocks](https://web.dev.reui.io/blocks/solutions/billing.md)

### Agent notes

- `TOTALS` and each item's `lineTotal` in data.ts are typed in, never computed from `quantity` and `unitPrice`; derive them from your order
- Download and Email only dispatch a `CustomEvent` on `window` and Print calls `window.print`, so nothing builds a PDF or sends mail
- `formatCurrency` is fixed to en-US and `ReceiptTotals` types `currency` as USD only; widen both to show another currency

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
