stripe

Integrate Stripe payments with webhook handling and PostgreSQL synchronization.

2|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/kvm9-dev/susanoo --skill stripe-kvm9-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe
Source: https://github.com/kvm9-dev/susanoo/tree/main/.local/skills/stripe
Command: npx skills add https://github.com/kvm9-dev/susanoo --skill stripe-kvm9-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Stripe integrations are easy to start but hard to do correctly—especially handling webhooks, syncing Stripe data into a database, and avoiding duplicate or unsafe storage patterns.

Core Features & Use Cases

  • Replit-compatible Stripe integration: Uses the Stripe SDK plus stripe-replit-sync to manage webhook processing and keep local PostgreSQL data synchronized with Stripe.
  • Safe initialization workflow: Ensures migrations run before StripeSync, configures managed webhooks in the correct order, and performs a backfill to populate existing data.
  • Database-backed reads, Stripe-backed writes: Creates products/prices via Stripe API scripts and reads from the synced PostgreSQL stripe schema to avoid maintaining duplicate source-of-truth tables.
  • Use Case: Implement subscriptions with a checkout endpoint, list products/prices for a frontend, and reliably persist customer/subscription references in application tables.

Quick Start

Use the stripe skill to integrate payments by creating your stripeClient.ts, running Stripe migrations on startup, registering the /api/stripe/webhook raw route before JSON middleware, and wiring checkout/product routes to read from the synced stripe schema.

Frequently Asked Questions about stripe

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

FAQPage Schema
How do I handle Stripe webhooks safely in a Node.js application?

To handle Stripe webhooks safely, register the raw webhook route before JSON body parsing middleware and use managed webhook setup with proper signing to verify incoming events and prevent duplicate processing.

What is the best way to sync Stripe data with PostgreSQL?

The best way to sync Stripe data with PostgreSQL is using stripe-replit-sync to maintain a dedicated stripe schema. This allows your application to read product and price data directly from the database while Stripe remains the source of truth for writes.

How do I create subscription checkout flows with Stripe?

You can create subscription checkout flows by building a checkout endpoint that calls the Stripe API to generate sessions. Persist the resulting customer and subscription references in your application tables by their Stripe IDs.

Why does my Stripe webhook integration fail on startup?

Stripe webhook integration fails on startup if the initialization order is incorrect. You must run database migrations before initializing StripeSync, then configure managed webhooks and perform a data backfill to populate existing records.

Do I need to store duplicate Stripe product data in my application database?

No, you should not store duplicate Stripe product data. Create products and prices via idempotent Stripe API scripts, then read that data from the synced PostgreSQL stripe schema to avoid maintaining conflicting source-of-truth tables.

Can I use the Stripe SDK with Replit and PostgreSQL?

Yes, you can use the Stripe SDK with Replit and PostgreSQL. The integration wires the Stripe SDK with stripe-replit-sync to manage webhook processing and synchronize your PostgreSQL database with Stripe data automatically.