- Global Payment Acceptance
- Enhanced Security with 3D Secure
- Flexible Payment Options for Customers
- Seamless Integration with Magento 2
- Scalable Solution for Global Merchants
- Fully compatible with major regional banks (HSBC, Mashreq, NBK, etc.) and multiple currencies, it is the ideal solution for scaling your business globally
Mastercard Payment Gateway Services (MPGS) - Magento 2
Screenshots
Key Benefits
Overview
Mastercard Payment Gateway Services (MPGS) - Magento 2 extension adds a seamless payment method to your Magento store, allowing you to securely accept credit and debit card payments while minimizing PCI exposure. This extension enables direct payment and hosted checkout options, providing flexibility for merchants and a secure shopping experience for customers. Merchants will need an active Mastercard Payment Gateway Services account to use the extension.
This extension is also compatible with numerous local and international payment gateways, including:
- Adcb Payment Gateway
- AFS Payment Gateway (Arab Financial Services)
- Areeba Payment Gateway
- Axis Bank Payment Gateway
- Bank Alfalah Payment Gateway
- Bank Audi Payment Gateway
- Abu Dhabi Islamic Bank Payment Gateway
- Bank Of Beirut Payments
- Banque Libano-Française
- Bendigo Bank Payment Gateway
- Burgan Bank Kuwait
- Commercial Bank of Ceylon PLC
- Commercial Bank Of Kuwait
- CrediMax Payment Gateway
- HSBC Bank Payment Gateway
- Kuwait Finance House
- Global Payments MPGS
- Mashreq Bank payment Gateway
- Mauritius Commercial Bank (MCB)
- MCB eGate (Pakistan)
- National Bank Of Egypt (NBE)
- National Bank of Oman Payment Gateway (NBO)
- Network Online Payment Gateway
- NBK Payment Gateway (National Bank of Kuwait)
- Suncorp Gateway
- Banque Saudi Fransi (البنك السعودي الفرنسي)
- Doha Bank Payment Gateway
- etc
Key Benefits
Global Payment Acceptance
-
Mastercard Payment Gateway Services (MPGS) supports credit and debit card payments from global merchants, accepting cards from all major card networks like Mastercard, Visa, and local payment gateways.
-
Works with local banks across various regions, ensuring seamless payment processing.
Enhanced Security with 3D Secure
-
3D Secure V1 & V2 (EMV 3D Secure) are supported only with the Hosted Checkout option, adding an extra layer of security for online transactions.
-
Encrypted payment credentials and SSL certificates ensure sensitive customer data is protected during transactions.
Flexible Payment Options for Customers
-
Direct Payment: Customers can securely enter their payment details directly on your website.
-
Hosted Checkout: Customers are redirected to the Mastercard Payment Gateway for a secure payment process and returned to your website once the transaction is successful.
Seamless Integration with Magento 2
-
Easily integrates with Magento 2, providing a smooth and secure payment experience for customers during checkout.
-
Support for multiple store views and multiple websites, ideal for businesses with diverse online platforms.
Scalable Solution for Global Merchants
-
Supports multiple currencies, allowing you to accept payments from customers worldwide, regardless of their location or preferred currency.
-
Unlimited domain support allows you to scale your business across various platforms with one license.
Key Features
Comprehensive Payment Gateway Support
-
Supports all major banks and payment processors worldwide, including HSBC, Kuwait Finance House, Mashreq Bank, and more, making it ideal for global merchants.
-
Compatible with a wide range of local and international payment gateways, allowing flexible payment solutions.
3D Secure Authentication
-
3D Secure V1 & V2 (EMV 3D Secure) are fully supported for Hosted Checkout, providing enhanced fraud protection and secure online payments.
-
Real-time 3D Secure authentication helps reduce chargebacks and ensures safe transactions.
Multiple Payment Methods
-
Direct Payment: Customers can enter their payment details directly on your site, creating a smooth checkout process.
-
Hosted Checkout: Redirects customers to a secure payment page hosted by the Mastercard Payment Gateway, then returns them to your site after payment completion.
Transaction and Payment Management
-
Automatically capture new sales and authorize payments directly on your Magento store.
-
Refund Online feature enables merchants to issue refunds directly from the backend of the store.
Invoice Generation and Webhook Notifications
-
Automatically generates invoices for successful transactions, improving your store’s operational efficiency.
-
Webhook notifications inform you of any failures or delays in transaction processing, ensuring accurate tracking and updates.
Multi-Store and Multi-Currency Support
-
Supports multiple websites and multiple store views, enabling you to manage payments for different markets and products.
-
Multiple currency support allows merchants to cater to international customers and offer global payment solutions.
Unlimited Domain and Website Support
-
Unlimited domains are supported with just a single license, providing flexibility for businesses with multiple online stores or platforms.
Installation
Follow the steps below to install the Mastercard Payment Gateway Services (MPGS) extension on your Magento 2 store.
1. Extract the extension files into the following directory:
app/code/PL/Mpgs/
2. Open a terminal and navigate to your Magento root directory, then run the following commands:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
After completing these steps, the extension will be available in the Magento Admin Panel for configuration.
How to configure the payment module using Mastercard Payment Gateway Services (MPGS)
Test Environment
If you would like to see how the Mastercard Payment Gateway Services (MPGS) works with Magento 2, please contact our team to request a demo or access the test environment.
Email: sales@polacin.com
The following test credit card numbers can be used in the test environment for development and testing purposes only.
Standard Test Data – All Supported Regions
Mastercard: 5123450000000008 Expiry Date: 01 / 39 3-D Secure Enrolled: Y
Mastercard: 2223000000000007 Expiry Date: 01 / 39 Secure Enrolled: Y
Mastercard: 5111111111111118 Expiry Date: 01 / 39 Secure Enrolled: N
Mastercard: 2223000000000023 Expiry Date: 01 / 39 Secure Enrolled: N
Visa: 4508750015741019 Expiry Date: 01 / 39 3-D Secure Enrolled: Y
Visa: 4012000033330026 Expiry Date: 01 / 39 3-D Secure Enrolled: N
Release Notes
Version 2.3.3 – August 3, 2025
- Compatible with API version 100 (latest)
Version 2.3.2 – October 2, 2024
- Fixed prefix order issue
- Added Test Mode option
- Compatible with API version 84 or later
Version 2.3.1 – August 31, 2024
- Fixed payment gateway URL issue
Version 2.3.0 – June 3, 2024
- Compatible with API version 80 or later
- Added customer details (firstname, lastname, email, phone) to payment request for EMV 3D Secure requirements
Version 2.2.4 – January 3, 2024
- Fixed maximum character limits for address fields
- Fixed issues with valid Arabic characters in the address fields being submitted
Version 2.2.3 – October 12, 2023
- Added CSP whitelist
- Compatible with API version 75
Version 2.2.2 – May 25, 2023
- Added price format for Omani Rial (OMR) and National Bank of Oman Payment Gateway
- Show error code and error description if payment credentials are incorrect
Version 2.2.1 – February 8, 2023
- Updated API version to 69
Version 2.2.0 – January 10, 2023
- Added Webhook notifications for better transaction tracking
Version 2.1.1 – August 12, 2022
- Compatible with API version 63 or later
Version 2.1.0 – July 12, 2022
- Added notification when a new version is available
- Show error message if payment configuration is incorrect
- General stability improvements
Version 2.0.8 – September 9, 2021
- Added parameters for Direct Payment integration
Version 2.0.7 – May 29, 2021
- Added Authorize and Refund Online for both Direct Payment and Hosted Checkout
- Stability improvements
Version 2.0.6 – November 12, 2020
- Compatible with API version 56 or later
Version 2.0.5 – April 17, 2020
- Stability improvements
- Fixed bugs for Hosted Checkout with Magento 2.3.4
Version 2.0.4 – April 19, 2019
- Stability improvements
- Encrypted API Password for better security
Version 2.0.3 – February 20, 2019
- Fixed Offline Refund issue for Hosted Checkout Payment
Version 2.0.2 – October 22, 2018
- Bug fixes and stability improvements
- Added order.reference
- Fixed Total Due issue
Version 2.0.1 – March 20, 2017
- Stable version release
FAQs
Our client is from Kuwait, so he wants surety that this will work for Kuwait and Kuwait currency as well. Is your extension compatible with the NBK payment gateway?
Is MPGS extension compatible with the Taiwanese MasterCard API endpoint?
I want to implement the Bank Alfalah payment method and just want to confirm is it safe and is it easily configurable based on the Bank Alfalah provided credentials like merchant id, operator id, password, endpoint?
Customer Reviews
-
Polacin extension 5 stars
Our team has tested the changes that you have made on the site and everything seems to be working well with 3d secure v2.
Thank you for providing us with the support.Review by Fauzy Mohamed (Posted on 9/4/2022) -
Excellent Support on Upgrade of Payment…
Excellent Support on Upgrade of Payment Gateway Extension for 3ds2 ( pls note that 3ds1 will be permanently deactivated by Master card by October 2022)Review by Angad (Posted on 7/6/2022) -
Excellent extension for MCB merchant account
This extension works very well on my website. Ran into a few minor glitches after the installation but the support has been great and I have received prompt responses every single time.Review by Heera (Lahore) (Posted on 7/1/2021) -
Great support and service
I faced a small glitch but still give you five stars because you gave me quick fix. It's working perfectly now. Thank you so much for customizing the moduleReview by LJC Bouquet (Posted on 6/11/2021) -
Very Responsive Support
Very responsive support. They save my day. This Extension is exactly what i need.
Good Work Guys!
Thanks.Review by Zain (Posted on 8/27/2020) -
Worked out of the box
The Hosted Checkout integration worked out of the box as expected with onestepcheckout. This was just what we were looking for and performs perfectly, that's great.
ThanksReview by Baylee Gulgowski (Posted on 1/11/2020) -
Great module
This module was exactly what I was looking for and I have good experience buying module from Polacin. Just get one year for the Support/Updates Period. Keep up the good work.Review by Mohammad Al Razem (Posted on 12/11/2019) -
Great Support
I'm rating 5* for your plugin and support. It's working perfectly :)
Thanks for your great support again. I really appreciate your help.Review by Kevin (Posted on 9/19/2019) -
Amazing work
Thanks Linh for your kind support, i'm enabling the Hosted Checkout method now, it's working perfectly on my website.I trust your work.Review by Fahad Abdullah (Posted on 7/13/2019) -
Superior quality and support
The Hosted Checkout Payment integration with Mastercard Payment Gateway Services absolutely meets our expectations. There was a request to contact support and our ticket has been quickly resolved. That's great.Review by Abdulaziz Alazemi (Posted on 4/17/2019)