Integrations Pro (US, UK and EU)
How to set up signed webhooks
Webhooks send restaurant events (new orders, status changes, cancellations, payments, refunds, waiter calls, ratings and booking requests) to an HTTPS address of yours, signed with a secret so your system can check they came from MenuBeacon.
Checked against the app on
Who webhooks are for
Webhooks are for restaurants with a developer or an automation tool that should react when something happens in MenuBeacon, for example to post new orders into another system. If you only want your menu on your website, use the website menu widget instead.
Add a webhook
- In the dashboard sidebar, under Integrations, select Webhooks.
- Select Add webhook.
- Type the address that should receive events. It must start with https://.
- Tick the events you want, then select Create webhook.
- Copy the secret that appears and select I've saved my secret. It is never shown again.
- Select Test to send a test event and check the result.
Events you can choose
- New order placed (order.new)
- Order status changed (order.status_changed)
- Order cancelled (order.cancelled)
- Payment completed (payment.completed) and Payment refunded (payment.refunded)
- Waiter/bill called (waiter.called)
- Guest rating submitted (rating.submitted)
- Reservation requested (reservation.created)
Checking the signature
Each request carries X-MenuBeacon-Event (the event), X-MenuBeacon-Delivery (an ID that stays the same on every attempt of one event, so you can ignore repeats) and X-MenuBeacon-Signature in the form t=timestamp,v1=signature. Work out HMAC-SHA256 of the timestamp, a full stop and the raw request body, using your secret, and compare it with v1. The Developers page of the MenuBeacon app shows the details.
Logs, retries and pausing
- A failed delivery is retried, and X-MenuBeacon-Delivery stays the same on each attempt.
- View logs shows each delivery with its time, event, status, attempts and result.
- After repeated failures a webhook is paused and marked Paused after repeated failures. Fix your receiver, then select Resume or Test.
- Rotate gives you a new secret; the old one stops working at once.
- Deactivate stops sending without deleting the webhook.
Plan
Webhooks are on Pro in the US, UK and EU editions. If Pro ends, webhooks you already set up keep running and you can still switch them off, rotate their secret or delete them, but adding or changing them needs Pro.
If something goes wrong
The address is refused.
Webhook addresses must use HTTPS. Use an address that starts with https:// and has a valid certificate.
My system says the signature does not match.
Sign the raw body exactly as received, before any parsing, joined to the timestamp with a full stop. If you rotated the secret, update it in your system.
Events stopped arriving.
Open the webhook and check whether it says Paused after repeated failures, then look at View logs. Fix the receiver and select Resume.
Still stuck? Ask Zuzu in the chat on this page, or send us a message with your restaurant name and what you tried. We aim to reply within one business day.
Contact support