Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Payment Providers
  3. Mastercard Payment Gateway (MPGS / MIGS) - Hosted Checkout, 3-D Secure, Refund | Mastercard Gateway v 19.0
  4. Sales Conditions FAQ

Mastercard Payment Gateway (MPGS / MIGS) - Hosted Checkout, 3-D Secure, Refund | Mastercard Gateway

by Modvanta https://modvantaapps.tech/odoo-apps/payment-mastercard-gateway/
Odoo

$ 38.89

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Mastercard Payment Gateway (MPGS) for Odoo 19
Odoo 19Hosted Checkout3-D SecureCapture / VoidRefundsSaved cardsWebhooksArabic54 automated tests

Mastercard Payment Gateway (MPGS) for Odoo 19

Accept cards through Mastercard Payment Gateway Services, the gateway many banks give their merchants (formerly MIGS), in Odoo eCommerce, the customer portal, invoices and payment links. Cards are entered on the gateway Hosted Checkout with 3-D Secure; capture, void, refunds and saved cards work from standard Odoo screens.

Buy Now - $39Ask a Question

Written and supported by Modvanta - modvantaapps@gmail.com

What it does

The module adds "Mastercard Gateway" as an Odoo payment provider. When a customer pays, Odoo opens a Hosted Checkout session on the gateway and sends the customer to the gateway payment page (or shows the gateway card form embedded in a page of your website). After the payment, Odoo reads the order from the gateway and confirms, authorizes or declines the transaction. Webhook notifications signed with your notification secret keep Odoo up to date even when the customer closes the browser.

Who it is for: Merchants whose bank or acquirer runs on the Mastercard Gateway (MPGS): many banks in the Middle East, Africa and Asia (UAE, Oman, Qatar, Egypt, Jordan, Kenya, Nigeria, Sri Lanka, Bangladesh, Pakistan and more). Any bank-branded host is supported.

Why merchants pick it

Built on the Odoo 19 payment framework, following the public Mastercard Gateway API (version 100).

Hosted Checkout, two ways
Redirect to the gateway Payment Page, or show the Embedded Page on your website. Card data never touches your server.
3-D Secure under your control
Use the gateway default, make 3-D Secure mandatory or bypass it, per provider.
Authorize, capture, void
Charge at once or only authorize; capture all or part later, or void the authorization, from the transaction.
Refunds from Odoo
Full and partial refunds from the payment or the transaction, sent to the same gateway order.
Saved cards
Customers save their card on the gateway (Credential on File token) and later orders and invoices are charged with it. Removing a card deletes the token.
Any bank host, Arabic included
Pick a Mastercard region or type the host your bank gave you. The checkout follows the visitor language; Arabic translation included.

Key features

Initiate Checkout session per payment (PURCHASE, AUTHORIZE or VERIFY)
Payment Page (redirect) or Embedded Page display
Return URL check: resultIndicator compared with the session successIndicator
Outcome always read with Retrieve Order, never trusted from the browser
Amount and currency of the gateway order checked against Odoo
Webhook endpoint with X-Notification-Secret check (HTTP 403 otherwise)
3-D Secure: gateway default, mandatory or bypass
Manual capture: full or partial captures, void of the authorization
Full and partial refunds, pending refunds finished by webhook
Saved cards with gateway tokens; customer- and merchant-initiated payments
Saved card deleted on the gateway when the customer removes it
Test mode uses the TEST merchant profile and its own API password
Regional hosts (Asia Pacific, Europe, North America, MTF) or a bank-specific host
Order id prefix so several databases can share one merchant profile
Customer e-mail, name, phone and billing address prefilled
Receipt number and authorization code on the transaction and payment message
Recovery job every 10 minutes for customers who never came back
API log with masked password and tokens, connection test button
Card brand detected from the gateway (Visa, Mastercard, Amex...)
Arabic translation of the checkout and back-office texts

Pay at checkout

Mastercard Gateway appears with your other payment methods in the Odoo 19 eCommerce checkout; customers can tick "save my payment details".

Pay at checkout

Secure payment page

Odoo opens the gateway Hosted Checkout session and starts the bank payment page (or shows the embedded card form). Card details are typed on the gateway only.

Secure payment page

Credentials and webhook

Gateway region or bank host, merchant id, API password, test API password and notification secret. The webhook URL is ready to paste in Merchant Administration.

Credentials and webhook

Hosted Checkout options

Payment Page or Embedded Page, 3-D Secure policy, name shown on the payment page, customer data, order id prefix and log retention.

Hosted Checkout options

Authorized payment: capture or void

Gateway order id, transaction id, order status, card, authorization code, receipt and 3-D Secure status on the transaction, with Capture and Void buttons.

Authorized payment: capture or void

Refunds

A partial refund sent to the same gateway order, with its own gateway transaction id and result.

Refunds

Declined payments

The gateway code and acquirer message are kept on the transaction and shown to the customer.

Declined payments

API log

Every gateway call and webhook notification, with masked password and tokens.

API log

How it works

1
Install and configure
Open Invoicing / Website > Configuration > Payment Providers > Mastercard Gateway, choose your gateway region or bank host, enter the merchant id and API password.
2
Connect the webhook
Copy the Webhook URL into Merchant Administration > Admin > Webhook Notifications and paste the notification secret into Odoo.
3
Test
Keep the provider in Test mode: Odoo uses your TEST merchant profile. Press Test Connection, then pay an order with the gateway test cards.
4
Go live
Switch the provider to Enabled and publish it. Use Capture Amount Manually to authorize only, and capture from the order or transaction.

Settings

Gateway / Gateway HostRegional Mastercard host or the host your bank gave you.
Merchant IDYour merchant id; TEST is added automatically in Test mode.
API Password / Test API PasswordIntegration passwords of the live and TEST profiles.
Notification SecretSecret checked on every webhook notification.
API VersionREST API version, 100 by default (63 or later).
Hosted Checkout DisplayPayment Page (redirect) or Embedded Page.
3-D SecureGateway default, mandatory or bypass.
Name on the Payment PageDefaults to the company name.
Send Customer & Billing AddressPrefill e-mail, name, phone and billing address.
Order ID PrefixKeeps order ids unique when several databases share a profile.
Capture Amount ManuallyStandard Odoo option: authorize only, capture later.

FAQ

Is this MIGS?
MIGS was the earlier Mastercard Internet Gateway Service. Banks moved their merchants to the Mastercard Payment Gateway Services (MPGS) REST API, which this module uses.
Where do I get the credentials?
From your bank or acquirer: they open the merchant profile and give you the merchant id and access to Merchant Administration, where you create the API password and the webhook notification secret.
Does the card data go through Odoo?
No. Customers type their card on the gateway Hosted Checkout. Odoo only receives the result, the masked card number and, for saved cards, a token.
Can customers save their card?
Yes, when your bank enabled Credential on File on the merchant profile. The gateway returns a token that Odoo uses for later payments.
What if the customer closes the browser after paying?
The webhook notification and a recovery job that runs every 10 minutes read the order on the gateway and confirm the payment.

Compatibility and support

Odoo 19 Community and Enterprise, on premise and Odoo.sh. Depends only on the standard payment and account_payment modules; eCommerce, portal, invoices and payment links use it automatically.

Questions, installation help or a feature request: write to modvantaapps@gmail.com.

Buy Now - $39
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 1355
Technical Name mdv_payment_mastercard_gateway
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/payment-mastercard-gateway/
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with