| 开发者 | kosmaytes |
|---|---|
| 更新时间 | 2026年11月12日 06:31 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
checkout.authorized, checkout.voided, checkout.refunded and checkout.refund.failed events. Paste the signing secret it shows under Sandbox credentials, and save. The status at the top of the page says when Maytes is connected and when the last webhook arrived.wp-config.php is needed. The secrets are saved in your WordPress database, never sent to the browser, and never shown again on the settings page.
To keep them in code instead, define them in wp-config.php: MAYTES_ENV, and MAYTES_SANDBOX_CLIENT_ID, MAYTES_SANDBOX_CLIENT_SECRET, MAYTES_SANDBOX_WEBHOOK_SECRET and their MAYTES_PRODUCTION_ twins. A constant always wins over the settings page, and its field shows as locked. The constants from 1.1 (MAYTES_CLIENT_ID, MAYTES_CLIENT_SECRET, MAYTES_WEBHOOK_SECRET) still work, for the environment in use.Yes. The plugin connects your store to Maytes, which runs the split payment. Your credentials are in the Maytes merchant portal.
Yes. On both checkouts, Split with Maytes is a payment method whose button replaces "Place order". The optional express button sits in a full-width row under the other express buttons on the Checkout block, and directly under the WooCommerce Stripe Gateway's express buttons on the classic checkout.
No. Maytes payments stay outside Stripe. They don't appear in your Stripe dashboard, and the money arrives through Maytes settlements.
Maytes doesn't return the customer's name, email or address, and your order emails need them. If a required field is empty, the customer sees the checkout's usual error and fills it in first.
Yes, with the express button on, when nothing in the cart needs shipping (digital products, tickets, bookings). If the store doesn't have the customer's name, email and mobile yet, a short form asks for them before Maytes opens. A cart that ships goes through the checkout, where the customer gives an address.
Refund the whole order, or what's left of it, with WooCommerce's Refund button, via Split with Maytes. To refund part of it, click "Partial refund in Maytes" on the order: it opens just that order from the Maytes merchant portal in a small window. Refunds made in the portal are recorded on the WooCommerce order once Maytes confirms them.
AUD. The button stays hidden for other currencies.
Yes. By default the button takes the customer to the Maytes checkout and back. To open it in a popup instead, add this to your theme's functions.php or a small plugin:
add_filter( 'maytes_woo_client_config', function ( $config ) {
$config['button']['mode'] = 'popup';
return $config;
} );
Yes. Return false from the maytes_woo_can_fulfil filter, for example when a booking has just filled up. The customer's funds are released, nothing is captured, and the order is marked Failed.
wp-config.php is needed. Stores set up in wp-config.php keep working.checkout.refunded webhook, and a refund that couldn't go back to a buyer adds a note.maytes_woo_client_config filter, for example to open the Maytes checkout in a popup.Maytes_Woo methods and the maytes_woo_can_fulfil filter are unchanged, so code that moves the button or calls the plugin keeps working.