integrating-stripe-payments

Solid

Complete workflow for integrating Stripe payments (subscriptions or one-time) with Convex + Next.js. Includes hosted checkout, webhooks, UI components, and testing. Use when adding payment functionality to a Convex + Next.js app.

Web & Frontend 364 stars 68 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
85
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Integrating Stripe Payments ## Core Workflow When user requests Stripe payment integration for Convex + Next.js: ### 1. Requirements Gathering Ask these questions first: - **Payment type**: Subscription or one-time payment? - **Backend**: Confirm this is Convex (required for this skill) - **Checkout preference**: Hosted Stripe Checkout (recommended) or embedded? - **Pricing**: Amount, currency, billing interval for subscriptions? - **Product**: What does user get after payment? ### 2. API Keys & Environment Setup **CRITICAL**: Gather these FIRST before proceeding - MCP tools require credentials. 1. **Get Stripe API keys from user**: - Ask for Stripe Secret Key (starts with `sk_test_` or `sk_live_`) - Add to `.env.local`: `STRIPE_SECRET_KEY=sk_test_...` 2. **Install dependencies**: `npm install stripe` 3. **Set initial environment variables**: - `STRIPE_SECRET_KEY` (from step 1) - `NEXT_PUBLIC_SITE_URL=http://localhost:3000` (default local development) 4. **Use Stripe MCP tool** to create product/price and get price ID 5. **Use Convex MCP tool** to set remaining environment variables 6. **Manual fallback**: Follow `resources/environment-setup.md` Complete required env vars: - `STRIPE_SECRET_KEY` ✓ (set in step 1) - `STRIPE_PRICE_ID` (from Stripe MCP tool) - `STRIPE_WEBHOOK_SECRET` (set during webhook configuration) - `NEXT_PUBLIC_SITE_URL` ✓ (set in step 1) ### 3. Database Schema Update `convex/schema.ts` with Stripe fields. See `resources/database-sche...

Details

Author
majiayu000
Repository
majiayu000/claude-skill-registry
Created
5 months ago
Last Updated
today
Language
HTML
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

stripe-integration

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

335 Updated today
aiskillstore
Web & Frontend Listed

payment-integration

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks.

43 Updated 3 months ago
diegosouzapw
AI & Automation Solid

stripe-payments

Add Stripe payments to a web app — Checkout Sessions, Payment Intents, subscriptions, webhooks, customer portal, and pricing pages. Covers the decision of which Stripe API to use, produces working integration code, and handles webhook verification. No MCP server needed — uses Stripe npm package directly. Triggers: 'add payments', 'stripe', 'checkout', 'subscription', 'payment form', 'pricing page', 'billing', 'accept payments', 'stripe webhook', 'customer portal'.

813 Updated 2 weeks ago
jezweb
AI & Automation Solid

stripe-integration

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

36,222 Updated today
wshobson
Web & Frontend Solid

stripe-integration

Get paid from day one. Payments, subscriptions, billing portal, webhooks, metered billing, Stripe Connect. The complete guide to implementing Stripe correctly, including all the edge cases that will bite you at 3am. This isn't just API calls - it's the full payment system: handling failures, managing subscriptions, dealing with dunning, and keeping revenue flowing. Use when: stripe, payments, subscription, billing, checkout.

27,705 Updated today
davila7