Mangopay Payment Gateway - Mangopay Card Payment, Wallets and Seller Payouts | Mangopay Payment Provider
by Modvanta$ 48.86

Mangopay for Odoo 19
Take card payments through Mangopay and keep each customer in their own wallet.
Odoo creates the Mangopay payer user and wallet the first time a customer pays, sends them to the hosted Mangopay card page, and reads every result back from the API. Refunds, wallet transfers to sellers and bank payouts are done from Odoo by an accounting manager.
What it does
You paste your Mangopay Client ID and API key. Odoo asks Mangopay for an OAuth token and reuses it until shortly before it runs out, as the Mangopay docs ask. Test mode talks to the Mangopay Sandbox, Enabled talks to production.
When Marta pays an invoice of EUR 347.50, Odoo creates a natural payer user for her (or a legal payer for a company, with the contact as legal representative), opens a EUR wallet in her name and starts a Web Card PayIn. She types her card on the Mangopay page, 3-D Secure included. Her next payment reuses the same user and wallet.
Mangopay hooks are not signed, so the module never trusts them. Each provider gets a hook URL with a long random secret; when a hook arrives, Odoo only takes the resource ID and reads the pay-in, refund, transfer or payout again from the API. The return page and a 30-minute check do the same.
For marketplaces, link your sellers by their Mangopay user, wallet and recipient IDs. An accounting manager can move part of a paid order from the customer wallet to a seller wallet, keep a platform fee, and pay the seller wallet out to the bank. Nothing moves on its own.
Who it is for
| Marketplaces and platforms that already have a Mangopay contract. | |
| European shops that want card payments to land in Mangopay wallets. | |
| Finance teams that pay sellers by hand and want each transfer recorded in Odoo. |
Key features
Screens from a test database. Mangopay calls were answered by a local stand-in shaped like the examples in the Mangopay API reference; no real Mangopay account was used. The hosted card page itself is not shown.
Client ID, API key and hooks
Test the connection, then press Set Up Hooks: existing hooks are moved to this database and the missing ones are created.
| The API key, the hook secret and the hook URL are visible to administrators only |

Card type, 3-D Secure and wallets
Pick the card brands of the hosted page, the 3-D Secure mode, the statement text and where pay-ins go: the customer's own wallet or one fixed wallet.

Pay an invoice by card
Mangopay appears as a card option on the Odoo payment form, the portal and the shop checkout.

Confirmed pay-in
PayIn ID, author, credited wallet, result code and what was already sent to sellers.
| The paid amount and currency are checked against the order |

Refunds from Odoo
EUR 129 refunded on a EUR 387 company payment. Partial refunds are allowed.

Declined card
The Mangopay result code and message are kept, so you can see why. A page left open for more than 15 minutes is marked cancelled.

Mangopay users
Customers (payers) created by Odoo and the sellers (owners) you linked.

Seller wallets and balances
One wallet per currency. Read Balances asks Mangopay for the current amount.

Transfer to a seller
EUR 300 of a paid order moved to the seller wallet, EUR 30 kept as platform fee.
| Only accounting managers can send transfers and payouts | |
| You cannot transfer more than what is left after refunds and earlier transfers |

Transfers and payouts
Every money movement with its Mangopay ID and status, updated by hooks.

API log
Each call and hook, with names, emails, addresses and tokens masked.

How it works
| 1 | Install and open the provider. Invoicing or Accounting > Configuration > Payment Providers > Mangopay. |
| 2 | Paste your keys. Client ID and API key from the Mangopay Dashboard. Allow the IP address of your Odoo server in the Dashboard. |
| 3 | Set up hooks. Press Test Connection, then Set Up Hooks (your Odoo must be reachable over HTTPS). |
| 4 | Test. Test mode uses the Mangopay Sandbox and its test cards. |
| 5 | Go live. Switch to Enabled with your production keys. |
Settings
| Mangopay Client ID / API Key | Your API account. The key is only sent to get the OAuth token. |
| Mangopay Card Type | CB, Visa, Mastercard; Maestro; American Express; Bancontact. |
| Mangopay 3-D Secure Mode | Default, always ask, or let the issuer decide. |
| Mangopay Statement Descriptor | Up to 22 letters, digits and spaces. |
| Mangopay Credit Pay-ins To | The customer's own wallet, or one fixed wallet. |
| Mangopay Legal Users for Companies | Companies become legal payer users. |
| Mangopay Hook URL / Alert Email | Where hooks go and who hears about failing hooks. |
FAQ
Do I need a Mangopay contract?
Yes. The module does not open accounts; you use your own Client ID.
Are sellers paid automatically?
No. An accounting manager sends each transfer and payout. Sellers create and verify their own Mangopay owner user (KYC/KYB and SCA happen with Mangopay).
Can I refund after paying a seller?
A pay-in refund takes the money from the customer wallet. If you already moved it to a seller, Mangopay refuses the refund until the wallet has enough again.
Which currencies?
AUD, CAD, CHF, CZK, DKK, EUR, GBP, HKD, JPY, NOK, PLN, RON, SEK and USD, the Mastercard and Visa card pay-in currencies in the Mangopay currency guide. Your contract decides which are active.
Can customers save their card?
Not in this version: each payment opens the hosted card page.
Compatibility and support
Odoo 19 Community and Enterprise. Needs Invoicing.
Questions before or after you buy: modvantaapps@gmail.com. We answer setup questions and fix bugs.
Buy Now - $49Odoo 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