Milo Store Credit

Grant customers store credit that is consumed automatically on their upcoming renewals.

Installation

  1. Install and activate the free Milo Subscriptions plugin.
  2. Upload and activate Milo Store Credit (Plugins → Add New → Upload).
  3. Enter your license key under Subscriptions → Licenses to enable updates.

Configuration

No settings screen: grant credit from user profiles, or programmatically.

Granting credit

Edit any user profile: a Credit balance field lets you set or adjust their balance, with a reason. Milo Gift Cards feeds redemptions into the same balance automatically.

Consumption

On each renewal, available credit is applied as a capped discount (never below zero) before the payment method is charged, and the movement is noted on the subscription. Customers see their balance in their account.

For developers

\Milo_Store_Credit\Credit::adjust( $user_id, $amount, $reason ) credits or debits programmatically; gift cards, support tools, or promotions can all feed the same balance.

Developer reference

  • Credit::adjust( $user_id, $amount, $reason ) — Public API to move credit programmatically.
  • _milo_store_credit (user meta) — The current balance.

Did this page miss something?

Tell us and we rewrite it, usually the same day.

Send a note