← All projects
Project record1 mention
Originally shared on Hacker News

Stripe Integration as a Library

A stack-agnostic JS/TS library that packages Stripe integration, covering the steps every team repeats when adding subscriptions: creating the database table, setting up webhooks, and implementing the events they care about. Built on a framework for stack-agnostic libraries, with database support for Drizzle and Kysely and Prisma support coming soon. Inspired by the Stripe integration built for better-auth.

Last shared
01 / The problem

What it addresses

Whenever someone uses Stripe (e.g., for subscriptions), they go through the same few steps—creating a database table, setting up webhooks, and implementing events—and the challenge is that everyone uses a different stack.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Stripe Integration as a Library

    A stack-agnostic JS/TS library that packages Stripe integration, covering the steps every team repeats when adding subscriptions: creating the database table, setting up webhooks, and implementing the events they care about. Built on a framework for stack-agnostic libraries, with database support for Drizzle and Kysely and Prisma support coming soon. Inspired by the Stripe integration built for better-auth.

    Problem: Whenever someone uses Stripe (e.g., for subscriptions), they go through the same few steps—creating a database table, setting up webhooks, and implementing events—and the challenge is that everyone uses a different stack.

    Posted by @duckerduck · Original source ↗

    Source text · @duckerduck · · Source ↗

    I’m working on “Stripe Integration as a Library.” It seems that whenever someone uses Stripe, for example for subscriptions, they go through the same few steps: creating a database table, setting up webhooks, and implementing the events they care about. The challenge of course is that everyone uses a different stack.