Features
- Adds an offline “MMG Offline Payment” method for both classic and block-based checkouts.
- Requires shoppers to enter their MMG confirmation number before an order can be placed.
- Stores the confirmation number on the order and displays it on the thank-you page, customer emails, and the WooCommerce admin order screen.
- Places new orders on hold so you can confirm the MMG transfer before fulfilling.
Requirements
- WordPress 6.5+
- WooCommerce 8.3+ (for Checkout Block support)
- PHP 7.4+
Installation
- Download or clone this repository into
wp-content/plugins/mmg-woocommerce-gateway. - From the WordPress admin, activate MMG Payment Gateway for WooCommerce.
- Navigate to WooCommerce → Settings → Payments.
- Enable MMG Offline Payment and adjust the title, description, and instructions to match your MMG account details.
- Save. The gateway will now appear at checkout and enforce the confirmation-number requirement.
Usage
- Customers choose MMG Offline Payment at checkout and provide their MMG confirmation number.
- Upon submission, the order is created with status On hold, and the confirmation number is saved in order meta.
- You verify the MMG transfer, fulfil the order, and optionally change its status.
Frequently Asked Questions
Does this gateway work with the Checkout Block?
Yes. The plugin registers a WooCommerce Blocks integration so the confirmation number field appears in block-based checkout.
What happens after a customer submits an order?
Orders stay On hold, and the MMG confirmation number is stored on the order, thank-you page, transactional emails, and in the WooCommerce admin.
Can I change the instructions or add my MMG account details?
Absolutely edit the Description and Instructions fields under WooCommerce → Settings → Payments → MMG Offline Payment.
Is the confirmation number required?
Yes. Customers cannot complete checkout without providing the number, and both classic and block checkouts enforce this.
Screenshots
- MMG payment option with confirmation number field on the checkout page.
- Confirmation number stored in the WooCommerce admin order panel.
Changelog
1.1.0
- Added compatibility declaration for WooCommerce Cart & Checkout blocks.
- Registered Checkout Block integration with client-side confirmation-number validation.
- Improved server-side handling for Store API submissions.
1.0.1
- Marked MMG as an offline payment method in the WooCommerce admin.
- Resolved PHP 8.2 dynamic property deprecation notice.
1.0.0
- Initial release with MMG payment gateway and confirmation-number requirement.
License
Licensed under the GPL-2.0-or-later.