| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Website (website) • Discuss (mail) |
| Lines of code | 903 |
| Technical Name |
payment_mml_wipay |
| License | LGPL-3 |
| Website | https://www.mobile-lab.org |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Website (website) • Discuss (mail) |
| Lines of code | 903 |
| Technical Name |
payment_mml_wipay |
| License | LGPL-3 |
| Website | https://www.mobile-lab.org |
WiPay Payment Provider for Odoo 19
Accept credit and debit card payments in Jamaica, Trinidad & Tobago, and Barbados — directly inside Odoo's eCommerce checkout, customer portal, and invoicing flow.
Developed by M Mobile Lab Limited — www.mobile-lab.org
🔐 PCI-compliant by design. Card details are entered on WiPay's Secure Hosted Page — your Odoo server never sees raw card data. No PCI DSS certification required on your side.
Key Features
🏝️ Caribbean-FirstJM, TT, BB platforms. TTD, JMD, BBD, USD currencies.
✅ Hash VerificationMD5 authentication of every transaction response.
🛒 Cart PreservationCart restored automatically on failed payment.
📒 Auto AccountingPayment records posted to Odoo accounting instantly.
🔁 Recovery CronScheduled job creates any missed payment records.
🌐 Webhook / IPNServer-to-server notification as safety net.
🔄 Both APIsLegacy wipayfinancial.com and new wipaycaribbean.com.
⚙️ Configurable FeesCustomer pays, merchant absorbs, or split.
Supported Platforms & Currencies
| Country | Platform Code | Processor | Currencies |
|---|---|---|---|
| 🇯🇲 Jamaica | jm | FGB — First Global Bank | JMD, USD |
| 🇹🇹 Trinidad & Tobago | tt | FAC — First Atlantic Commerce | TTD, USD |
| 🇧🇧 Barbados | bb | FGB — First Global Bank | BBD, USD |
Payment Flow
WiPay uses a redirect-based hosted-page model:
- Customer clicks Pay on the checkout or invoice page.
- Odoo builds a signed POST form and redirects to the WiPay API endpoint.
- Customer enters card details on WiPay's Secure Hosted Page (FAC or FGB).
- WiPay redirects browser back to
/payment/wipay/returnwith result parameters. - Simultaneously, WiPay sends an IPN POST to
/payment/wipay/webhook. - Odoo verifies the MD5 hash, marks transaction done, creates accounting payment.
Security — Response Hash Verification
Every successful WiPay transaction response includes a hash that this module verifies automatically:
hash = md5(transaction_id + total + api_key)
A mismatch sets the transaction to error state and logs a warning — protecting you from forged payment confirmations.
⚠️ API Key note: Use the key from the Payment API tab (not WAPI Keys) on your WiPay Developer page. Sandbox key is
123.
Configuration Fields
| Field | Description |
|---|---|
| Account Number | Your 10-digit WiPay account number. Sandbox: 1234567890 |
| API Key | From WiPay Developer → Payment API tab. Used for MD5 verification. Sandbox: 123 |
| Environment | Sandbox / Test or Live |
| Platform / Country | Jamaica, Trinidad & Tobago, or Barbados |
| Fee Structure | Customer Pays / Merchant Absorbs / Split |
| Enable AVS | Optional address verification on hosted page |
| Use New API | Enable only if WiPay has onboarded you to api.wipaycaribbean.com |
Sandbox Test Cards
Jamaica / FGB
| Card Number | Brand | Result |
|---|---|---|
4035874000424977 | Visa | ✓ Approved |
5210000010001001 | Mastercard | ✓ Approved |
4265880000000007 | Visa (3DSMethod) | ✓ Approved |
Trinidad & Tobago / FAC
| Card Number | Brand | Result |
|---|---|---|
4111111111111111 | Visa | ✓ Approved |
5111111111111111 | Mastercard | ✓ Approved |
Any expiry date and any 3-digit CVV work with all test cards.
Recovering Missing Payments
Three options if payment records are ever missing:
- UI Button: Provider form → "Create Missing Payments" button
- Cron Job: Runs automatically every 6 hours (last 30 days)
- Shell Script:
./odoo-bin shell -d mydb < tools/create_missing_payments.py
Technical Details
| Property | Value |
|---|---|
| Odoo Version | 19.0 |
| Module Version | 1.0.0 |
| Dependencies | payment, website, account |
| License | LGPL-3 |
| Author | M Mobile Lab Limited |
| Website | www.mobile-lab.org |
Please log in to comment on this module