| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Sales (sale_management) • Contacts (contacts) • Discuss (mail) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2382 |
| Technical Name |
chat_commerce_messenger |
| License | OPL-1 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Sales (sale_management) • Contacts (contacts) • Discuss (mail) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2382 |
| Technical Name |
chat_commerce_messenger |
| License | OPL-1 |
Chat Commerce: Messenger Connector
Engage customers on Facebook Messenger with a fully integrated Odoo shopping experience.
Leverage the power of Meta's Messenger platform to sell products, manage carts, and process orders automatically. Perfect for social commerce.
Key Features
Facebook Login Integration
Easy OAuth connection to your Facebook Pages and Apps directly from Odoo settings.
Messenger Quick Replies
Interactive buttons that guide users through the shopping flow without typing.
Automated Order Creation
Instantly creates Sale Orders in Odoo when a customer completes the chat checkout.
Secure Webhooks
Robust handling of Messenger events with built-in verification and security.
The Customer Journey
1. Chat
Customers start a conversation with your Facebook Page.
2. Selection
They browse products and add items to their cart using quick buttons.
3. Delivery
Shipping details are collected and saved to Odoo for fulfillment.
Multi-Page Support
Manage multiple Facebook Pages from a single Odoo instance. Sync pages, refresh tokens, and monitor connection status with ease.
Support
Need help? Contact our support team for setup assistance or customizations.
Email Support# Messenger ↔ Odoo Setup Guide
This guide explains the current Messenger setup flow in Odoo.
This applies when the chat_commerce_messenger addon is installed.
The preferred setup is now:
- enter your Meta App ID and App Secret in Odoo
- click Connect Facebook
- sign in to Facebook
- choose the Facebook Page
- click Check Connection
- copy the webhook information into Meta
## What You Need
- the chat_commerce_messenger addon installed
- a Meta app with Messenger enabled
- a Facebook Page connected to that app
- your public Odoo base URL
- one Verify Token that you choose yourself
## Step 1: Open Bot Settings in Odoo
- Open Odoo.
- Go to Chat Commerce > Bot Settings.
- Open or create the record with: - Platform = Messenger - Active = True
## Step 2: Fill the Messenger App Fields
In the Messenger bot record, fill:
- Messenger App ID
- Messenger App Secret
- Verify Token
Then save.
## Step 3: Connect Facebook
- Click Connect Facebook.
- Facebook login will open.
- Sign in with the Facebook account that manages the Page.
- Approve permissions.
- Odoo will return to the Messenger bot form.
After this, Odoo will:
- retrieve the Pages you manage
- list them in the Pages section
- auto-fill the first available Page
## Step 4: Select the Page
If multiple Pages are shown:
- Open the Pages list or use the inline page list.
- Click Use This Page on the correct Page.
Odoo will then store:
- Facebook Page Name
- Facebook Page ID
- Access Token
## Step 5: Check Connection
Click Check Connection.
This validates:
- a Facebook Page is selected
- the stored Page access token works
- Odoo can read the selected Page from Meta
- Odoo can query the Page subscribed apps endpoint
If successful, the record should show:
- Connection Status = Ready
- Webhook Status = OK
## Step 6: Configure Meta Webhook
In the Messenger bot form, copy these values:
- Webhook URL
- OAuth Callback URL
- Verify Token
Then in Meta Developer Console:
- open your app
- go to Messenger or Webhooks setup
- set the callback URL to the Webhook URL from Odoo
- set the verify token to the same Verify Token in Odoo
- save and verify
Typical webhook URL:
- https://<your-domain>/chat_commerce/messenger/webhook
Typical OAuth callback URL:
- https://<your-domain>/chat_commerce/messenger/oauth/callback
## Step 7: Subscribe to Events
Select the Messenger webhook events you need.
For Version 1, at minimum:
- messages
- messaging_postbacks
## Step 8: Test
- Send a message to the Facebook Page in Messenger.
- Confirm Odoo receives the webhook.
- Confirm Odoo can reply back through Messenger.
## Manual Fallback
If Facebook connect is not available yet for your Meta app, you can still use manual setup.
Fill these fields directly in the Messenger bot record:
- Verify Token
- Access Token
- Facebook Page ID
- Facebook Page Name
Then configure the webhook manually in Meta.
## Important Notes
- Verify Token is your own handshake value for webhook verification.
- Access Token is the Facebook Page access token used by Odoo to send messages.
- Messenger App ID and Messenger App Secret are only needed for the one-click connect flow.
- Messenger-specific bot config fields belong to chat_commerce_messenger, not chat_commerce_base.
- Odoo can help with login, Page selection, and connection checks, but Meta still controls permissions and webhook approval.
## Recommended Result
Your Messenger bot record should end with:
- Platform = Messenger
- Active = True
- Connection Status = Ready
- Webhook Status = OK
- selected Facebook Page
- valid Access Token
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module