← All questionsStripe checkout succeeds but the booking in Supabase never flips to paid — webhook thing?
About Lovable, Supabase and Stripe
Walkies, built in Lovable. Deposit goes through, Stripe dashboard shows the payment, but the row in Supabase still says pending. Works in the Lovable preview, not on the real domain.
Replies
Almost always the webhook endpoint. Stripe is sending to the preview URL you registered, not your real domain. Go to Developers → Webhooks in Stripe and check what URL is there, then look at the attempts tab, it'll show 404s or timeouts if it's wrong.
Sep 4Odalys, Noelle, Nadia B. and others agree
Also check the signing secret. Each webhook endpoint has its own whsec_ and Lovable only has the one env var, so if you added a second endpoint for prod it's verifying against the wrong secret.
Sep 5Nadia B. and Mikey B. agree
It was both. Endpoint was pointed at the preview URL, and once I fixed that the signature failed. New endpoint, new secret, pasted into Lovable's secrets, redeployed. Paid rows flip in about a second now.
Sep 7Maya R. and Mikey B. agree
Saving this. Mine does deposits too and I have never actually checked whether it still works after the first week.
Sep 9
Sign in to reply.
Replies sit in the order people agree with them; the ones the asker marks “helped” lead. Names, never a number.