ZH
测试版翻译

@core / billing

1.0.0 ▾
已验证MIT
GitHub

Stripe 订阅:结账、客户门户和幂等 Webhook(Drizzle)

代码9 个文件上下文约 633 个 tokenMCP stripe扫描通过

应用 .genpmignore 后将被注入的确切目录树。固定于

src/lib/billing/index.ts只读 · 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';

举报 @core/billing

使用 GitHub 登录后才能举报包。