stripe-integration

Automate multi-tenant Stripe payments in Next.js apps with webhooks.

Updated Aug 29, 2023
One-click install
npx skills add https://github.com/SaschaLeh/dotfiles --skill stripe-integration-saschaleh
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stripe-integration
Source: https://github.com/SaschaLeh/dotfiles/tree/main/dot_claude/skills/stripe-integration
Command: npx skills add https://github.com/SaschaLeh/dotfiles --skill stripe-integration-saschaleh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stripe integration for Next.js enables building secure, scalable payment flows across checkout, subscriptions, and webhooks in a multi-tenant setup.

Core Features & Use Cases

  • Tenant-aware Stripe client management for multi-tenant apps
  • Checkout Sessions, Subscriptions, Webhooks, and SEPA mandate handling
  • Secure, idempotent webhook processing with signature verification and logging

Quick Start

Configure a tenant-scoped Stripe client and implement a Checkout flow in your Next.js app to accept a multi-tenant payment.

Frequently Asked Questions about stripe-integration

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

FAQPage Schema
How do I handle Stripe webhooks securely in a multi-tenant Next.js app?▼

To implement Stripe multi-tenant payments in Next.js, configure a tenant-scoped Stripe client, then build checkout sessions and subscription flows that route webhook events securely using signature verification and idempotent processing for each tenant.

Can I process SEPA mandates and subscriptions with Stripe in Next.js?▼

Yes, Stripe integration for Next.js supports dynamic payment methods including SEPA mandates alongside standard checkout sessions and recurring subscriptions, enabling comprehensive multi-tenant payment flows with clear error handling.

What's the best way to manage tenant-specific Stripe clients for checkout?▼

Managing tenant-specific Stripe clients involves configuring tenant-scoped API connections within your Next.js application, allowing isolated checkout sessions, refunds, and webhook processing to operate securely across multi-tenant deployments.

Why does my Stripe webhook processing fail in a multi-tenant setup?▼

Stripe webhook processing fails in multi-tenant setups without signature verification and idempotent handling. Secure tenant-aware webhook routing ensures payment events are correctly matched to tenant-specific Stripe clients without duplication.

Does this Stripe integration support dynamic payment methods and refunds?▼

Yes, this Stripe integration supports dynamic payment methods, SEPA mandates, and refunds. It applies tenant-aware routing to these operations, ensuring secure and clear error handling across multi-tenant Next.js deployments.