πŸ”” Stripe Webhook Configuration

Required for automatic payment confirmations and notifications

Step 1: Copy Your Webhook URL

Your Webhook Endpoint URL:

https://lowpondcottages.com/api/functions/handleStripeWebhook
Step 2: Configure in Stripe Dashboard
1

Go to Stripe Dashboard

2

Click "Add endpoint" or find your existing endpoint

If you already have an endpoint, click on it to edit

3

Paste your webhook URL

Use the URL copied above

4

Select these events to listen for:

checkout.session.completed
checkout.session.async_payment_failed
checkout.session.expired
payment_intent.payment_failed
5

Click "Add endpoint" or "Update endpoint"

6

Copy the Signing Secret

Click "Reveal" next to "Signing secret" and copy it (starts with whsec_)

This should already be set in your app secrets

βœ… What Happens After Configuration

βœ“ Guest pays β†’ Instant confirmation email sent to guest

βœ“ Guest pays β†’ Instant notification sent to you (admin)

βœ“ Payment fails β†’ You get notified immediately

βœ“ Booking dates automatically blocked

βœ“ No need to manually check Stripe anymore