skillfed

stripe-integration

Set up Stripe payment processing with checkout sessions, subscription billing, and webhook event handling. Covers customer management, refunds, and SCA compliance for secure transactions. Includes quick-start examples and test utilities.

Stripe Integration handles PCI-compliant payment processing including checkout, subscriptions, and webhooks for your application.

AI-generated summary based on this skill's SKILL.md

38,308 4,097 MIT updated by wshobson

Install

wshobson/agents/stripe-integration · repository language: Python

git clone https://github.com/wshobson/agents
cp -r agents/plugins/payment-processing/skills/stripe-integration ~/.claude/skills/stripe-integration
npx skillfed install wshobson/agents/stripe-integration

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I integrate Stripe payments into my application?

stripe-integration enables you to add Stripe payment processing by setting up checkout sessions, payment intents, and customer management. The skill provides quick-start examples for initializing Stripe, creating payment sessions, and handling transaction responses. You'll configure your API keys, define product/pricing data, and implement client-side checkout flows using Stripe's hosted or embedded components.

How do I set up Stripe subscription billing and recurring charges?

stripe-integration covers subscription and recurring billing by configuring products with pricing plans, creating subscriptions for customers, and managing billing cycles. The skill includes setup intent examples for saving payment methods securely and handling subscription state changes. You can define trial periods, proration behavior, and automate invoice generation through Stripe's subscription management APIs.

What does stripe-integration provide for PCI-compliant payment processing?

stripe-integration implements PCI-compliant secure checkout by using Stripe's hosted checkout sessions and payment elements, which handle sensitive card data without exposing it to your servers. The skill covers Strong Customer Authentication (SCA) requirements, 3D Secure integration, and tokenization patterns. All examples follow Stripe's compliance best practices to minimize your PCI scope.

How does stripe-integration handle payment webhooks and transaction events?

stripe-integration provides webhook integration guidance for receiving and processing Stripe events like payment_intent.succeeded, charge.failed, and invoice.payment_action_required. The skill includes event verification, signature validation, and idempotency handling. You'll learn to set up webhook endpoints, parse event payloads, and trigger application logic based on payment status changes.

How can I manage customer payment methods and process refunds with stripe-integration?

stripe-integration covers customer payment method management by saving cards as payment methods, listing stored methods, and detaching outdated ones. For refunds, the skill demonstrates full and partial refund flows, refund status tracking, and handling refund webhooks. You can manage customer billing details, update default payment sources, and automate refund workflows based on business logic.

What test utilities does stripe-integration include for development?

stripe-integration provides test mode payment cards, mock webhook events, and sandbox customer creation for development and testing. The skill includes test card numbers for various scenarios (success, decline, 3D Secure), idempotency keys for safe retries, and guidance on simulating webhook events locally. All examples work in test mode before deploying to production.

SKILL.md

rendered from the published skill — quoted content, verbatim

Stripe Integration

Master Stripe payment processing integration for robust, PCI-compliant payment flows including checkout, subscriptions, webhooks, and refunds.

When to Use This Skill

  • Implementing payment processing in web/mobile applications
  • Setting up subscription billing systems
  • Handling one-time payments and recurring charges
  • Processing refunds and disputes
  • Managing customer payment methods
  • Implementing SCA (Strong Customer Authentication) for European payments
  • Building marketplace payment flows with Stripe Connect

Core Concepts

1. Payment Flows

Checkout Sessions

  • Recommended for most integrations
  • Supports all UI paths:
  • Stripe-hosted checkout page
  • Embedded checkout form
  • Custom UI with Elements (Payment Element, Express Checkout Element) using ui_mode='custom'
  • Provides built-in checkout capabilities (line items, discounts, tax, shipping, address

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 2 files
plugins/payment-processing/skills/stripe-integration/SKILL.md
plugins/payment-processing/skills/stripe-integration/references/details.md

Related skills

Tags

payment-gateway billing-automation recurring-charges pci-compliance checkout-flow webhook-events customer-data fraud-prevention subscription-management payment-method-storage