Documentation

Stripe

API keys, webhooks and customer portal.

Source: docs/stripe.md
The source markdown is currently written in Spanish. This UI stays in English so you can still navigate the docs comfortably.

Stripe

1. Crear cuenta y API keys

  1. Entra a Stripe Dashboard.
  2. Copia Secret Key y Publishable Key.
  3. Crea un webhook endpoint y copia el signing secret.

Screenshot placeholder: Pantalla de API keys en Stripe.

2. Variables de entorno

STRIPE_SECRET_KEY=""
STRIPE_PUBLISHABLE_KEY=""
STRIPE_WEBHOOK_SECRET=""

3. Provider

payments: {
  provider: "stripe",
}

4. Customer Portal

Si usarás billing self-service:

  1. Activa Customer Portal.
  2. Configura branding.
  3. Prueba el retorno al dashboard.

5. Webhooks

Usa:

/api/webhooks/payments

Eventos mínimos:

  • checkout.session.completed
  • customer.subscription.updated
  • customer.subscription.deleted
  • invoice.payment_failed