stripe-best-practices

Guide Stripe integrations for CheckoutSessions, PaymentIntents, SetupIntents, Billing, and Connect.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/marcosmlslira/observadordedominios --skill stripe-best-practices-marcosmlslira
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe-best-practices
Source: https://github.com/marcosmlslira/observadordedominios/tree/main/.agents/skills/stripe-best-practices
Command: npx skills add https://github.com/marcosmlslira/observadordedominios --skill stripe-best-practices-marcosmlslira

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide consolidates Stripe integration best practices to minimize risk, maximize reliability, and avoid deprecated APIs, enabling developers to ship secure payment flows faster.

Core Features & Use Cases

  • API choice guidance for on-session and off-session payments using CheckoutSessions, PaymentIntents, and SetupIntents.
  • Recommendations to avoid the legacy Charges API, follow the Go Live Checklist, and design for PCI compliance and future migrations.
  • Real-world use cases covering SaaS billing, platform Connect flows, and secure payment method handling.

Quick Start

Follow Stripe's Integration Options and Go Live Checklist to implement a secure, scalable Stripe integration.

Frequently Asked Questions about stripe-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to handle Stripe PaymentIntents for on-session and off-session payments?

Stripe PaymentIntents handle on-session and off-session payments by securely capturing funds. For on-session flows, use SetupIntents to save payment methods for future off-session charges without requiring immediate customer authentication.

How do I migrate from the legacy Stripe Charges API to scalable payment integrations?

Migrating from the Stripe Charges API requires adopting PaymentIntents and CheckoutSessions. This migration ensures scalable, PCI-compliant payment flows by replacing direct charge calls with authenticated payment intent objects.

Does my Stripe CheckoutSession integration need dynamic payment methods to go live?

Yes, a Stripe CheckoutSession integration requires dynamic payment methods to go live. Enabling dynamic payment methods via the dashboard ensures your checkout adapts to regional availability and compliant scaling requirements.

How do I build a Stripe Connect platform flow for SaaS billing?

Build Stripe Connect platform flows for SaaS billing by routing payments between platform and connected accounts. Use CheckoutSessions or PaymentIntents with destination charges to manage multi-party money movement securely.

When should I use Stripe SetupIntents instead of PaymentIntents for billing?

Use Stripe SetupIntents instead of PaymentIntents when you need to securely save payment method details for future off-session billing. SetupIntents authenticate and save customer cards without triggering an immediate charge.