Card payments through Mastercard Payment Gateway Services (MPGS) Hosted Checkout, built for
API version 100
(the version many acquiring banks require now that older API versions are being decommissioned).
You need a merchant account with a bank that uses MPGS. The bank gives you the gateway URL, the Merchant ID and the API password.
INITIATE_CHECKOUT session request with all order details (amount, currency, description, merchant name/address/logo, customer, return/cancel/timeout URLs).
static/checkout/checkout.min.js with Checkout.configure({ session: { id } }) only, as required from API 63.
- Payment Page (redirect to the bank page) or Embedded Page (card form inside the shop page). Lightbox no longer exists from API 63.
- Server-side verification: the order is marked as paid only after Retrieve Order confirms status CAPTURED (or AUTHORIZED) for the full amount and currency.
- Live and test (MTF) credentials side by side, with a Test mode switch.
- Purchase or Authorize-only payment action.
- Debug log (WooCommerce > Status > Logs, source
mpgs-hosted-checkout) with the full request / response - the API password is never logged.
- Admin order action "Check MPGS payment status" for customers who closed the browser before returning to the shop.
- Imports the settings of the old "WooCommerce MPGS" (woo-mpgs) plugin the first time it loads (new gateway stays disabled until you enable it).
- HPOS (custom order tables) and Checkout block compatible.
DBOtec Hosted Checkout is an independent plugin by DBOtec. It is not affiliated with, made or endorsed by Mastercard or WooCommerce. Mastercard, Mastercard Payment Gateway Services (MPGS) and WooCommerce are trademarks of their respective owners.