stripe-integration

Installation
SKILL.md

Stripe Integration

Overview

Stripe provides a complete payments platform with server-side SDKs (Node.js) and client-side libraries (Stripe.js, React Stripe.js). The Node.js SDK handles server operations like creating Payment Intents, managing Subscriptions, and verifying webhooks. The React Stripe.js library provides pre-built UI components (PaymentElement, Elements provider) for secure client-side payment collection.

When to use: One-time payments, recurring subscriptions, usage-based billing, marketplace payouts, hosted checkout pages, custom payment forms, webhook-driven fulfillment.

When NOT to use: Cryptocurrency payments (not supported), regions where Stripe is unavailable, simple static product sales without payment processing (use a hosted storefront).

Quick Reference

Pattern API Key Points
Hosted checkout stripe.checkout.sessions.create() Stripe-hosted page, supports payment, subscription, setup modes
Payment Intent stripe.paymentIntents.create() Server-side, returns client_secret for client confirmation
Confirm payment stripe.confirmPayment({ elements, clientSecret }) Client-side, requires Elements instance
Create subscription stripe.subscriptions.create() Use payment_behavior: 'default_incomplete' for SCA
Update subscription stripe.subscriptions.update() Set proration_behavior explicitly
Related skills
Installs
32
GitHub Stars
11
First Seen
Feb 24, 2026