With the four values from Setting up the store’s Meta app at hand, open Back Office › Integrations › WhatsApp. Changing the connection needs Back Office configuration permission.
1. Enter the details
In the WhatsApp Number card, fill in Phone Number ID, WhatsApp Business Account ID, Permanent Access Token and App Secret, then choose Save And Check. Before anything is saved, AmigoPOS checks with Meta that:
- the token opens that phone number,
- the App Secret belongs to the same app as the token,
- the number is on that WhatsApp Business Account.
It then subscribes the app to the account’s events. If a check fails, the card shows Meta’s own message and nothing is saved.
2. Point the app’s webhook at AmigoPOS
Once connected, the card shows a Callback URL and a Verify Token, each with a Copy button. They let Meta tell AmigoPOS about deliveries, template approvals and customer replies.
- In the Meta app, choose Use cases (the pencil icon), then Customize on Connect with customers through WhatsApp, then Configuration, and choose Edit under Webhook.
- Paste the Callback URL and the Verify token, then Verify and save.
- Under Webhook fields, subscribe to messages, message_template_status_update and template_category_update.
To confirm it works, send the store’s WhatsApp number a message from your own phone. Within a minute the card’s status line changes from No webhook received yet to Last Webhook Received, and the message appears in the WhatsApp Inbox.
3. Test, change or disconnect
- Test Connection repeats the checks. Use it after changing anything in Meta: a problem turns the badge red and shows Meta’s message.
- Change reopens the fields — for a new token, a new App Secret or another number.
- Disconnect (press it twice to confirm) stops WhatsApp at once and erases the saved token and App Secret. Messages go by text where the store allows it. The templates are kept for a later reconnect.
Next: WhatsApp message templates.