stripe-best-practices

Guide Stripe integrations with CheckoutSessions, PaymentIntents, and billing APIs.

Updated Jul 2, 2024
One-click install
npx skills add https://github.com/jyasuu/cheat-sheet --skill stripe-best-practices-jyasuu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe-best-practices
Source: https://github.com/jyasuu/cheat-sheet/tree/main/skills/stripe-best-practices
Command: npx skills add https://github.com/jyasuu/cheat-sheet --skill stripe-best-practices-jyasuu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides developers to implement Stripe integrations using proven, safe practices.

Core Features & Use Cases

  • Checkout-first: Prefer CheckoutSessions and Stripe Checkout for a secure hosted payment page.
  • API guidance: Prioritize PaymentIntents, SetupIntents, and Billing APIs for subscriptions and invoicing; avoid deprecated endpoints like Charges and legacy Sources.
  • Migrations & compliance: Provide migration paths and PCI-compliant patterns to protect card data.

Quick Start

Implement Stripe integration patterns following this guide to ensure secure, scalable payments in your app.

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 implement Stripe integrations for web and mobile?

To implement Stripe subscriptions, use the Billing APIs for invoicing combined with SetupIntents to securely collect payment details for future recurring charges.

Can I still use the legacy Stripe Charges API for new payment integrations?

Migrating legacy Stripe endpoints requires following established migration paths to transition from deprecated Charges and Sources to PaymentIntents while maintaining PCI-compliant patterns to protect card data.

Does Stripe Checkout help with PCI compliance for payment processing?

Yes, using Stripe Checkout provides a PCI-compliant hosted payment page that protects card data and ensures your integration follows recommended security patterns without handling sensitive information directly.

How do I set up Stripe subscriptions and recurring billing safely?

To set up Stripe subscriptions, use the Stripe Billing APIs for invoicing combined with SetupIntents to securely collect payment details for future recurring charges.

How do I migrate from deprecated Stripe Sources to PaymentIntents?

Migrating legacy Stripe endpoints requires following established migration paths to transition from deprecated Sources to PaymentIntents while maintaining PCI-compliant patterns to protect card data.