convex avatar

Convex Billing

Wiring Stripe into a Convex app usually means stitching together checkout, a signature-verified webhook, and some way to persist subscription state, and this skill walks through all three using the @convex-dev/stripe component. You get a checkout action that creates or reuses a Stripe customer, an httpAction webhook registered automatically via registerRoutes, and an isSubscribed query that gates access from the component's own tables instead of trusting client claims. It assumes Stripe keys sit in Convex env and that you'll configure the webhook endpoint in the Stripe dashboard yourself. Reach for it when you're adding paid tiers to a Convex project and don't want to hand-roll constructEvent handling. The one thing to watch is that it's pinned to a 0.1.x release, so expect to check the component's API if you upgrade.

skills.sh installs
41K
GitHub stars
69
last updated
Oct 26, 2026

Install

$ npx -y skills add convex/agent-skills --skill convex-billing --agent claude-code

Installs into .claude/skills of the current project.

Files

Add billing / payments

Wire Stripe to Convex using @convex-dev/stripe: a checkout action, an httpAction webhook registered by the component (signature-verified automatically), subscription state stored in the component's tables, and server-side gating via a query.

Workflow

Sponsors

Details

Repository
github.com/convex/agent-skills
Categories
AI & Agent Building, Finance & Trading, Databases
First seen
Oct 26, 2026

More from convex/agent-skills

All 30
1convex avatarconvex-seedconvex/agent-skillsSeed or import data into the Convex database.41Kskills.sh installs
2convex avatarconvex-self-healconvex/agent-skillsProduction error → triaged, root-caused, repaired, and certified (tsc + rehearsal + reproduce-then-gone) fix PR for a human to merge — then confirm the error st41Kskills.sh installs
3neondatabase avatarneon-object-storageneondatabase/agent-skillsS3-compatible object storage that branches with your database, so each branch gets its own copy of the files and the rows that point at them. Use when a user wa40.5Kskills.sh installs
4flutter avatarflutter-setup-declarative-routingflutter/agent-pluginsConfigure `MaterialApp.router` using a package like `go_router` for advanced URL-based navigation. Use when developing web applications or mobile apps that requ39.7Kskills.sh installs
5flutter avatarflutter-implement-json-serializationflutter/agent-pluginsCreate model classes with `fromJson` and `toJson` methods using `dart:convert`. Use when manually mapping JSON keys to class properties for simple data structur39.4Kskills.sh installs
6flutter avatarflutter-add-widget-previewflutter/agent-pluginsAdds interactive widget previews to the project using the previews.dart system. Use when creating new UI components or updating existing screens to ensure consi38.7Kskills.sh installs