A Merchant Bank account that uses the MasterCard Payment Gateway Services API, ( MPGS )
- cURL, fsockopen enabled
- A server with SSL support and a SSL certificate is required (for security reasons) for this gateway to function.
Purchase the plugin and download from the link provided from www.extensionworks.com
Login to your WordPress dashboard. Click on Plugins | Add New from the left hand menu.
Click on the “upload” option, then click “Browse” to select the zip file from your computer.
After the zip file has been selected press the “Install Now” button.
On the Plugins page, find the WooCommerce MPGS (Mastercard Payment Gateway System) Payment plugin and press “Activate”
You will be prompted to install the ExtensionWorks Framework, you will need to install this to enable the WooCommerce MPGS plugin to function.
Go to the top of the page in your plugins area and you will see a Yellow Banner asking
"INSTALL THE EXTENSION WORKS FRAMEWORK" Click on the link and install the framework.
Activate the Framework.
ACTIVATE THE EXTENSION WORKS LICENCE KEY
To activate the ExtensionWorks Licence go to: Dashboard > ExtensionWorks Licences
Enable/ Disable:Enable/ Disable the plugin to function.
MPGS Test: Enable this for testing the purposes, requires you to be using your Merchant account test credentials. Allows you to use the test Credit Cards.
Title: This controls the title which the user sees during checkout.
Description: This controls the description which the user sees during checkout.
Accept Card Types: Select the Card Types you would like to offer your website customers.
The Merchant Administration credentials provided to you by the bank are not credentials to use the payment gateway API.
Gateway URL: Add in the base gateway URL.
For MasterCard MPGS: https://eu-gateway.mastercard.com/api/rest
For Commonwealth Bank MPGS: https://paymentgateway.commbank.com.au/api/rest
Merchant ID: Add in your merchant ID. Test mode requires test Merchant ID. Live mode requires your live Merchant ID.
API Username: Please add in your API Username.
API username in the format below where Merchant ID is the same as above.
["apiUsername"] = merchant.[INSERT-MERCHANT-ID];
API Password: Please add in your API Password.
API password which can be configured in Merchant Administration area. This is not your Merchant Administrator Password.
Please refer to how to generate a API password. Document
ENABLE HTTPS FOR LIVE MODE
Once you have tested and enabled production mode, enable https:// - force secure checkout.
Go to WooCommerce / Settings / General and force secure checkout.
Make sure you have also set up your SSL certificate.