Use Stripe webhooks so payments and downstream conversions reflect in your Refer Labs dashboard reliably.
Stripe requires server-side secrets and webhook signing to be configured in your deployment environment.
STRIPE_SECRET_KEYNEXT_PUBLIC_STRIPE_PUBLISHABLE_KEYSTRIPE_WEBHOOK_SECRETValidate configuration via the Status page.
Stripe should send events to the webhook endpoint below (configured in Stripe Dashboard → Developers → Webhooks).
Webhook URL
https://referlabs.com.au/api/stripe/webhook
/api/stripe/webhook and copy the signing secret into STRIPE_WEBHOOK_SECRET.Optional: Stripe CLI quick test
# Login once stripe login # Forward events to your local server (development) stripe listen --forward-to http://localhost:3000/api/stripe/webhook # Trigger a test event stripe trigger payment_intent.succeeded