
Stripe Integration
This is the Stripe integration you wish you had before you got paged at 3am about duplicate charges. It covers the complete payment stack: checkout sessions, subscriptions, webhooks, metered billing, and Stripe Connect. The sharp edges table alone is worth it, calling out critical mistakes like skipping webhook signature verification or letting JSON middleware consume the request body before you can verify it. Built by someone who's clearly debugged webhook race conditions and dunning logic in production. Requires supabase-backend, which makes sense since you need somewhere reliable to store subscription state. If you're building anything beyond a trivial payment flow, this handles the paranoia you should have about idempotency, state drift, and webhook ordering.
- skills.sh installs
- 392
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill stripe-integration --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Backend & APIs, Documentation, Sales & Marketing, Finance & Trading
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Perplexity391
- Skill Installer391
- Documentation Templates390
- Firebase390
- Isms Audit Expert390
- Huggingface Accelerate389
- Writing Skills389
- Gemini388
- Lead Research Assistant386
- Prisma Expert386
- Clinical Decision Support384
- Theme Factory384
- Transformers383
- Systematic Debugging382
- Task Execution Engine382
- Pydicom381
- Weights And Biases381
- Segment Anything Model380
- Ai Wrapper Product379
- Dispatching Parallel Agents379
- It Operations379
- Gguf Quantization378
- Peft Fine Tuning378
- Dspy376