外掛標籤
開發者團隊
原文外掛簡介
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:
The Split with Maytes button, in a full-width row of its own under the express checkout buttons (Apple Pay, Google Pay, Link), at the same size. It works on the classic checkout and on the Checkout block.
A checkout route on your site that turns the cart into a pending WooCommerce order and a Maytes checkout.
A webhook route on your site that captures the payment and marks the order paid, so your usual order emails go out.
Your theme, your Stripe setup and your card checkout stay exactly as they are.
What you need
A Maytes merchant account, with sandbox and production credentials from the Maytes merchant portal.
WooCommerce, with AUD as the store currency.
A public HTTPS site, so Maytes can deliver webhooks.
At least one other payment method enabled in WooCommerce, such as card payments. On the Checkout block, Split with Maytes can’t be the store’s only payment method.
The full setup guide is at developers.maytes.co/woocommerce.
External services
This plugin connects your store to Maytes, the service that runs Split with Maytes. It’s needed to take Split with Maytes payments.
Maytes checkout button script, loaded from https://js.maytes.co on checkout pages where the button shows. It draws the button and opens the Maytes checkout. As with any script, the customer’s browser sends standard request information, such as its IP address and user agent.
Maytes API (https://api.maytes.co, or https://sandbox-api.maytes.co while testing), called from your server only:
when a customer clicks Split with Maytes, to create the checkout. It sends the order ID, the total, the currency, the name, quantity and price of each line, and the return and cancel URLs on your store;
when Maytes reports a payment, to capture or release it. It sends the checkout ID, the order ID, the total and the currency.
Your OAuth client ID and secret are sent to /oauth/token to get an access token. The customer’s name, email address and postal address are never sent.
Maytes checkout, the page the button opens, where the customer and their mates pay. The customer’s payment details are entered there, with Maytes.
Maytes terms and conditions and privacy policy.
