Skip to content

Billing

Stripe subscriptions and webhooks in the dashboard.

Partners subscribe via Stripe Checkout. The dashboard handles:

  • Subscription creation and portal links
  • Webhook processing at src/pages/api/webhooks/stripe.ts
  • Invoice and payment state synced to Directus partner records

Configure Stripe webhooks to point at your dashboard URL:

https://ie.soultales.app/api/webhooks/stripe

Required events depend on your Stripe products; see the webhook handler for the current list.

Store STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, and price IDs in Cloudflare Workers secrets: never in the repository.