Payment Gateway with MPGS for WooCommerce
Accept credit and debit card payments on your WooCommerce store using MasterCard Payment Gateway Services (MPGS) Hosted Checkout.
All card data is handled by MPGS servers directly. No sensitive payment information touches your server, keeping you PCI compliant.
Features
- Test Mode – Switch between test and live credentials safely
- Debug Logging – Built-in WooCommerce logger for troubleshooting
- Transaction Details – Saves transaction ID, receipt, card type, and last 4 digits with each order
- HPOS Compatible – Works with WooCommerce High-Performance Order Storage
- Multiple API Versions – Supports MPGS API versions 49, 52, 55, 62, 63, and 66
- 3DS Authentication – Supports both 3DS1 and 3DS2
- Translation Ready – French translation included
Checkout Modes
- Payment Page – Customer is redirected to the MPGS payment page (all API versions)
- Lightbox – Payment form opens as a popup on your site (API v49-62 only)
Pro Version
Everything above stays free, forever. MPGS Pro adds payment operations tooling on top:
- Transaction Log Viewer – Every gateway event in your dashboard (WooCommerce > MPGS Logs). No FTP, no raw log files.
- Card Surcharge – Pass processing fees to the customer. Fixed or percentage, with per-country rates.
- Authorize & Capture – Hold funds at checkout, capture the full or a partial amount from the order screen when you ship.
- Branded Checkout – Your logo, website, and contact details on the MPGS payment page.
- Payment Alerts – Instant email or webhook notifications for successful, failed, and refunded payments.
Upgrade from the plugin’s Upgrade link on the Plugins page.
Credits
Maintained by Salman Patnee. Originally created by Ali Basheer (v1.0.0-1.5.1).
External Services
This plugin connects to MasterCard Payment Gateway Services (MPGS) to process payments.
- Provider: MasterCard International Incorporated – mastercard.com
- Terms of Use: mastercard.com/terms-of-use
- Privacy Policy: mastercard.com/privacy
When and what data is sent
The plugin calls MPGS servers twice per transaction:
- At checkout – Creates a payment session with order amount, currency, description, customer name/email, and return URL.
- After payment – Verifies the transaction result using the order ID.
Merchant credentials are sent server-side only and never exposed to the browser. Card numbers, CVV, and expiry dates are never sent through this plugin – customers enter these directly on MPGS-hosted pages.
Gateway domains
https://ap-gateway.mastercard.com/– Asia Pacifichttps://eu-gateway.mastercard.com/– Europehttps://na-gateway.mastercard.com/– North Americahttps://mtf.gateway.mastercard.com/– Test/Sandbox
Your bank will tell you which domain to use.
Privacy
This plugin does not track users, store card data, use tracking cookies, or share data with anyone other than MPGS for payment processing.
