diff --git a/mvp/b2c/src/lib/billing/stripe.ts b/mvp/b2c/src/lib/billing/stripe.ts new file mode 100644 index 0000000..d29b22f --- /dev/null +++ b/mvp/b2c/src/lib/billing/stripe.ts @@ -0,0 +1,12 @@ +// Stub de Stripe: sin cuenta activa, no se hacen llamadas reales (ver spec, "Fuera de alcance"). +// Reservado para cuando se conecte la pasarela; cualquier uso real debe lanzar para no fingir cobros. + +export const STRIPE_ENABLED = false; + +export async function createCustomer(_email: string): Promise { + throw new Error('Stripe no está configurado (stub).'); +} + +export async function createCheckoutSession(_args: { tenantId: string; planSlug: string }): Promise { + throw new Error('Stripe no está configurado (stub).'); +}