DE
Beta-Übersetzung

@core / billing

2.0.1 ▾
verifiziertMIT
GitHub

Stripe-Abos: Checkout, Kundenportal und idempotente Webhooks mit Drizzle

Code9 DateienKontext~742 TokensMCP stripePrüfung bestanden

Der genaue Baum, der nach .genpmignore eingebunden wird. Gepinnt an

src/lib/billing/index.tsschreibgeschützt · c2aa5da
// @core/billing 2.0 — API pública. Configura los precios en plans.ts; rutas en adapters/hono.ts y adapters/next.ts.
export {
  activeSubscriptions,
  createCheckoutSession,
  createPortalSession,
  ensureCustomer,
  hasEntitlement,
  syncSubscription,
} from './billing.ts';
// Compatibilidad con 1.x: el webhook y su tabla viven ahora en @core/stripe.
export { handleStripeWebhook, stripeEvents, type WebhookResult, WebhookSignatureError } from '../stripe/index.ts';
export { ACTIVE_STATUSES, FEATURES_BY_PRICE } from './plans.ts';
export { billingCustomers, type Subscription, subscriptions } from './schema.ts';
export { getStripe, setStripe } from './stripe.ts';

@core/billing melden

Melde dich mit GitHub an, um ein Paket zu melden.