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)
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.
