Milo Gifting
Let customers buy a subscription as a gift: the purchaser handles billing, the recipient gets the subscription in their own account.
Installation
- Install and activate the free Milo Subscriptions plugin (WooCommerce is required).
- Upload and activate Milo Gifting (Plugins → Add New → Upload).
- Enter your license key under Subscriptions → Licenses to enable updates.
Configuration
Under Subscriptions → Settings → General → Gifting:
| Setting | Description |
|---|---|
| Enable subscription gifting | On/off switch. Shows a “This is a gift” option on subscription product pages. Enabled by default. |
How it works for the buyer
- On any subscription product page, the buyer ticks This is a gift and enters the recipient’s email address (validated before the product can be added to the cart).
- The cart and checkout show a “Gift for” line with the recipient’s email on the item.
- The buyer pays as usual and stays the billing customer for the subscription, including renewals.
- In the buyer’s account the subscription appears normally; on order pages and order emails the internal gift flags are replaced by a readable “Gift for” line.
How it works for the recipient
- When the subscription is created, the add-on looks up the recipient by email. If no account exists, a new WooCommerce customer account is created for that email (with WooCommerce’s usual new-account email).
- The recipient receives a Gift Subscription Received email naming the purchaser, with a note to log in and manage the gifted subscription. The email is a standard WooCommerce email, so you can edit or disable it under WooCommerce → Settings → Emails.
- The gifted subscription shows up in the recipient’s My Account subscription list alongside any subscriptions of their own.
- The recipient can manage the subscription, but the “change payment method” action is removed for them, since billing belongs to the purchaser.
In the admin
On the subscription detail page, gifted subscriptions get a Gift sidebar section showing the recipient’s name and email. A note on the subscription records who it was gifted to and who purchased it. If a recipient account could not be created, a note is added instead and the subscription stays with the purchaser.
Troubleshooting
- The gift checkbox does not appear: check that the toggle is on under Subscriptions → Settings → General → Gifting, and that the product is a subscription product. The fields only render on single product pages.
- “Please enter a valid recipient email address”: the gift option requires a valid email; without one the item is added to the cart as a normal, non-gift purchase after the error notice.
- The recipient does not see the subscription: the recipient must log in with the exact email address the buyer entered. Recipient lookups are cached briefly (five minutes), so a just-created gift can take a moment to appear.
For developers
milo_gifting_subscription_gifted: Action fired after a gift subscription is processed, with the subscription, parent order, recipient user ID, and recipient email. The gift-received email hooks into this.- Gift data (recipient and purchaser) is stored as subscription meta and exposed in the REST subscription response under a
giftkey.
Billing modes
Requires WooCommerce; standalone (Stripe-driven) mode is not supported.
Did this page miss something?
Tell us and we rewrite it, usually the same day.