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
- Entra a Stripe Dashboard.
- Copia Secret Key y Publishable Key.
- 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:
- Activa Customer Portal.
- Configura branding.
- Prueba el retorno al dashboard.
5. Webhooks
Usa:
/api/webhooks/paymentsEventos mínimos:
checkout.session.completedcustomer.subscription.updatedcustomer.subscription.deletedinvoice.payment_failed