Checkout works and customers pay, but in the Stripe Dashboard every delivery to our Supero endpoint shows 503.
Setting up the Stripe webhook for stripe_checkout
Common question, written up by the Supero team.
1 answer
Accepted answer
Accepted answer
The service has no webhook signing secret. Stripe callbacks are signature-checked, and when stripe_webhook_secret isn't set they fail closed with 503 instead of being processed.
- Copy the webhook URL from the
stripe_checkoutconfiguration screen in the dashboard. - Add it as an endpoint in the Stripe Dashboard. Stripe shows you a signing secret (
whsec_...). - Save that secret on the service:
bash
curl -X PUT https://api.supero.dev/api/v1/services/stripe_checkout/config \
-H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" \
-d '{"config_data": {"stripe_webhook_secret": "whsec_..."}}'config_data is merged into what's stored, so your API keys stay as they are. After that, an unsigned or badly signed event is rejected. The billing service uses the same field name.
Linkrev 1
Your answer
Know the answer? Sign in to post it. It takes an email address and a 6-digit code.
Sign in to answer