Przejdź do głównej treści
Ta treść nie jest jeszcze dostępna w Twoim języku i jest wyświetlana po angielsku.

Stripe Billing Master

Plugin Zweryfikowano
97

Expert Stripe billing system for money-safe webhook handlers, refund/dispute lifecycle, credit audit trails, and idempotency on server-side event processing. PROACTIVELY activate for: (1) ANY Stripe webhook handler (charge.*, invoice.*, customer.subscription.*, charge.dispute.*), (2) Credit/balance mutations that must be audit-logged, (3) Refund delta computation from previous_attributes.amount_refunded, (4) Dispute state machine (past_due hold / restore), (5) Idempotency key strategy (Idempotency-Key header > body > server UUID), (6) Stripe list-API pagination with starting_after cursor, (7) Plan resolution from Stripe price IDs with safety fallback, (8) Postgres text_pattern_ops indexes for LIKE-prefix lookups, (9) Exhaustive switch/branch on Stripe enums via satisfies Record<Union, T>, (10) Daily credit-balance reconciliation crons, (11) Credit-pack vs subscription refund differentiation, (12) Money-safe email descriptions that never claim 'free' on safety-fallback paths. Provides: full webhook idempotency checklist, refund-delta priority order, dispute-hold durable checkpoint pattern, credit_transactions audit-row invariants, allowlist default-deny for external enums, and reconciliation cron design. Complements (does NOT replace) the official stripe plugin's test-cards / explain-error / stripe-best-practices skills.

Podsumowanie AI

This plugin provides detailed patterns and best practices for handling Stripe webhooks, managing refunds and disputes, maintaining credit audit trails, and ensuring idempotency. It includes code examples for common scenarios and emphasizes security and data integrity.

Instalacja

Najpierw dodaj marketplace

/plugin marketplace add josiahsiegel/claude-plugin-marketplace
/plugin install stripe-billing-master@claude-plugin-marketplace
24 days ago
33 stars
MIT
Zaktualizowano 2 days ago
Zobacz kod źródłowy