Stripe Webhook URL
Copy this URL and paste it into Stripe Dashboard → Developers → Webhooks.
Endpoint URL
The URL above is generated from your current app host and will look like:
https://YOUR-APP-HOST/functions/stripeWebhook
- In Stripe: Developers → Webhooks → Add endpoint (or edit existing).
- Paste the URL above.
- Select events: checkout.session.completed, invoice.payment_succeeded, invoice.payment_failed, customer.subscription.updated, customer.subscription.deleted.
- Save. If Stripe shows a new signing secret (whsec_), update it in Base44 Settings → Environment variables as STRIPE_WEBHOOK_SECRET.