Title: DBOtec Hosted Checkout for MPGS
Author: dbotec
Published: <strong>December 1, 2026</strong>
Last modified: December 1, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/dbotec-hosted-checkout-for-mpgs.svg)

# DBOtec Hosted Checkout for MPGS

 By [dbotec](https://profiles.wordpress.org/dbotec/)

[Download](https://downloads.wordpress.org/plugin/dbotec-hosted-checkout-for-mpgs.1.0.5.zip)

 * [Details](https://wordpress.org/plugins/dbotec-hosted-checkout-for-mpgs/#description)
 * [Reviews](https://wordpress.org/plugins/dbotec-hosted-checkout-for-mpgs/#reviews)
 *  [Installation](https://wordpress.org/plugins/dbotec-hosted-checkout-for-mpgs/#installation)
 * [Development](https://wordpress.org/plugins/dbotec-hosted-checkout-for-mpgs/#developers)

 [Support](https://wordpress.org/support/plugin/dbotec-hosted-checkout-for-mpgs/)

## Description

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.

### External services

This plugin connects to the Mastercard Payment Gateway Services (MPGS) gateway of
your bank, at the gateway URL you enter in the settings (for example `https://yourbank.
gateway.mastercard.com/`). Card payments cannot work without it. Nothing is sent
until the gateway is enabled and configured.

What is sent and when:

 * When a customer places an order with this payment method (and when the order-
   pay page needs a new session), the plugin sends an `INITIATE_CHECKOUT` request
   to `{gateway}/api/rest/version/{version}/merchant/{merchantId}/session` with:
   the order ID, amount, currency, description and order number; the return, cancel
   and timeout URLs of your shop; the merchant name, shop URL, logo URL and address
   from the settings; the customer’s billing email, first name and last name; and
   the WordPress user ID of a logged-in customer. The request is authenticated with
   your Merchant ID and API password.
 * On the order-pay page the customer’s browser loads the Hosted Checkout script`{
   gateway}/static/checkout/checkout.min.js` from the gateway. The customer enters
   the card details on the gateway page or in the gateway’s embedded form; card 
   details never pass through your site.
 * When the customer returns to the shop, and when an admin runs the order action“
   Check MPGS payment status”, the plugin sends a Retrieve Order request to `{gateway}/
   api/rest/version/{version}/merchant/{merchantId}/order/{orderId}` to confirm 
   the payment.

The service is provided by Mastercard and your acquiring bank. Your merchant agreement
with the bank applies, as well as:

 * Mastercard Terms of Use: https://www.mastercard.com/global/en/vision/who-we-are/
   terms-of-use.html
 * Mastercard Global Privacy Notice: https://www.mastercard.com/global/en/privacy-
   notice.html

## Installation

 1. Upload the `dbotec-hosted-checkout-for-mpgs` folder to `/wp-content/plugins/` (
    or Plugins > Add New > Upload the zip).
 2. Activate the plugin.
 3. WooCommerce > Settings > Payments > MPGS Hosted Checkout (API v100).
 4. Fill in the live gateway URL, Merchant ID and API password (and the test ones),
    API version, merchant name.
 5. Test with Test mode on, then switch it off for live payments.
 6. If you used the old “WooCommerce MPGS” plugin, disable its payment method when 
    the new gateway works.

## FAQ

### The bank asks for the request and response of the session creation

Turn on Debug log, place a test order and open WooCommerce > Status > Logs, source`
mpgs-hosted-checkout`.

### The order stays “Pending payment” but the customer paid

Open the order and run the order action “Check MPGS payment status”.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“DBOtec Hosted Checkout for MPGS” is open source software. The following people 
have contributed to this plugin.

Contributors

 *   [ dbotec ](https://profiles.wordpress.org/dbotec/)

[Translate “DBOtec Hosted Checkout for MPGS” into your language.](https://translate.wordpress.org/projects/wp-plugins/dbotec-hosted-checkout-for-mpgs)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dbotec-hosted-checkout-for-mpgs/),
check out the [SVN repository](https://plugins.svn.wordpress.org/dbotec-hosted-checkout-for-mpgs/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/dbotec-hosted-checkout-for-mpgs/)
by [RSS](https://plugins.trac.wordpress.org/log/dbotec-hosted-checkout-for-mpgs/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.5

 * Renamed to DBOtec Hosted Checkout for MPGS (slug and text domain dbotec-hosted-
   checkout-for-mpgs).
 * Readme: trademark notice.

#### 1.0.3

 * Return URL parameters sanitized with sanitize_text_field().

#### 1.0.2

 * Payment page markup escaped with wp_kses_post() at output.

#### 1.0.1

 * Renamed for the WordPress.org directory (new slug and text domain).
 * Gateway URLs have no bank-specific defaults.
 * Readme: External services section.

#### 1.0.0

 * First release: MPGS Hosted Checkout API v100.

## Meta

 *  Version **1.0.5**
 *  Last updated **10 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [Hosted Checkout](https://wordpress.org/plugins/tags/hosted-checkout/)[mastercard](https://wordpress.org/plugins/tags/mastercard/)
   [mpgs](https://wordpress.org/plugins/tags/mpgs/)[payment gateway](https://wordpress.org/plugins/tags/payment-gateway/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/dbotec-hosted-checkout-for-mpgs/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/dbotec-hosted-checkout-for-mpgs/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dbotec-hosted-checkout-for-mpgs/reviews/)

## Contributors

 *   [ dbotec ](https://profiles.wordpress.org/dbotec/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dbotec-hosted-checkout-for-mpgs/)