Errors

Stripe webhook is not configured — set STRIPE_WEBHOOK_SECRET and STRIPE_SECRET_KEY

Stripe webhook endpoint — signing secret and/or secret key missing.

Stripe webhook is not configured — set STRIPE_WEBHOOK_SECRET and STRIPE_SECRET_KEY

/api/webhooks/stripe cannot verify events until the webhook signing secret and Stripe secret key are set (env or Admin → Payment Settings).

Why this happens

Checkout may work at Stripe while the site never credits the account, because webhooks are rejected or not configured. Distinct from Missing stripe-signature header (request has no signature at all).

Diagnose and fix

1. In Stripe Dashboard → Webhooks, create an endpoint to this site’s Stripe webhook URL.

2. Paste the signing secret as STRIPE_WEBHOOK_SECRET or in Admin → Payment Settings; also ensure the secret key is set.

3. Resend a test event; confirm delivery succeeds.

4. See Stripe and Missing stripe-signature header.

Related