skillfed

stripe-payments

This skill guides you through integrating Stripe into a web application, covering one-time payments via Checkout Sessions, recurring subscriptions, webhook event handling with signature verification, and customer self-service billing. It provides decision trees for choosing the right Stripe API, ready-to-use code patterns for common flows, and special handling for Cloudflare Workers environments.

Stripe Payments helps you integrate Stripe's payment APIs into web apps with working code for checkout, subscriptions, and webhooks.

AI-generated summary based on this skill's SKILL.md

943 95 MIT updated by jezweb

Install

jezweb/claude-skills/stripe-payments · repository language: Python

git clone https://github.com/jezweb/claude-skills
cp -r claude-skills/plugins/integrations/skills/stripe-payments ~/.claude/skills/stripe-payments
npx skillfed install jezweb/claude-skills/stripe-payments

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I add Stripe payments to my web app?

stripe-payments guides you through integrating Stripe into your web application with step-by-step patterns. Start by setting up your API keys, then use Checkout Sessions for one-time payments or Payment Intents for custom payment flows. The skill covers client-side redirect flows, embedded payment forms, and server-side verification to ensure secure transaction handling.

How do I set up Stripe subscriptions?

stripe-payments provides ready-to-use code patterns for recurring subscriptions and billing. You'll learn to create subscription products, set up billing cycles, configure free trials, and handle subscription status changes. The skill includes webhook handlers to track subscription events and customer portal setup so users can manage their own billing preferences.

What is Stripe webhook verification and how do I handle it?

stripe-payments teaches you to verify webhook signatures to ensure events come from Stripe. The skill covers webhook handler setup in Node.js and other environments, signature verification using your webhook secret, and safe event processing. Proper verification prevents unauthorized requests and ensures your billing logic stays in sync with Stripe's records.

How do I build a Stripe customer portal and pricing page?

stripe-payments includes templates and patterns for customer self-service billing portals and pricing pages. Learn to embed Stripe's hosted billing portal so customers manage subscriptions and payment methods independently. The skill also covers pricing page design with product listings, tier comparisons, and checkout redirects to streamline the purchase flow.

Can I use stripe-payments with Cloudflare Workers?

stripe-payments includes special handling for Cloudflare Workers environments. The skill covers API key setup, request routing, and webhook verification in a Workers context. You'll learn environment-specific patterns to securely handle payments and subscriptions without a traditional backend server.

Which Stripe API should I choose for my payment needs?

stripe-payments provides a decision tree to help you pick the right Stripe API. Use Checkout Sessions for simple one-time or subscription payments with minimal setup. Choose Payment Intents for custom payment flows requiring more control. The skill explains trade-offs so you can match the API to your application's complexity and requirements.

SKILL.md

rendered from the published skill — quoted content, verbatim

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... Use Complexity
Accept a one-time payment Checkout Sessions Low — Stripe hosts the payment page
Embed a payment form in your UI Payment Element + Payment Intents Medium — you build the form, Stripe handles the card
Recurring billing / subscriptions Checkout Sessions (subscription

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
plugins/integrations/skills/stripe-payments/SKILL.md

Related skills

Tags

payment-gateway recurring-billing webhook-handling customer-management checkout-flow subscription-model billing-portal monetization payment-processing