Installation
Overview · Configuration · Usage · Developer notes · Troubleshooting · FAQ
Install the add-on
Section titled “Install the add-on”- In the admin panel open Add-ons > Manage add-ons, click the gear button and choose Manual installation.
- Upload the add-on archive and click Upload & install.
- Open Add-ons > Manage add-ons > In-Chat Ordering for WhatsApp and enter your license key on the License tab.
The add-on works without a key for 14 days after the first install. After that the bot needs a valid license to answer; conversations, the inbox, payment links and status updates of orders already placed keep working.
Prepare WhatsApp in Meta (once)
Section titled “Prepare WhatsApp in Meta (once)”- In Meta for Developers create an app (type Business) and add the WhatsApp product. Connect your WhatsApp Business Account and phone number.
- In Meta Business Settings create a system user, give it the app and the WhatsApp Business Account, and generate a permanent token with the permissions
whatsapp_business_messagingandwhatsapp_business_management. - Note the Phone number ID and the WhatsApp Business Account ID (WhatsApp > API Setup) and the App secret (App settings > Basic).
- Optional: in Commerce Manager create a catalog, fill it with your product feed and link it to the WhatsApp Business Account. Note the Catalog ID.
Connect the number
Section titled “Connect the number”- Open Orders > WhatsApp orders > Connection.
- Enter the phone number ID, the WhatsApp Business Account ID, the access token and the app secret, then click Save and test. The page shows the display number, the verified name and the quality rating when the token works.
- Copy the Callback URL and the Verify token into your Meta app (WhatsApp > Configuration > Webhook), click Verify and save, then subscribe to the messages field.
- Optional, recommended: in 3. Checkout form in WhatsApp click Create and upload keys, then Create and publish Flow. From now on customers fill in address, delivery and payment in one WhatsApp form.
Send “hi” to your business number from a WhatsApp account: the bot answers with the menu.
Payment methods
Section titled “Payment methods”In Settings > Checkout of the add-on choose the payment method for pay on delivery / pickup (for example “Cash on delivery”) and the online methods offered on the payment link page. Without a method the bot cannot take orders and tells the customer to talk to a person.
Updating
Section titled “Updating”Upload the new archive over the installed add-on (Add-ons > Manage add-ons > Manual installation) or use the Upgrade Center package. Tables, settings and the add-on version are brought up to date on the next admin page view. Your number, conversations and settings are kept.
Uninstalling
Section titled “Uninstalling”Uninstalling removes the add-on’s tables (numbers, conversations, message history, checkout references, log, jobs). Orders placed in WhatsApp are normal CS-Cart orders and stay.