wshobson avatar

Stripe Integration

Handles the full Stripe integration lifecycle from basic checkout sessions to complex subscription billing and webhook processing. Covers both hosted checkout pages and custom Payment Element implementations, with proper PCI compliance patterns baked in. The examples show real payment flows you'll actually use, including SCA handling for European customers and marketplace scenarios with Connect. What I appreciate is the clear distinction between when to use Checkout Sessions versus Payment Intents, since most developers overcomplicate this choice. Includes webhook event handling for the critical payment states and subscription lifecycle management that production apps need.

skills.sh installs
13.8K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill stripe-integration --agent claude-code

Installs into .claude/skills of the current project.

Files

Stripe Integration

Master Stripe payment processing integration for robust, PCI-compliant payment flows including checkout, subscriptions, webhooks, and refunds.

When to Use This Skill

  • Implementing payment processing in web/mobile applications
  • Setting up subscription billing systems
  • Handling one-time payments and recurring charges
  • Processing refunds and disputes
  • Managing customer payment methods
  • Implementing SCA (Strong Customer Authentication) for European payments
  • Building marketplace payment flows with Stripe Connect

Core Concepts

1. Payment Flows

Checkout Sessions

  • Recommended for most integrations
  • Supports all UI paths:
    • Stripe-hosted checkout page
    • Embedded checkout form
    • Custom UI with Elements (Payment Element, Express Checkout Element) using ui_mode='custom'
  • Provides built-in checkout capabilities (line items, discounts, tax, shipping, address collection, saved payment methods, and checkout lifecycle events)
  • Lower integration and maintenance burden than Payment Intents

Payment Intents (Bespoke control)

Sponsors

Details

Repository
github.com/wshobson/agents
Category
Finance & Trading

More from wshobson/agents

All 174
1wshobson avatardefi-protocol-templateswshobson/agentsImplement DeFi protocols with production-ready templates for staking, AMMs, governance, and flash loans. Use when building decentralized finance applications or10.8Kskills.sh installs
2okx avatarokx-dex-tokenokx/onchainos-skillsUse this skill for token-level data: search tokens, trending/hot tokens (热门, 代币榜单), liquidity pools, holder distribution (whale/巨鲸, sniper, bundler-tagged holde9.7Kskills.sh installs
3okx avatarokx-cex-skill-mpokx/agent-skillsUse this skill when the user asks to: 'find a trading skill', 'search for skills', 'install a skill', 'add a skill', 'download a skill', 'browse skill marketpla8.4Kskills.sh installs
4okx avatarokx-dex-signalokx/onchainos-skillsUse this skill for smart-money/whale/KOL/大户 activity tracking, aggregated buy signal/信号 alerts, and leaderboard/牛人榜 rankings. Covers: (1) address tracker — raw 7.6Kskills.sh installs
5okx avatarokx-dex-trenchesokx/onchainos-skillsRead-only on-chain research for pump.fun and other meme-token launchpads (Solana / BSC / X Layer / TRON). MUST invoke (prefer over WebFetch / MCP price tools) w7.5Kskills.sh installs
6okx avatarokx-securityokx/onchainos-skillsUse this skill for security scanning: check transaction safety, is this transaction safe, pre-execution check, security scan, token risk scanning, honeypot dete6.5Kskills.sh installs