🍽️ Restaurant PayMob Integration
A complete restaurant order management system for Odoo 19, fully integrated with PayMob — Egypt's leading payment gateway. From order creation to automatic payment confirmation, everything is handled in one module.
What's Inside
Order Management
Full order lifecycle with clear stages, order lines, tax calculation, and Chatter tracking.
PayMob Payment
Official 3-step PayMob integration: Auth Token → Order Registration → Payment Key.
Auto Webhook
Secure HMAC-verified webhook that automatically marks orders as paid after successful transactions.
Sales Dashboard
Live statistics for today's orders, revenue, paid count, and top-selling items this week.
Sales Reports
Pivot and graph views with filters by day, week, month, order type, and payment status.
PDF Invoice
Professional Arabic PDF invoice for every order — printable directly from the order form.
Kanban View
Kitchen-friendly Kanban board grouped by order state for real-time order tracking.
Easy Configuration
All PayMob credentials stored securely via Odoo Settings — no hardcoded keys in the code.
Order Lifecycle
Every state change is logged automatically in the Chatter with timestamp and user name. Orders can be cancelled at any stage except Paid.
PayMob Integration Flow
POST /auth/tokens
POST /ecommerce/orders
POST /payment_keys
Customer pays
After payment, PayMob sends a Webhook POST to /paymob/webhook.
The module verifies the HMAC-SHA512 signature and automatically updates the order to Paid.
Technical Specifications
| Item | Details |
|---|---|
| Odoo Version | 19.0 |
| License | LGPL-3 |
| Dependencies | base, mail, product, account |
| Payment Gateway | PayMob (Egypt) |
| Webhook Security | HMAC-SHA512 signature verification |
| Currency | EGP (Egyptian Pound) — configurable |
| Languages | Arabic (primary), English |
| Report Format | QWeb PDF — Arabic RTL layout |
Quick Setup — 3 Steps
Install the Module
Copy the folder to your Odoo addons path, update the app list, and click Install.
Enter PayMob Credentials
Go to Settings → PayMob and enter your API Key, Integration ID, iFrame ID, and HMAC Secret.
Set Webhook URL
In PayMob Dashboard set the Transaction Callback URL to:https://yourdomain.com/paymob/webhook
Free & Open Source
Ready to use in production. Licensed under LGPL-3.
View on GitHub
Please log in to comment on this module