Want to elevate your customer’s payment experience? Follow the steps below to integrate the Mastercard payment gateway in WooCommerce.
Mastercard Payment Gateway Services (MPGS) is a global payment processing service that offers secure payments through its industry-leading technology that mitigates PCI risks.
In this blog post, I will show you an easy way to integrate Mastercard payment gateway in WooCommerce step-by-step.
Why Use MPGS to Accept Payments?
The Mastercard Payment Gateway allows you, as a merchant, to accept local and international payments, giving you an edge over your competitors and giving your users a better checkout experience.
Using MPGS to accept payments helps you to:
- Expand your geographical reach
- Use advanced technologies and trends
- Offer diverse payment options to your customers
- Offers security features to avoid payment fraud
Pre-integration: Create MPGS Merchant Account in the Bank
Before you add the plugin to your WooCommerce store, you must create a merchant account with a bank supporting MPGS. If the bank supports MGPS, you can create a merchantID, which you will need while configuring.
How to Integrate Mastercard Payment Gateway in WooCommerce?
Step 1: Install MPGS Plugin
You need a WooCommerce MPGS plugin to integrate Mastercard payment gateway in WooCommerce.
We recommend using Meetanshi’s WooCommerce Mastercard Payment Gateway plugin for easy integration. The plugin lets you integrate the payment gateway services through a hosted method, assuring high-end security.

Download the plugin zip file and extract it manually to your site’s /wp-content/plugins/ directory. You can also install the extension directly from WordPress Admin > Plugins > Upload option.
Step 2: Enable Plugin
Once the plugin is installed, go to your WordPress Admin > WooCommerce > Settings and click the Payments tab.
Now, select the Mastercard Payment option and click Finish Setup.
Enable the WooCommerce MPGS plugin and enter a custom title and description for the payment method to display on the checkout page.

Step 3: Enter Merchant API Details
Now, scroll down the configuration setting and enter your MPGS account details to integrate it. You’ll need to contact your MPGS services-providing bank for these API details:
- MPGS URL
- API Version
- Merchant ID
- Authentication Password
Enter the merchant name and redirect text that you’d like to display on the gateway page and click “Save changes.”

You’ve successfully set up WooCommerce MPGS payment method for your store. The customers can now use it to make secure payments on the checkout.
Step 4: Test WooCommerce Mastercard Payments
Now that your payment gateway is configured, it is time to test if it works as expected. Please a test order on your WooCommerce store to see if it works.
Payment Gateway offers effortless and secured checkout experience.
Get ExtensionOffer Convenience Through Mastercard Integration
I hope you’ll find the above method simple & easy to integrate with the Mastercard payment gateway in WooCommerce.
Go ahead and integrate this to win your customer’s trust. It is a secured payment solution that will significantly increase your conversion rate.
Let me know if you face any problems or issues during the WooCommerce Mastercard integration; I’d be happy to assist you.