JA
ベータ版の翻訳

@core / billing

2.0.1 ▾
認証済みMIT
GitHub

Stripe サブスクリプション:チェックアウト、ポータル、冪等な Webhook(Drizzle)

コード9 ファイルコンテキスト約 742 トークンMCP stripeスキャン合格

.genpmignore 適用後に組み込まれる正確なツリーです。固定先:

src/lib/billing/index.ts読み取り専用 · 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 を報告

パッケージを報告するには GitHub でログインしてください。

GitHub で続ける