Skip to content
Back to skills

Payments

ASecurity

Integrate payments with provider selection, checkout flows, subscription billing, and security best practices.

  • 17 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 6, 2026
testingrustgofrontendsecurity

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add clawic/skills --skill payments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Payments?

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

Security grade badge for Payments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/clawic-payments/badge)](https://www.skillsdirectory.com/skills/clawic-payments)

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: Payments
slug: payments
version: 1.0.0
description: Integrate payments with provider selection, checkout flows, subscription billing, and security best practices.
homepage: https://clawic.com/skills/payments
metadata:
  clawdbot:
    emoji: 💳
    displayName: Payments
---

## Situation Detection

| Context | Load |
|---------|------|
| Choosing Stripe vs Paddle vs LemonSqueezy | `providers.md` |
| Implementing checkout, webhooks, refunds | `integration.md` |
| Subscription billing, trials, upgrades | `subscriptions.md` |
| PCI compliance, fraud prevention | `security.md` |

---

## Universal Rules

**Never store card data.** Use provider-hosted checkout or tokenization. PCI compliance burden explodes the moment raw card numbers touch your server.

**Webhooks are truth.** Client-side success callbacks lie. A payment succeeded only when your webhook confirms it. Design for webhook-first verification.

**Test mode exists for a reason.** Use test cards, simulate failures, verify webhook handling. Production surprises cost real money and real customers.

**Pricing psychology:** $9.99/mo feels cheaper than $120/year, but annual retention is 2-3x higher. Default to annual with monthly option, not the reverse.

---

## Provider Quick Compare

| Need | Recommendation |
|------|----------------|
| US/global B2C | Stripe (best docs, widest coverage) |
| SaaS selling to EU (VAT headache) | Paddle, LemonSqueezy (merchant of record) |
| Simple product, no dev resources | Gumroad, Lemonsqueezy hosted |
| Marketplace with splits | Stripe Connect |
| High-risk or adult | Specialized processors (CCBill, Epoch) |

See `providers.md` for detailed comparison.

---

## Integration Checklist

Before going live:
- [ ] Webhook endpoint secured and verified
- [ ] Idempotency keys on all charges
- [ ] Failure states handled (declined, expired, insufficient)
- [ ] Receipts and invoices configured
- [ ] Refund flow tested
- [ ] Subscription lifecycle events handled (upgrade, downgrade, cancel)
- [ ] Currency handling explicit (store in cents/smallest unit)

---

## Red Flags

- Storing CVV anywhere, ever → Instant PCI violation
- Trusting client-side payment confirmation → Fraud vector
- No retry logic for failed webhooks → Lost transactions
- Hardcoding prices in frontend → Easy manipulation
- Missing `cancel_at_period_end` handling → Angry customers

---

## When to Load More

| Situation | Reference |
|-----------|-----------|
| Evaluating payment processors | `providers.md` |
| Building checkout, handling webhooks | `integration.md` |
| Recurring billing, metering, trials | `subscriptions.md` |
| Fraud, PCI, chargebacks | `security.md` |

Files in this skill

  • SKILL.md2.6 KB
  • _meta.json168 B
  • integration.md3.5 KB
  • providers.md2.8 KB
  • security.md4.3 KB
  • subscriptions.md3.7 KB

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 testing →

Comments

Loading comments…

Newsletter

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