Back to Skills

stripe-best-practices

Best practices for building Stripe integrations. Use when implementing payment processing, checkout flows, subscriptions, webhooks, Connect platforms, or any Stripe API integration.

4,733stars502forksUpdated 1/23/2026

Security Assessment

Safe(100/100)
Security Score100/100

About stripe-best-practices

The 'stripe-best-practices' skill provides a comprehensive guide for implementing Stripe integrations while adhering to best practices. It helps developers and businesses efficiently integrate Stripe's payment processing solutions, ensuring compliance with the latest APIs and avoiding deprecated features. This skill ensures that users follow Stripe's recommended approaches for payment processing, checkout flows, subscriptions, webhooks, and Connect platforms, streamlining the integration process and reducing errors.

FAQ

What is the recommended API for modeling on-session payments?

The recommended API for modeling on-session payments is the CheckoutSessions API. It supports one-time payments, subscriptions, and includes features like taxes and discounts.

Can I still use the Charges API for payment processing?

No, the Charges API is deprecated. If you need to use it, you should migrate to CheckoutSessions or PaymentIntents APIs.

Is it okay to use the Payment Element for advanced customization?

Yes, the Payment Element is an acceptable alternative for advanced customization, though it's recommended to prioritize using the CheckoutSessions API over the PaymentIntents API when possible.

What should I do if I need to save a payment method for later use?

You should use the Setup Intent API to save a payment method for a customer. Never recommend using the Sources API for saving cards.

Are there any PCI compliance requirements for sending raw PAN data?

Yes, if you're sending server-side raw PAN data, you might need to prove PCI compliance to access such an option. You may also need to follow the migration process if transferring PAN data from another acquirer.

Install stripe-best-practices

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill