jezweb avatar

Stripe Payments

This gets you from zero to accepting payments without setting up an MCP server. It covers the decision tree between Checkout Sessions and Payment Intents, then generates working code for one-time payments, subscriptions, webhooks, and the customer portal. The webhook handler uses constructEventAsync for Cloudflare Workers compatibility since the standard method relies on Node crypto. Includes hardcoded price ID patterns, CLI commands for product setup, and the full signature verification flow. If you just need to bolt Stripe onto an existing app and want the boilerplate done right, this handles it. Defaults to Checkout Sessions since hosted pages get you live faster than embedded forms.

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

Install

$ npx -y skills add jezweb/claude-skills --skill stripe-payments --agent claude-code

Installs into .claude/skills of the current project.

Files

Stripe Payments

Add Stripe payments to a web app. Covers the common patterns — one-time payments, subscriptions, webhooks, customer portal — with working code. No MCP server needed.

Which Stripe API Do I Need?

You want to...UseComplexity
Accept a one-time paymentCheckout SessionsLow — Stripe hosts the payment page
Embed a payment form in your UIPayment Element + Payment IntentsMedium — you build the form, Stripe handles the card
Recurring billing / subscriptionsCheckout Sessions (subscription mode)Low-Medium
Save a card for laterSetup IntentsLow
Marketplace / platform paymentsStripe ConnectHigh
Let customers manage billingCustomer PortalLow — Stripe hosts it

Default recommendation: Start with Checkout Sessions. It's the fastest path to accepting money. You can always add embedded forms later.

Setup

Install

npm install stripe @stripe/stripe-js

API Keys

# Get keys from: https://dashboard.stripe.com/apikeys
# Test keys start with sk_test_ and pk_test_
# Live keys start with sk_live_ and pk_live_

Sponsors

Details

Repository
github.com/jezweb/claude-skills
Categories
Backend & APIs, AI & Agent Building, Productivity & Planning, Finance & Trading
First seen
May 16, 2026

More from jezweb/claude-skills

All 166
1jezweb avatargws-setupjezweb/claude-skillsSet up the Google Workspace CLI (gws) from scratch. Guides through GCP project creation, OAuth credentials, authentication, and installing 90+ agent skills for 1.1Kskills.sh installs
2binance avatarsub-accountbinance/binance-skills-hubBinance Sub-account request using the Binance API. Authentication requires API key and secret key.1.1Kskills.sh installs
3azurecosmosdb avatarcosmosdb-best-practicesazurecosmosdb/cosmosdb-agent-kitAzure Cosmos DB performance optimization and best practices guidelines for NoSQL, partitioning, queries, and SDK usage. Use when writing, reviewing, or refactor1.1Kskills.sh installs
4vtex avatarpayment-pci-securityvtex/skillsApply when handling credit card data, implementing secureProxyUrl flows, or working with payment security and proxy code. Covers PCI DSS compliance, Secure Prox1.1Kskills.sh installs
5tencentcloudbase avatarai-model-wechattencentcloudbase/skillsUse this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, 企业微信小程序, wx.cloud apps). Features generateText and streamText with callbacks (onText, onE1.1Kskills.sh installs
6xquik-dev avatarx-twitter-scraperxquik-dev/x-twitter-scraperUse Xquik for X/Twitter REST, MCP, SDKs, search, filtered exports, monitoring & approved publishing. Not affiliated with X Corp. Trigger for X API alternatives,1.1Kskills.sh installs