@extends('layouts.app') @section('content')
Configure notification channels for your customers
Choose your WhatsApp messaging provider
When you click "Send Tracking" on an order, WhatsApp will open with a pre-filled message containing the tracking details. You then manually click send in WhatsApp.
Get your credentials from WasapBot.my
Your WasapBot Instance ID
Your WasapBot Access Token
Default: 0010
Your WhatsApp number (optional)
Get your credentials from Meta Business
Will be sent as X-API-Key header or Bearer token
Choose when to send WhatsApp notifications to customers
ℹ️ Only applies to internal orders (Sales Pages & Manual Checkout). Synced WooCommerce and Webhook orders are excluded to prevent spam.
Customize the message templates. Available variables: {customer_name}, {order_number}, {total}, {currency}, {tracking_number}, {courier}, {tracking_url}, {store_name}
The Official WhatsApp Business API requires pre-approved message templates registered in Meta Business Manager.
Variables must match exactly in order. Template category affects cost:
MARKETING = Contains seller_whatsapp_link (promotional). Costs more per message (~RM 0.30-0.50/msg)
UTILITY = Transactional only (tracking info). Cheaper (~RM 0.10-0.15/msg)
Variables: seller_whatsapp_link = wa.me link to seller | product_list = items separated by " | " | receipt_url = customer receipt page
Must match the language used when creating templates in Meta
[MARKETING] 5 vars: customer_name, order_number, total, store_name, seller_whatsapp_link
[MARKETING] 4 vars: customer_name, order_number, store_name, seller_whatsapp_link
[MARKETING] 6 vars: customer_name, order_number, tracking_number, courier, tracking_url, seller_whatsapp_link
[UTILITY] 5 vars: customer_name, order_number, product_list, tracking_url, receipt_url
This will be used in message templates as {store_name}