JA
ベータ版の翻訳

@core / stripe

1.0.0 ▾
認証済みMIT
GitHub

共有 Stripe クライアントと、署名検証済みで冪等な単一 Webhook(各モジュールへイベントを配信)

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

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

src/lib/stripe/schema.ts読み取り専用 · 43dfe91
// Tablas de @core/stripe. Las recoge drizzle-kit vía src/lib/db/drizzle.config.ts.
// Misma tabla que tenía @core/billing 1.x: al pasar a billing 2.0 no hay migración de datos.
import { pgTable, text, timestamp } from 'drizzle-orm/pg-core';

/** Idempotencia: cada evento de Stripe se procesa una sola vez aunque llegue repetido. */
export const stripeEvents = pgTable('stripe_events', {
  id: text('id').primaryKey(),
  type: text('type').notNull(),
  processedAt: timestamp('processed_at', { withTimezone: true, mode: 'date' }).notNull().defaultNow(),
});

@core/stripe を報告

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

GitHub で続ける