stripe-best-practices

Guide Stripe payment integrations using CheckoutSessions and PaymentIntents best practices.

3|Updated Dec 14, 2025
One-click install
npx skills add https://github.com/Delqhi-Projects/ZOE-Solar-Accounting-OCR --skill stripe-best-practices-delqhi-projects
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe-best-practices
Source: https://github.com/Delqhi-Projects/ZOE-Solar-Accounting-OCR/tree/main/.claude/PLUGINS/marketplaces/claude-plugins-official/external_plugins/stripe/skills/stripe-best-practices
Command: npx skills add https://github.com/Delqhi-Projects/ZOE-Solar-Accounting-OCR --skill stripe-best-practices-delqhi-projects

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stripe integrations often struggle with inconsistent patterns, leading to unstable payments, security gaps, and high maintenance costs.

Core Features & Use Cases

  • Prioritize the CheckoutSessions and PaymentIntents workflows for most payment scenarios.
  • Use SetupIntents for saving payment methods and Billing APIs for subscriptions and invoicing.
  • Provide migration guidance and avoid deprecated endpoints to ensure forward compatibility.

Quick Start

Outline a Stripe integration plan following the recommended Checkout and PaymentIntents flows.

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 structure a Stripe integration for web and mobile payments?

To save payment methods for future transactions, use SetupIntents rather than direct charges. This ensures secure payment method storage and allows you to charge customers later without handling raw card data.

How do I handle Stripe subscriptions and invoicing in my application?

Use Billing APIs to handle Stripe subscriptions and automated invoicing. This approach provides built-in logic for recurring billing cycles, prorations, and subscription lifecycle management, reducing maintenance overhead.

When do I need to migrate from deprecated Stripe API endpoints?

You need to migrate from deprecated Stripe endpoints immediately to ensure forward compatibility and security. Migrating to current APIs like PaymentIntents prevents integration instability and closes security gaps in your payment flows.

Does this Stripe best practices guide support Connect-based platform integrations?

Yes, these Stripe best practices apply to Connect-based platforms alongside standard one-time payments, subscriptions, and refunds. The guide ensures consistent, secure patterns for routing payments across multi-party marketplaces using Checkout and PaymentIntents.