What it does
Tracks payments, invoices, and checkout events. Webhook listens for invoice.paid and checkout.session.completed.
Setup
- 1Create a Stripe account
- 2Add STRIPE_SECRET_KEY to .env
- 3Configure webhook endpoint at /api/stripe/webhook
- 4Add STRIPE_WEBHOOK_SECRET to .env
What happens without it
Finance Panel shows manually entered revenue/expenses only. No automatic payment tracking.
Ready to get started?
Full source code. Your server. No subscriptions.