Linux 软件免费装

Maytes for WooCommerce

开发者 kosmaytes
更新时间 2026年11月12日 06:31
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce checkout payments group payments split payments

下载

1.2.0 1.0.0 1.1.0 1.2.1

详情介绍:

Split with Maytes lets a customer pay their share of an order and invite their mates to pay theirs. The order is paid once everyone has paid, and you receive the full amount through Maytes. The plugin adds three things to your store: Your theme, your Stripe setup and your card checkout stay exactly as they are. What you need The full setup guide is at developers.maytes.co/woocommerce.

安装:

  1. Install and activate the plugin.
  2. Go to WooCommerce → Settings → Payments → Split with Maytes. Keep the environment on Sandbox and paste your sandbox client ID and secret under Sandbox credentials.
  3. In the Maytes merchant portal, subscribe the webhook URL shown on that page to the 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.
  4. Pay with a sandbox test card. Then fill in Production credentials the same way and switch the environment to Production. Your sandbox credentials stay saved for later testing.
No change to 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.

升级注意事项:

1.2.1 Orders paid with Maytes complete even when webhooks are blocked, and you're warned when they are. Nothing to change on your store. 1.2.0 Split with Maytes becomes a payment method with its own settings page. Settings in wp-config.php keep working. 1.1.0 Faster checkouts and webhooks, safer handling of repeated webhooks, and a popup option. Nothing to change on your store. 1.0.1 Runs your store's own checkout checks for Split with Maytes orders, and fixes the button spacing on the classic checkout. 1.0.0 First release.

常见问题:

Do I need a Maytes account?

Yes. The plugin connects your store to Maytes, which runs the split payment. Your credentials are in the Maytes merchant portal.

Does it work with the Checkout block?

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.

Does it change my Stripe setup?

No. Maytes payments stay outside Stripe. They don't appear in your Stripe dashboard, and the money arrives through Maytes settlements.

Why does the button ask for my customer's details first?

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.

Does the button show on the cart?

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.

Where are refunds made?

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.

Which currencies are supported?

AUD. The button stays hidden for other currencies.

Can the Maytes checkout open in a popup?

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; } );

Can I stop a payment before the money is taken?

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.

更新日志:

1.2.1 1.2.0 1.1.0 1.0.1 1.0.0