{"id":2644,"date":"2024-12-31T20:25:46","date_gmt":"2024-12-31T20:25:46","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/integrate-mastercard-payment-gateway-in-woocommerce\/"},"modified":"2025-01-02T10:00:00","modified_gmt":"2025-01-02T10:00:00","slug":"integrate-mastercard-payment-gateway-in-woocommerce","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/integrate-mastercard-payment-gateway-in-woocommerce\/","title":{"rendered":"Integrate Mastercard Payment Gateway in WooCommerce"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Want to elevate your customer\u2019s payment experience? Follow the steps below to integrate the Mastercard payment gateway in WooCommerce.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mastercard Payment Gateway Services (MPGS) is a global payment processing service that offers secure payments through its industry-leading technology that mitigates PCI risks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog post, I will show you an easy way to integrate Mastercard payment gateway in WooCommerce step-by-step.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-use-mpgs\">Why Use MPGS to Accept Payments?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Mastercard Payment Gateway allows you, as a merchant, to accept local and <a href=\"https:\/\/meetanshi.com\/blog\/woocommerce-payment-gateways\/\" target=\"_blank\" rel=\"noopener\">international payments<\/a>, giving you an edge over your competitors and giving your users a better checkout experience.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using MPGS to accept payments helps you to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Expand your geographical reach<\/li>\n\n\n\n<li>Use advanced technologies and trends<\/li>\n\n\n\n<li>Offer diverse payment options to your customers<\/li>\n\n\n\n<li>Offers security features to avoid payment fraud<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"pre-integration\">Pre-integration: Create MPGS Merchant Account in the Bank<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-use\">How to Integrate Mastercard Payment Gateway in WooCommerce?<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-plugin\">Step 1: Install MPGS Plugin<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You need a WooCommerce MPGS plugin to integrate Mastercard payment gateway in WooCommerce.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We recommend using Meetanshi\u2019s <a href=\"https:\/\/meetanshi.com\/woocommerce-mastercard-payment-gateway.html\">WooCommerce Mastercard Payment Gateway<\/a> plugin for easy integration. The plugin lets you integrate the payment gateway services through a hosted method, assuring high-end security.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2022\/12\/WooCommerce-Mastercard-Payment-Gateway-Meetanshi-.png\" alt=\"WooCommerce Mastercard Payment Gateway - Meetanshi\" class=\"wp-image-45974\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Download the plugin zip file and extract it manually to your site\u2019s \/wp-content\/plugins\/ directory. You can also install the extension directly from <strong>WordPress Admin &gt; Plugins &gt; Upload option<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"enable-plugin\">Step 2: Enable Plugin<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once the plugin is installed, go to your <strong>WordPress Admin &gt; WooCommerce &gt; Settings&nbsp;<\/strong>and click the <strong>Payments<\/strong> tab.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, select the <strong>Mastercard Payment<\/strong> option and click <strong>Finish Setup<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enable the WooCommerce MPGS plugin and enter a custom title and description for the payment method to display on the checkout page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2022\/12\/Enable-the-MasterCard-payment.png\" alt=\"Enable the MasterCard payment\" class=\"wp-image-45972\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"enter-merchant-api\">Step 3: Enter Merchant API Details<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now, scroll down the configuration setting and enter your MPGS account details to integrate it. You&#8217;ll need to contact your MPGS services-providing bank for these API details:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MPGS URL<\/li>\n\n\n\n<li>API Version<\/li>\n\n\n\n<li>Merchant ID<\/li>\n\n\n\n<li>Authentication Password<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Enter the merchant name and redirect text that you&#8217;d like to display on the gateway page and click &#8220;<strong>Save changes<\/strong>.&#8221;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2022\/12\/Save-the-changes-.png\" alt=\"Save the changes\" class=\"wp-image-45973\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">You&#8217;ve successfully set up WooCommerce MPGS payment method for your store. The customers can now use it to make secure payments on the checkout.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"test\">Step 4: Test WooCommerce Mastercard Payments<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"meetanshi-cta\">\r\n<div class=\"cta-content-wrapper\">\r\n<span>WooCommerce Payment Solution <\/span>\r\n<p>Easily capture payments across multiple devices safely.<\/p>\r\n<a href=\"https:\/\/meetanshi.com\/woocommerce-mastercard-payment-gateway.html\" target=\"_blank\" class=\"btn-primary\">Get Started Now<\/a>\r\n<\/div>\r\n<div class=\"cta-image-new\">\r\n<img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/11\/woocommerce-mastercard-payment-gateway.png\" alt=\"WooCommerce Mastercard Payment Gateway\">\r\n<\/div>\r\n<\/div><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"offer-convenience\">Offer Convenience Through Mastercard Integration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I hope you\u2019ll find the above method simple &amp; easy to integrate with the Mastercard payment gateway in WooCommerce.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go ahead and integrate this to win your customer&#8217;s trust. It is a secured payment solution that will significantly increase your conversion rate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let me know if you face any problems or issues during the WooCommerce Mastercard integration; I\u2019d be happy to assist you.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to elevate your customer\u2019s payment experience? Follow the steps below to integrate the Mastercard payment gateway in WooCommerce. Mastercard Payment Gateway Services (MPGS) is&#8230;<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[112],"tags":[],"class_list":["post-2644","post","type-post","status-publish","format-standard","hentry","category-e-commerce"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/2644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=2644"}],"version-history":[{"count":1,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/2644\/revisions"}],"predecessor-version":[{"id":3843,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/2644\/revisions\/3843"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=2644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=2644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=2644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}