Skip to content
Back to skills

Checkout Flows

ASecurity

Build tamper-proof checkout flows with server-calculated pricing, SCA/3DS handling, and async order fulfillment

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentsdatabase

Works with

  • cli

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add AdityaaaTiwari/ANVIL --skill checkout-flows --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Checkout Flows?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Checkout Flows
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adityaaatiwari-checkout-flows-anvil/badge)](https://www.skillsdirectory.com/skills/adityaaatiwari-checkout-flows-anvil)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: checkout-flows
description: Build tamper-proof checkout flows with server-calculated pricing, SCA/3DS handling, and async order fulfillment
---

<!-- Generated by `anvil plugin build` from catalog/. Edit the catalog, not this file. -->

# Checkout flows

Use when implementing cart totals, payment intents, tax/discount calculation, or order completion handlers.

## Server authority
- Compute item unit prices, coupons, taxes, shipping, and final totals exclusively on the server from database records—never accept totals or unit prices from client payloads.
- Validate inventory reservations, coupon eligibility, and currency support before creating payment intents or sessions.
- Pass unique server-generated order references in metadata and idempotency keys to the payment processor.

## Async completion and SCA
- Handle 3DS / Strong Customer Authentication challenges asynchronously: mark orders `pending_payment` cleanly and confirm fulfillment on verified payment webhooks rather than solely on client redirect URLs.
- Render neutral success/pending pages on return URLs if the webhook has not arrived yet, polling order state safely rather than assuming success prematurely.

## Verify
Test modified client price tampering rejections, abandoned 3DS redirects, concurrent stock exhaustion, and webhook fulfillment reconciliation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.