Multibanco Payment Gateway - ifthenpay and euPago | MB WAY, Payshop, Portugal Payment
by Modvanta https://modvantaapps.tech/odoo-apps/payment-multibanco/
Odoo
$ 44.87

Take Multibanco, MB WAY, Payshop and card payments in Odoo 19, through ifthenpay or euPago
Multibanco | MB WAY | Payshop | cards | ifthenpay | euPago | Portugal | EUR
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Adds ifthenpay and euPago as payment providers in Odoo. Pick the gateway you have a contract with. The customer gets an entity and a reference to pay at an ATM or by home banking, approves in the MB WAY app, pays in a Payshop agent or uses a card. Odoo confirms the order and reconciles the invoice when the gateway reports the payment.
| Multibanco references: created through the gateway API with an expiry date; with ifthenpay also offline, calculated with the published algorithm from your entity and sub-entity | |
| Reference on the invoice: optional: each posted customer invoice in EUR gets a reference, shown on the invoice and printed on the PDF; a new reference for what is left after a partial payment | |
| Paid invoices: when the gateway confirms, the payment is posted and reconciled with the invoice by the standard Odoo payment flow | |
| MB WAY: the customer types the phone of the app, then approves there; the waiting page follows the answer | |
| Payshop and cards: a reference to pay in cash, or the card page of the gateway | |
| Checked notifications: the ifthenpay anti-phishing key, the MB WAY signature and the card return signature; the euPago X-Signature, encrypted webhooks and the API key of the older webhooks. A wrong one is refused | |
| Amount check: a notification with another amount does not confirm the payment | |
| One click callback: activates the ifthenpay callback of every method you have a key for | |
| Refunds: full or partial for MB WAY and cards, from Odoo | |
| Lost notifications: an hourly action checks open ifthenpay payments, stores the gateway fee and closes references past their deadline | |
| Reference email: optional email to the customer with the entity, reference and amount | |
| Point of Sale: with Odoo online payment; a card payment with euPago on an order with no customer uses the email of your company, without notifying it | |
| API log: each call and notification, with keys and customer details masked | |
| Portuguese: the module is translated |
Who it is for
PORTUGUESE SHOPS Sell on the Odoo website with the payment methods your customers expect. | INVOICING TEAMS Print a Multibanco reference on each invoice and let the payments reconcile themselves. | POINT OF SALE Use the Odoo online payment method of the register with ifthenpay or euPago. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| ifthenpay and euPago providers | Not included | Included |
| Multibanco reference from your own gateway | Not included | REST API or offline, with expiry |
| Reference printed on the invoice | Not included | Optional, on posting |
| MB WAY phone page | Not included | Included |
| Refunds from Odoo | Not included | MB WAY and cards |
Screenshots
Taken on a clean Odoo 19 database with this module installed. No merchant account was used: the answers of the gateway on this test database are simulated from its public API documentation.
1. Checkout
The customer picks a method on the Odoo payment page (website, invoice, payment link).

2. Multibanco reference
The entity, reference, amount and deadline on the payment status page.

3. MB WAY phone
The customer confirms the phone of the MB WAY app.

4. Approve in the app
The page waits for the answer and moves on by itself.

5. Reference on the invoice
The reference created when the invoice was posted.

6. ifthenpay keys
One key per method, the backoffice key and the anti-phishing key.

7. Activate Callback
One click activates the callback of each method.

8. Options
Expiry, reference email and references on invoices.

9. euPago keys
API key, OAuth client for refunds and webhook key.

10. API log
Every call and notification, with keys and customer details masked.

How it works
| 1 | Install the module and open the ifthenpay or euPago provider in the Invoicing or Website configuration. |
| 2 | Enter the keys of your contract and set the state to Test or Enabled. |
| 3 | ifthenpay: click Activate Callback. euPago: paste the Notification URL on your channel in the backoffice. |
| 4 | The customer pays with the method of their choice; the gateway notifies Odoo and the order or invoice is paid. |
Settings
| Multibanco References: ifthenpay: REST API or offline | |
| References Expire After: days; the invoice due date wins for an invoice reference | |
| Reference on Posted Invoices: on or off | |
| Email the Reference: on or off | |
| Keep API Log: days |
FAQ
Do I need a contract?
Yes, with ifthenpay or euPago: they give you the keys. The module does not include one.
Can a reference be refunded?
Not from Odoo. Multibanco and Payshop references are paid by bank or in cash, and the refund APIs of both gateways do not refund them directly. MB WAY and cards can.
How is the payment confirmed?
By the callback or webhook of the gateway, checked before anything changes. For ifthenpay, an hourly action also reads the list of payments. For euPago, Odoo waits for the webhook, which euPago repeats if it fails.
Was it tested with a real gateway account?
No. It was tested with automated tests and in a browser against answers simulated from the public documentation of both gateways. Test Connection tells you whether your keys work.
Compatibility
Odoo 19 CommunityOdoo 19 EnterpriseOn PremiseOdoo.sh
Support
Questions, a bug, or a change you need: write to us, we answer every email.
EMAIL | AUTHOR Modvanta | INCLUDED Free fixes for Odoo 19 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 1631 |
| Technical Name |
mdv_payment_multibanco |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/payment-multibanco/ |
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