# Ecommerce Payment: Saved Card Controls

A two column saved card explainer where a left list states what saving stores and what removal does beside a static account panel blueprint.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/saved-card-controls
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro), Standard tier
- Group: [Payments](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/saved-card-controls.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-pro-payment-sections-saved-card-controls
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: badge, button
- Installs to: `@/components/blocks/ecommerce-pro/payment-sections/saved-card-controls`

## About this block

Saved Card Controls pairs a plain explanation with the
panel it describes. The left column answers three
questions in short rows: what saving a card actually
stores, a one way token plus the last four digits; what
removal does, a one click delete with no confirmation
gauntlet; and what the store never does, from charging a
removed card to silently re-saving one. The right column
is a static blueprint of the account panel, two saved
cards each sitting beside its own remove button.

The rules and the cards are two small arrays, and the
panel is built from the Badge and Button primitives so the
remove control looks exactly as it renders in the live
account. The closing line keeps the promise concrete:
removal is immediate and permanent, and the next checkout
simply asks for a card again.

## When to use

Reach for this block on an
[account](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/account-sections) settings
page under saved payment methods, or on the
[payment sections](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections)
page reassuring a first time buyer about what saving a
card commits them to. It reads best right where the remove
button actually lives.

A natural flow around it on an Ecommerce Pro page:

**Before**

- [Checkout flow](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/checkouts)

**After**

- [Account settings](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/account-sections)
- [Payment security explainer](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections)

## What you can display

One strong use is the two saved card account panel. Other
control explainers fit the same layout:

- **Default card switch.** The badge moving between cards
  with a line on what default actually changes.
- **Expiry handling.** A card past its date dropping off
  on its own rather than lingering.
- **Wallet linking.** A saved digital wallet beside the
  cards with the same remove control.

> Tip: showing the remove button live in the blueprint,
> rather than describing it, is what turns the promise of
> easy removal into something the buyer can already see.

## More in Ecommerce Payments

- [Accepted Methods Row](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/accepted-methods-row)
- [Bank Transfer Invoice Card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/bank-transfer-invoice-card)
- [Declined Card Playbook](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/declined-card-playbook)
- [Installments Honest Math](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/installments-honest-math)
- [Multi Currency Pricing Table](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/multi-currency-pricing-table)
- [No Surcharge Receipt](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/no-surcharge-receipt)
- [Payment Security Explainer](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/payment-security-explainer)
- [Refund Speed By Method](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/refund-speed-by-method)
- [Why No Crypto Card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/payment-sections/why-no-crypto-card)
