EN

@core / billing

1.0.0 ▾
verifiedMIT
GitHub

Stripe subscriptions: checkout, portal and idempotent webhooks with Drizzle

Code9 filesContext~633 tokensMCP stripescan passed

The exact tree that will be injected, after .genpmignore. Pinned to

src/lib/billing/index.tsread-only · a8a5ac1
// @core/billing — API pública. Configura los precios en plans.ts; rutas en adapters/hono.ts y adapters/next.ts.
export {
  activeSubscriptions,
  createCheckoutSession,
  createPortalSession,
  ensureCustomer,
  handleStripeWebhook,
  hasEntitlement,
  syncSubscription,
  WebhookSignatureError,
  type WebhookResult,
} from './billing.js';
export { ACTIVE_STATUSES, FEATURES_BY_PRICE } from './plans.js';
export { billingCustomers, type Subscription, stripeEvents, subscriptions } from './schema.js';
export { getStripe, setStripe } from './stripe.js';

Report @core/billing

Sign in with GitHub to report a package.