Mosaic Change

Stripe Integration Debug

Test and troubleshoot your Stripe webhook integration

Webhook Configuration
Use this URL in your Stripe dashboard
Manual Payment Verification
If webhook isn't working, manually verify a payment session

Extract the session_id from the URL after payment redirect

Common Issues & Solutions

❌ Webhook not receiving events

  • Verify webhook URL is correct in Stripe dashboard
  • Check that checkout.session.completed event is selected
  • Ensure webhook secret is correctly set in environment variables
  • Check Stripe Events log for delivery status

⏰ Payment processing takes too long

  • Webhooks can take 5-10 seconds to process
  • Use manual verification if webhook is delayed
  • Check function logs for errors

🔐 Authentication errors

  • Webhook function uses service role (no user auth needed)
  • Manual verification requires user to be logged in
  • Check that BASE44_SERVICE_ROLE_KEY is set