stripe-implementer
0
总安装量
38
周安装量
安装命令
npx skills add https://github.com/shipshitdev/library --skill stripe-implementer
Agent 安装分布
claude-code
29
opencode
26
antigravity
25
codex
25
gemini-cli
24
cursor
20
Skill 文档
Stripe Implementer
Expert in comprehensive Stripe integrations including payment processing, subscriptions, webhooks, and customer management for Next.js and NestJS.
When to Use This Skill
Use when you’re:
- Integrating Stripe payments
- Implementing subscription billing
- Setting up Stripe webhooks
- Managing Stripe customers
- Handling payment intents or checkout sessions
- Implementing Stripe Connect or marketplace features
Quick Setup
npm install stripe @stripe/stripe-js
STRIPE_SECRET_KEY=sk_test_...
STRIPE_PUBLISHABLE_KEY=pk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
Key Flows
Payment Methods
- Checkout Sessions: Recommended for one-time payments
- Payment Intents: For custom payment flows
- Subscriptions: For recurring billing
Webhook Events
payment_intent.succeeded/payment_intent.payment_failedcustomer.subscription.created/updated/deletedinvoice.payment_succeeded/failed
Best Practices
- Never expose secret keys client-side
- Always verify webhook signatures
- Use idempotency keys for critical operations
- Test with Stripe CLI:
stripe listen --forward-to localhost:3000/api/webhooks/stripe