WooCommerce MPGS Plugin
This plugin extends WooCommerce with MasterCard Payment Gateway Services (MPGS).
This plugin implement a Hosted Checkout integration of the MasterCard Payment Gateway Services (MPGS). It has 2 checkout options, either redirect the user to MPGS payment gateway page, or pay through a popup/lightbox on your website without redirection outside your website.
Installation
- Download the WooCommerce MPGS plugin zip file and extract to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Go to WooCommerce backend settings page
- Navigate to Payments tab
- Then go to settings of MPGS gateway. Fill the form with credentials and save changes then you are ready.
Screenshots
WooCommerce MPGS setting page
Lightbox (popup) payment
Redirect to Payment page
FAQ
How to generate Authentication Password? First, login to merchant account (credentials given by the bank) and go to Admin -> Integration Settings. From there generate the Integration Authentication Password and use it in the plugin.
What is MPGS URL and what is it’s format? It is the URL that is needed to connect with the Mastercard gateway. This link should be given by your bank. Make sure to keep only the base link with only one slash at the end. It should be in this format: https://example.mastercard.com/
What is the recommended API Version to use? We are supporting the latest version of the API, However, API version 66 is the most tested version with our plugin
I am getting ‘invalid request’ error Make sure that your Merchant Account currency is the same as your website currency.
Changelog
1.5.1
1.5.0
- Support latest API version 66
- Provide support for both 3DS1 and 3-D Secure authentication version 2 (3DS2)
1.4.0
- Added filter to allow customization on the session request
- Added transaction reference to support some special MID setups
1.3.0
- Support latest API version 55
- Allow admin orders even without customer info
- Translations support
- Access order properties through get functions instead of the deprecated direct access
1.2.0
- Fix bug with some American Express cards related to handling JSON response
- Allow admin to create orders for customers
- Remove transaction ID logging and keep only transaction receipt
1.1.0
- Multisite support
- Fix redirection after payment
- Enhanced error handling
- Enhanced payment verification checking
1.0.1
- Option to edit payment icon
- Add order notes on error for better debugging
1.0