convex-dev-stripe

Integrates Stripe payments, subscriptions, and billing into Convex applications.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/alex-jordan547/agent-setup --skill convex-dev-stripe-alex-jordan547
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-dev-stripe
Source: https://github.com/alex-jordan547/agent-setup/tree/main/archive/convex-dev-stripe
Command: npx skills add https://github.com/alex-jordan547/agent-setup --skill convex-dev-stripe-alex-jordan547

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @convex-dev/stripe.

What problem does it solve? Building payment flows from scratch requires wiring checkout sessions, subscription lifecycle events, customer portals, and webhook synchronization into your backend. This Skill provides a Convex component that handles the complete Stripe integration lifecycle so payment data stays synchronized with your Convex database automatically. ## Core Features & Use Cases - Checkout and Subscriptions: Create Stripe Checkout sessions, manage subscription upgrades and downgrades, and adjust seat quantities through the StripeSubscriptions client API. - Webhook Synchronization: Automatically sync customers, subscriptions, payments, and invoices into Convex tables by handling 10+ Stripe webhook events. - Customer Self-Service: Generate Customer Portal sessions so users can update payment methods, download invoices, and manage billing themselves. - Use Case: A SaaS team links subscriptions to organizations with seat-based pricing, letting teams add or remove seats dynamically while payment data stays queryable in real time. ## Quick Start Install the @convex-dev/stripe npm package, register the component in convex.config.ts, and route Stripe webhooks to the component's handler in http.ts.

Frequently Asked Questions about convex-dev-stripe

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Stripe payments to a Convex app?

Install the @convex-dev/stripe npm package, add the component to your convex.config.ts, and set up a webhook route in http.ts pointing to the component's handler at /stripe/webhook. Then use the StripeSubscriptions client to create checkout sessions and manage subscriptions.

How do I handle Stripe subscription webhooks in Convex?

The component's webhook handler processes 10+ Stripe events including checkout.session.completed, customer.subscription.updated, and payment_intent.succeeded. These events automatically synchronize customers, subscriptions, payments, and invoices into dedicated Convex tables.

Can I link Stripe subscriptions to teams or organizations in Convex?

Yes, the component supports linking payments to both individual users and organizations through metadata. You can implement quantity-based pricing so teams add or remove seats dynamically using the updateSubscriptionQuantity client method.

Does the Convex Stripe component support customer billing portals?

Yes, it generates Stripe Customer Portal sessions so users can update payment methods, download invoices, and manage their billing without support involvement. Portal sessions are created through the component's client API.

When should I not use the Convex Stripe component?

Avoid it if your backend is not built on Convex, if a simpler built-in solution covers your use case, or if you do not need Stripe payment functionality. The component is specifically designed for the Convex platform.