stripe-best-practices

Guide Stripe integrations toward CheckoutSessions, PaymentIntents, and modern surfaces.

Updated Jan 11, 2017
One-click install
npx skills add https://github.com/kaustubhhiware/dotfiles --skill stripe-best-practices-kaustubhhiware
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe-best-practices
Source: https://github.com/kaustubhhiware/dotfiles/tree/main/claude/plugins/marketplaces/claude-plugins-official/external_plugins/stripe/skills/stripe-best-practices
Command: npx skills add https://github.com/kaustubhhiware/dotfiles --skill stripe-best-practices-kaustubhhiware

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides guidance on implementing Stripe integrations effectively and securely, ensuring adherence to Stripe's recommended practices and avoiding deprecated or outdated methods.

Core Features & Use Cases

  • API Guidance: Recommends the latest and most appropriate Stripe APIs (e.g., CheckoutSessions, PaymentIntents) over legacy ones (e.g., Charges API, Sources API).
  • Integration Surfaces: Prioritizes modern integration methods like Stripe Checkout and the Payment Element.
  • Use Case: When building a new e-commerce checkout flow, use this Skill to understand the recommended API endpoints and frontend components to ensure a smooth, secure, and up-to-date payment experience.

Quick Start

Consult Stripe's Integration Options documentation for building payment processing flows.

Frequently Asked Questions about stripe-best-practices

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

FAQPage Schema
What's the best way to integrate Stripe payments for a new checkout flow?

Use modern integration surfaces like Stripe Checkout and the Payment Element, combined with CheckoutSessions and PaymentIntents APIs for a secure, up-to-date checkout flow. This approach ensures a smooth payment experience.

Why should I use PaymentIntents instead of the Stripe Charges API?

You should use PaymentIntents instead of the Stripe Charges API because the Charges API is deprecated. PaymentIntents is the recommended API for building secure, modern Stripe integrations and handling complex payment flows effectively.

How do I handle Stripe subscriptions with the recommended APIs?

Handle Stripe subscriptions by utilizing the recommended CheckoutSessions and PaymentIntents APIs. This Skill guides you on the specific integration practices for subscriptions, ensuring you avoid deprecated endpoints like the Sources API.

Does this Stripe integration guidance cover Connect platforms and PCI compliance?

Yes, this Stripe integration guidance covers Connect platforms and PCI compliance. It advises on specific use cases including Connect platforms and PCI compliance to ensure your integration adheres to recommended security practices.

When should I not use the Stripe Sources API for payment integration?

You should not use the Stripe Sources API when building new payment integrations because it is deprecated. Instead, use modern integration surfaces like Stripe Checkout and the Payment Element to ensure security and adherence to current best practices.