stripe_integration

Implement Stripe payment flows including checkout, subscriptions, webhooks, and refunds.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/jvsandhu/agentic-skills --skill stripe-integration-jvsandhu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe_integration
Source: https://github.com/jvsandhu/agentic-skills/tree/main/skills/stripe_integration
Command: npx skills add https://github.com/jvsandhu/agentic-skills --skill stripe-integration-jvsandhu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires stripe, flask, and includes references (resource) and assets (resource) components.

What problem does it solve? Integrating payments into an application involves complex concerns like PCI compliance, subscription lifecycles, webhook security, and SCA requirements that are easy to get wrong. This Skill provides proven implementation patterns for Stripe so you can build correct payment flows without reinventing each integration detail. ## Core Features & Use Cases - Payment Flow Patterns: Implement hosted Checkout Sessions, custom Payment Intents, and Setup Intents for saving payment methods. - Subscription & Customer Management: Create subscriptions, manage customers and payment methods, and integrate the Stripe Customer Portal. - Secure Webhook Handling: Verify webhook signatures, process events idempotently, and handle payment success, failure, and cancellation events. - Use Case: You are adding a monthly premium plan to your SaaS app. Use this Skill to create a Checkout Session in subscription mode, set up a verified webhook endpoint to activate accounts on payment_intent.succeeded, and add a Customer Portal link for self-service plan management. ## Quick Start Use the stripe_integration skill to create a subscription checkout session and a secure webhook endpoint for my Flask application.

Frequently Asked Questions about stripe_integration

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

FAQPage Schema
How do I create a Stripe subscription in Python?

Create a subscription by calling stripe.Subscription.create with a customer ID and price ID, using payment_behavior='default_incomplete' to collect payment. The response includes a client_secret from the latest invoice's payment intent, which the frontend uses to confirm the payment.

How to handle Stripe webhooks securely?

Verify the Stripe-Signature header using stripe.Webhook.construct_event with your endpoint secret before processing any event. Process events idempotently by tracking event IDs, since Stripe retries failed webhook deliveries.

Stripe Checkout vs Payment Intents: which should I use?

Checkout Sessions provide a Stripe-hosted payment page with minimal PCI burden and the fastest implementation. Payment Intents give full control over the payment UI but require Stripe.js on the frontend and more complex integration code.

Does Stripe support Strong Customer Authentication for European payments?

Yes, Stripe supports SCA through 3D Secure authentication. Test the flow using the test card 4000002500003155, which triggers a 3D Secure challenge, and ensure your integration handles the requires_action payment intent status.

Why is my Stripe webhook receiving duplicate events?

Stripe retries webhook delivery when your endpoint does not return a 2xx response, causing duplicate events. Handle this by storing processed event IDs and skipping events that were already handled, ensuring exactly-once processing.