Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides Stripe integration for payments, subscriptions, usage billing, webhooks, and Supabase sync across Next.js, iOS, Android, and Flutter.
95% 100%+5 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
3 of 3 safety checks passed
162 agent runs
1 forkA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Comprehensive guidance for integrating Stripe payments including subscriptions, usage-based billing, webhooks, and multi-platform support (Next.js, iOS, Android, Flutter) with Supabase database synchronization.
Philosophy: Use Stripe Checkout for simplicity, Payment Intents for customization. Always verify webhooks. For Supabase sync, prefer Stripe Sync Engine (one-click, zero maintenance) unless you need custom schemas. Never expose secret keys to clients.
| Key Type | Prefix | Safety | Use Case |
|---|---|---|---|
| Publishable | pk_live_ / pk_test_ | Client-safe | Browser, mobile apps |
| Secret | sk_live_ / sk_test_ | Backend ONLY | Servers, Edge Functions |
| Restricted | rk_live_ / rk_test_ | Backend ONLY | Limited permissions |
| Webhook Secret | whsec_ | Backend ONLY | Signature verification |
NEVER:
ALWAYS:
// CORRECT: Use raw body for signature verification
const body = await req.text() // Raw string, NOT parsed
const signature = req.headers.get('stripe-signature')!
const event = stripe.webhooks.constructEvent(body, signature, webhookSecret)
// WRONG: This will FAIL signature verification
const body = await req.json() // DON'T parse first!
Next to this one in the catalogue, plus more from the same author.