Stripe Subscription Engine
by Pankaj Kumar
Complete Next.js & Stripe billing engine with per-seat proration, secure webhooks, and multi-tenant member management.
- Automate seat-based proration when inviting or removing team members.
- Implement secure Stripe webhooks with built-in idempotency protection.
- Deploy a self-service billing portal for upgrades and invoice history.
Free
Sample input
Set up a subscription billing system with per-seat pricing and a Stripe webhook handler for my Next.js app.
Sample output
I've installed the Stripe Subscription Engine.
- Created
/api/stripe/webhookwith idempotency & signature verification. - Implemented
/api/stripe/checkoutfor seat-based pricing. - Added
/lib/seats.tsto sync Stripe quantities when members are added. - Generated Prisma schema updates.
Stripe Subscription Engine
by Pankaj Kumar
Complete Next.js & Stripe billing engine with per-seat proration, secure webhooks, and multi-tenant member management.
Free
Included in download
- Downloadable skill package
- 4 permissions declared
- Instant install
Sample input
Set up a subscription billing system with per-seat pricing and a Stripe webhook handler for my Next.js app.
Sample output
I've installed the Stripe Subscription Engine.
- Created
/api/stripe/webhookwith idempotency & signature verification. - Implemented
/api/stripe/checkoutfor seat-based pricing. - Added
/lib/seats.tsto sync Stripe quantities when members are added. - Generated Prisma schema updates.
About This Skill
🔴 Stripe Billing is a Universal Pain. Save 2–4 Days of Manual Setup. Implementing subscription billing, seats, proration, and secure webhook event handling is one of the most tedious tasks for any SaaS founder. This production-ready skill drops a complete, secure subscription engine right into your Next.js application. Why Buy This Skill? - **Signature-Verified Webhooks**: Fully configured signature checking using Stripe cryptography. - **Idempotency Protection**: Webhook event deduplication lookup to prevent processing the same transaction event twice. - **Automatic Seat Syncing & Proration**: Updates Stripe quantities instantly when members are added/removed. - **Dunning Banner & Emails**: Bounces failed payment attempts, tags org as PAST_DUE, and notifies users via console-logged or Resend email alerts. - **SQLite / PostgreSQL Compatible**: Out-of-the-box support for local SQLite development and cloud PostgreSQL (Supabase/Neon) production. Get your SaaS billing configured, tested, and running in minutes instead of days.
Use Cases
- Automate seat-based proration when inviting or removing team members.
- Implement secure Stripe webhooks with built-in idempotency protection.
- Deploy a self-service billing portal for upgrades and invoice history.
- Sync database records with Stripe using automated reconciliation scripts.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/stripe-subscription-engine -o /tmp/stripe-subscription-engine.zip && unzip -o /tmp/stripe-subscription-engine.zip -d ~/.claude/skills && rm /tmp/stripe-subscription-engine.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
Creator
Frequently Asked Questions
Learn More About AI Agent Skills
More Premium Skills

B2B Leadbot: Turn Website Visitors into Warm Leads
Build a production-ready, Claude-powered chat widget that answers visitors' questions in plain language and quietly delivers every warm lead to the owner's inbox.
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.
ai-automation-qa-pack
Professional QA & UAT documentation generator for AI automation agencies and complex agent deployments.
Bounty Security Pattern Master Library — 399 Vulnerability Patterns
A premium library of 399 vulnerability patterns and DeFi attack vectors for AI-driven bug hunting and security audits.