Skip to content

Booking WhatsApp notices

The two WhatsApp messages the system sends by itself about a booking, who gets them, and what they say. Rules: COMM-020 … COMM-025. Settings: Admin → Reminders → Automatic WhatsApp notices (Admin). Setting up the templates in Meta and switching on: WhatsApp Cloud API. The e-mails about the same events: Booking e-mails and reminders.

The two notices

Notice Sent when To Attached
Booking confirmed a booking becomes approved — finance approves it, or its status is set to approved on the booking edit route. Once per booking. the customer; the partner on a partner booking nothing — there is no booking confirmation or invoice PDF
Payment received a payment on a booking is verified by finance, or an online (Razorpay) payment is recorded. Once per payment. the payer when someone else pays and has a phone, else the customer; the partner on a partner booking the payment's receipt PDF (FIN-045)

Both are off until an administrator switches them on. Each is sent only with a template Meta has approved; until then it is skipped and logged as Template not approved yet, never sent as free text (COMM-021).

Nothing is sent to a customer who replied STOP on WhatsApp or was recorded as opted out, to someone with no mobile number, or to a number blocked in the WhatsApp inbox. Each of these is logged as skipped with the reason.

What they say

Invented names and numbers. The wording is the template the owner created in Meta; the system fills the five values.

Booking confirmed (template booking_confirmed_text):

Assalamu alaikum Irfan Ahmad Dar, your booking BK-00123 for Umrah December (05/12/2026 to 19/12/2026) is confirmed. Travellers: Irfan Ahmad Dar, Shazia Dar and Umar Dar. — Alhuda Travels

Payment received (template payment_receipt, with the document Receipt-RCP-00012-BK-00123.pdf above the text):

Dear Bilal Payer, we have received ₹1,00,000.00 on 27/09/2026 for booking BK-00123. Balance due: ₹2,15,000.00. Your receipt is attached. — Alhuda Travels

The values come from the same booking summary as the e-mails. They never include a passport, Aadhaar or PAN number, a date of birth, a phone number, an e-mail address or a link (COMM-003).

How the receipt is attached

The receipt is the PDF issue-document makes for the payment and keeps on the company Shared Drive (the one already issued, or a new one). The system reads it from the Drive and uploads it straight to WhatsApp's own media store; the message carries the file itself. No link is made and the file is never made public (COMM-022). If the receipt cannot be made, the text-only template payment_receipt_text goes instead.

Where to see what happened

  • Admin → Reminders → Automatic WhatsApp notices → Last 50 WhatsApp notices: when, booking, notice, customer or partner with the last two digits of the number, and the result — sent (with the file name), waiting, skipped (with the reason) or failed (with Meta's code and words).
  • Admin → Integrations → WhatsApp → WhatsApp delivery problems: the notices that failed or found no approved template (or no PDF to attach) in the last 30 days, next to the refused reset codes.
  • The booking's communications log: one line per notice sent, with the template and the file name.

Not built

  • A booking confirmation PDF or an invoice PDF. The booking confirmed notice attaches nothing.
  • A notice for a booking created already approved by a traveller transfer.
  • A notice for a receipt that is not on one booking: a receipt recorded over several bookings, and a partner's on-account receipt allocated later to bookings. An allocation is marked (Payment.allocatedFromReceiptNo) and sends nothing; until 02/10/2026 each allocation sent its own Payment received, one per booking (COMM-020).
  • A notice for a payment or booking not in rupees (the template says ₹).
  • WhatsApp versions of the reminders, the refund and the visa e-mails.
  • Templates in another language than English.
  • Incoming orders or bookings over WhatsApp — these notices are outbound only.
  • A per-booking switch to stop the notices; the customer's WhatsApp consent is the switch.