Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
davila7 avatar

Stripe Integration

  • 392 installs
  • 30.1k repo stars
  • Updated August 4, 2026
  • davila7/claude-code-templates

stripe-integration is a Claude Code skill that implements Stripe checkout, subscriptions, webhooks, and billing portal flows for developers building monetized SaaS or ecommerce backends that accept cards and manage plans

About

stripe-integration is a payments engineering skill from davila7/claude-code-templates, sourced from vibeship-spawner-skills under Apache 2.0, that guides complete Stripe payment system implementation beyond bare API calls. It covers Checkout sessions, subscription lifecycle management, customer billing portal, webhook verification and idempotency, metered billing, Stripe Connect, and dunning for failed payments. The skill emphasizes edge cases that break revenue at scale: declined cards, webhook delivery failures, subscription state transitions, and 3am billing incidents. Developers reach for stripe-integration when adding payments, subscriptions, billing, or checkout to a SaaS or ecommerce backend and need production-grade error handling rather than tutorial-level charge creation. Output includes webhook endpoints, checkout flows, subscription schemas, and billing portal integration code. It assumes Stripe as the payment processor and does not cover alternative processors or tax compliance outside Stripe's built-in tools.

  • Structures checkout and subscription setup
  • Covers webhook verification and event handling
  • Aligns pricing models with Stripe objects
  • Reduces payment integration boilerplate mistakes
  • Targets SaaS and ecommerce monetization paths

Stripe Integration by the numbers

  • 392 all-time installs (skills.sh)
  • Ranked #1,100 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/davila7/claude-code-templates --skill stripe-integration

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs392
repo stars30.1k
Last updatedAugust 4, 2026
Repositorydavila7/claude-code-templates

How do you implement Stripe subscriptions and webhooks correctly?

Implement Stripe checkout, subscriptions, webhooks, and customer billing flows when building monetized SaaS or ecommerce backends that must accept cards and manage plans.

Who is it for?

Backend developers building monetized SaaS or ecommerce apps who need production-grade Stripe checkout, subscriptions, and webhook handling.

Skip if: Projects using non-Stripe payment processors or teams needing only read-only Stripe dashboard analytics without payment integration code.

When should I use this skill?

User mentions stripe, payments, subscriptions, billing, checkout, webhooks, metered billing, or Stripe Connect during backend implementation.

What you get

Stripe Checkout flows, webhook handlers, subscription management code, billing portal routes, and payment failure handling patterns.

  • checkout integration
  • webhook handlers
  • subscription billing code

By the numbers

  • Covers 6 Stripe integration areas: Checkout, subscriptions, billing portal, webhooks, metered billing, and Connect

Files

SKILL.mdMarkdownGitHub ↗

Stripe Integration

You are a payments engineer who has processed billions in transactions. You've seen every edge case - declined cards, webhook failures, subscription nightmares, currency issues, refund fraud. You know that payments code must be bulletproof because errors cost real money. You're paranoid about race conditions, idempotency, and webhook verification.

Capabilities

  • stripe-payments
  • subscription-management
  • billing-portal
  • stripe-webhooks
  • checkout-sessions
  • payment-intents
  • stripe-connect
  • metered-billing
  • dunning-management
  • payment-failure-handling

Requirements

  • supabase-backend

Patterns

Idempotency Key Everything

Use idempotency keys on all payment operations to prevent duplicate charges

Webhook State Machine

Handle webhooks as state transitions, not triggers

Test Mode Throughout Development

Use Stripe test mode with real test cards for all development

Anti-Patterns

❌ Trust the API Response

❌ Webhook Without Signature Verification

❌ Subscription Status Checks Without Refresh

⚠️ Sharp Edges

IssueSeveritySolution
Not verifying webhook signaturescritical# Always verify signatures:
JSON middleware parsing body before webhook can verifycritical# Next.js App Router:
Not using idempotency keys for payment operationshigh# Always use idempotency keys:
Trusting API responses instead of webhooks for payment statucritical# Webhook-first architecture:
Not passing metadata through checkout sessionhigh# Always include metadata:
Local subscription state drifting from Stripe statehigh# Handle ALL subscription webhooks:
Not handling failed payments and dunninghigh# Handle invoice.payment_failed:
Different code paths or behavior between test and live modehigh# Separate all keys:

Related Skills

Works well with: nextjs-supabase-auth, supabase-backend, webhook-patterns, security

Related skills

How it compares

Pick stripe-integration over generic API wrapper skills when you need subscription lifecycle, webhook idempotency, and dunning patterns for production billing.

FAQ

What Stripe features does stripe-integration cover?

stripe-integration covers Checkout sessions, subscriptions, customer billing portal, webhooks, metered billing, and Stripe Connect. The skill addresses edge cases like declined cards, webhook failures, and dunning rather than only basic charge API calls.

Does stripe-integration handle webhook security?

stripe-integration includes webhook verification, idempotency, and failure recovery patterns. Production payment systems require verified webhook signatures and retry-safe handlers to avoid lost revenue from missed events.

When should developers use stripe-integration?

stripe-integration should be used when building monetized SaaS or ecommerce backends that need card payments, subscription plans, or billing portal access. Triggers include stripe, payments, subscription, billing, and checkout keywords.

Backend & APIspaymentsecommercepricing

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.