Official Odoo modules for integrating Djomy mobile money payments.
Djomy is a payment aggregator for West Africa supporting Orange Money, MTN Mobile Money, and Kulu.
| Module | Description | Odoo Version |
|---|---|---|
| payment_djomy | Payment provider for e-commerce/invoicing | 19.0 |
| pos_djomy | Point of Sale integration with QR code | 19.0 |
- Online payments via Djomy checkout page
- Webhook notifications for payment status
- Automatic token management
- Multi-currency support (GNF, XOF, EUR, USD)
- QR code payment flow
- Optional SMS with payment link
- Real-time status polling
- Support for Orange Money, MTN MoMo, Kulu
# Required for QR code generation (pos_djomy)
pip install qrcode[pil]- Copy both modules to your Odoo
addonsdirectory - Update the apps list in Odoo
- Install Payment Provider: Djomy first
- Install POS Djomy if you use Point of Sale
# Example: copy to addons
cp -r payment_djomy pos_djomy /path/to/odoo/addons/- Go to Invoicing > Configuration > Payment Providers
- Click on Djomy
- Enter your credentials:
- Client ID: Provided by Djomy
- Client Secret: Provided by Djomy
- Partner Domain: Your domain registered and validated by Djomy (optional in Test mode, required in Production)
- Select mode: Test or Enabled
- Click Publish
- Go to Point of Sale > Configuration > Payment Methods
- Create a new payment method:
- Name: Djomy (or your preferred name)
- Payment Terminal: Djomy
- Djomy Method: Orange Money / MTN / Kulu
- Add the payment method to your POS configuration
| Mode | API URL |
|---|---|
| Test (Sandbox) | https://sandbox-api.djomy.africa/v1/ |
| Production | https://api.djomy.africa/v1/ |
Configure the webhook URL in your Djomy dashboard:
https://yourdomain.com/payment/djomy/webhook
Customer selects Djomy → Enters phone number → Redirected to Djomy
→ Confirms on mobile → Webhook notification → Order confirmed
Cashier selects Djomy → Enters amount → QR code displayed
→ Customer scans → Pays on mobile → Auto-confirmed via polling
- GNF - Guinean Franc
- XOF - CFA Franc (West Africa)
- EUR - Euro
- USD - US Dollar
djomy-odoo-plugin/
├── README.md # This file
├── payment_djomy/ # E-commerce payment provider
│ ├── __manifest__.py
│ ├── const.py # API URLs, currencies, status codes
│ ├── controllers/ # HTTP routes (webhooks)
│ ├── models/ # Payment provider & transactions
│ ├── views/ # UI templates
│ ├── data/ # Default provider data
│ └── static/ # Assets (JS, images)
└── pos_djomy/ # Point of Sale integration
├── __manifest__.py
├── models/ # POS payment method
├── views/ # Configuration views
└── static/ # POS UI components (JS, XML)
- Odoo: 19.0
- Python: 3.10+
- Dependencies:
qrcode[pil](for POS module)
LGPL-3.0 - See LICENSE
- Djomy API Documentation: https://developers.djomy.africa
- Issues: GitHub Issues
- Fork the repository
- Create a feature branch
- Submit a pull request