Skip to content

Stripe payments guide covering Checkout, subscriptions, webhooks, idempotency, and key handling for current API versions.

CCM score
69 of 100
skills.sh installs
392
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Checkout Sessions, Payment Element, Setup Intents, subscriptions with the Customer Portal, Connect, and Stripe Tax setup
  • Includes a Next.js webhook handler that verifies signatures on the raw body and fulfills only on paid, idempotent events
  • Enforces idempotency keys on every create call and webhook-driven fulfillment rather than success-page grants
  • Designed for developers building or reviewing Stripe billing code that must avoid lost orders, double charges, and leaked keys

Install

$ npx -y skills add davila7/claude-code-templates --skill stripe-integration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Stripe Integration

Guidance for building payment code that does not lose orders, double-charge or leak keys. It follows Stripe's own recommendations as of October 2026. When a detail matters (a parameter, an event name, an API version), check docs.stripe.com or the Stripe MCP server's search_stripe_documentation tool before relying on memory.

Versions

  • Latest API version: 2026-09-30.endive. Pin it explicitly on the client so an account default change never alters response shapes under you.
  • Latest server SDKs: Node.js 23, Python 16, Ruby 20, PHP 22, Java 34, Go 87, .NET 53. Create a client instance; the global key pattern (stripe.api_key = …, Stripe.setApiKey) is deprecated in every SDK.
  • To move an existing integration to a newer version, read Upgrading your API version first.
// lib/stripe.ts
import Stripe from 'stripe';

export const stripe = new Stripe(process.env.STRIPE_API_KEY!, {
  apiVersion: '2026-09-30.endive',
});

Choose the API

Details

Repository
github.com/davila7/claude-code-templates
Categories
Finance & Trading, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the stripe-integration skill do?

The stripe-integration skill guides building or reviewing a Stripe integration with current Stripe guidance, covering Checkout Sessions, Payment Element, Setup Intents, subscriptions and the Customer Portal. It focuses on webhook-driven fulfillment, idempotency, restricted API keys and Stripe Tax so payment code does not lose orders or double-charge.

How do I install the stripe-integration skill?

Run npx -y skills add davila7/claude-code-templates --skill stripe-integration -y in your project to install it. Once installed, the agent gets Stripe payment and subscription guidance for building or reviewing your integration.

Where does stripe-integration rank in the Finance & Trading category?

It sits in the Finance & Trading category on Claude Marketplaces, alongside skills such as stripe-best-practices, convex-billing and create-payment-credential. It stands out for covering the full payment flow, including webhook signature verification on the raw body and subscription state sync with the Customer Portal.

Does stripe-integration handle webhooks and subscription renewals?

Yes, the skill says to fulfill orders from webhook handlers rather than the success page, and to handle checkout completion, async payment results and subscription events like invoice.paid and invoice.payment_failed. It also explains verifying signatures on the raw request body and making fulfillment idempotent.

More from davila7/claude-code-templates

All 398

Similar to Stripe Integration

More Finance & Trading