Most affiliate programs pay a percentage of the first invoice and then quietly stop thinking about it. The subscription is treated as a constant: the customer signed up at $29 a month, so the affiliate earns the same amount every month until the end of time. Real subscriptions do not behave like that. Teams add seats, shrink again, switch to annual to save money, pause for a quarter, ask for a refund, and cancel. Every one of those events changes what the provider charges, which means every one of them changes what the affiliate should earn.
Getting this wrong is expensive in both directions. Pay the first amount forever and you overpay affiliates on customers who downgraded, which is real money leaving your account. Pay nothing until the next renewal and you underpay on upgrades, which is how you lose your best affiliates to a competitor who pays more.
This guide covers the events that move revenue inside a subscription, the rule that keeps commission correct without a spreadsheet, and a policy short enough to publish on your affiliate page.
TL;DR
- Attribution should be sticky, valuation should follow the money: keep the affiliate attached to the subscription, but recalculate commission from the amount actually charged each period.
- Pay on the incremental charge for upgrades, and let downgrades reduce the next invoice naturally instead of clawing back months that already cleared.
- The only rule that survives discounts, proration, credits, and annual switches is commission = percentage of the pre-tax amount you actually collected for that invoice.
- Annual billing pays the affiliate once on the full annual charge, which is great up front and quiet for eleven months; decide the tradeoff and write it down.
- Cancellations stop future commissions, refunds reverse the commission on the refunded amount, and nothing else should ever take money back from an affiliate.
Why plan changes break commission math
There are two separate problems hiding inside "who gets paid for this sale." The first is attribution: which affiliate owns this customer. The second is valuation: how much is that ownership worth this month. Most affiliate tooling conflates them, computing a commission once and repeating the number, and that works only while revenue per customer is flat.
It is not flat. A subscription is a stream of invoices whose amounts change for reasons unrelated to your affiliate program: seats, plan tiers, billing period, discounts, proration credits, refunds. If payout logic cannot move with that stream, you end up with affiliates paid on revenue that no longer exists, and affiliates whose commission stayed flat while a customer doubled their spend.
The split responsibility is the whole trick. Attribution is set once, at the moment of conversion, and should not move: the cookie window and the first-touch or last-touch decision matter at that single instant, which is the part described in cookie windows and attribution models. Valuation is per invoice and should be recalculated from scratch every time money changes hands. Sticky owner, live number.
The five moments that change what a customer pays
Almost every revenue movement inside a subscription falls into one of five buckets. Each one has a sensible default answer, and none of them requires a new rule per case.
- A mid-cycle upgrade. The provider charges a prorated difference for the remaining days at the new price, usually minus unused time on the old plan. One extra charge appears on the payment account.
- A downgrade. The change usually applies at the next renewal, or the remaining balance is converted into a credit against the next invoice. The next charge is smaller, or free.
- A billing period switch. Monthly to annual typically triggers a prorated charge: the annual price minus the unused portion of the month already paid. The provider may also apply a discount for committing to the year.
- Seats, usage, and add-ons. Per-seat products add a charge whenever someone invites a teammate. Usage-based products bill a variable amount each period by design.
- A pause, cancellation, or refund. No charge, no commission for that period. A refund does not just stop revenue, it takes revenue back.
The pattern behind all five: commission should be a percentage of the money that arrived, in the period when it arrived. Nothing more, nothing less. Usage-based subscriptions are the extreme version of the same idea and get their own treatment in commissions on usage-based pricing.

Upgrades: pay on the difference, not the plan
An upgrade is the clearest case, and the one where a stale-amount program pays too little. A customer on a $49 plan upgrades to $99 halfway through the month. The provider charges a prorated amount somewhere around half the difference. That charge is revenue, it arrived because of the affiliate's original referral, so the affiliate earns their percentage of it.
Recalculating against the new plan price instead retroactively invents revenue that was never collected, the fastest way to pay out more than you earned.
A simple table for the common upgrade shapes:
| Scenario | What the provider charges | What the affiliate earns |
|---|---|---|
| Upgrade mid-cycle, prorated difference | The prorated delta for the remaining days | Percentage of that delta |
| Upgrade effective at next renewal | Nothing today, a larger amount next period | Percentage of the larger invoice, when it lands |
| Extra seat added on a per-seat plan | Incremental per-seat charge for remaining time | Percentage of the incremental charge |
| Usage tier crossed mid-month | The overage or tier charge | Percentage of the metered charge |
| Plan upgraded and a discount applied | Net amount after discount | Percentage of the net amount |
| Renewal after the upgrade | The new full period price | Percentage of the new price |
Two rules keep this honest. First, pay percent of collected revenue, not percent of list price. Second, never recalculate a past invoice because a future invoice got bigger. Each invoice stands alone.
Downgrades: recalculate, do not punish
A downgrade is the mirror image, and the mistake is the opposite one: keeping the commission at the old, higher amount because the affiliate "earned it." They earned it for the months when the customer actually paid for the bigger plan. The customer is now paying less, so the commission is less, starting with the invoice where the smaller amount is charged.
Clawing back previously paid commissions for a downgrade is worse than pointless. It punishes the affiliate for a decision a customer made, it creates a dispute you cannot win on the wording, and it teaches your affiliates that their earnings are provisional. A downgrade is not fraud, it is a customer changing their mind about how much product they need.
The only event that should ever reverse a commission is money moving back to the customer. A full refund reverses that invoice's commission, a partial refund reverses the matching slice, and a chargeback follows the same path. That mechanism is documented in detail in when the refund beats the sale, including the delivery-order edge case where the refund webhook arrives before the order itself.

Monthly to annual: one big invoice instead of twelve
Annual billing is the switch that surprises affiliate programs most. The customer stops paying monthly and pays the full year in one charge, usually discounted. A program that pays a percentage of collected revenue now owes one larger commission in a single month and nothing for the next eleven.
That is odd for cash flow on both sides, so programs tend to land on one of two policies. Pay on the annual invoice as normal: simple, uniform, and a satisfying spike for the affiliate. Or spread it across the year, smoother for accounting and much harder to reconcile if the customer cancels halfway through.
Whichever you pick, decide what happens to the discount. Annual plans are cheaper per month by design. If you offer a launch code or a percentage discount, percentage-of-collected-revenue already handles it: the affiliate earns less because you collected less. Paying a percentage of the pre-discount list price instead means you are paying commission on money you never received, and it compounds every time a promo runs. The comparison of paying year by year against month by month is covered from the affiliate's side in annual vs monthly affiliate commissions.
Proration, credits, and pre-tax amounts
Proration is where the arithmetic stops being obvious, so here is a concrete example. A customer is on a $49 monthly plan and upgrades to $99 on day 15. The provider does not charge $50 for a half month. It credits the unused portion of the paid month, roughly $24.50, and charges roughly $49.50 for the remaining half at the new rate, then nets the two: about $25 collected.
Commission is the percentage of that net figure, whatever it happens to be. The rule holds no matter how the provider chose to present the credit, and it holds for partial refunds and mid-year annual switches, which are the same calculation with larger numbers.
One detail worth being strict about: use pre-tax amounts. Sales tax and VAT pass through to a government, not to you, so a commission computed on the gross invoice quietly overpays by the tax rate. Polar exposes the net amount on order payloads, Paddle reports the pre-tax subtotal in minor units, and Stripe invoices separate tax from subtotal for the same reason. If your program calculates on gross, a high-VAT region pays a sixth more than you intended.
Pauses, cancellations, and trials
Pausing is not cancelling, and neither is a refund. Three different outcomes, three different defaults.
A pause charges nothing, so it earns nothing for the paused period. When billing resumes, the renewal inherits the same affiliate, and normal commission on the resumed amount picks up right where it left off.
A cancellation stops future invoices, so it stops future commission. It does not retroactively invalidate invoices the customer already paid. The affiliate keeps everything earned from money that cleared.
A refund moves money back, so it reverses the commission on the refunded amount, whether it arrives against the original charge or as a later adjustment.
Trials sit off to the side. A $0 charge pays no commission, because there is no revenue to take a percentage of. The referral is not wasted, though: the affiliate association is stored against the subscription so the first real charge after the trial credits the affiliate correctly, even though that charge carries no checkout metadata of its own. This is the exact failure mode a lazy implementation drops, and it is the reason for the dedicated treatment in commissions on trials and freemium plans.
Worked example: one subscriber, eighteen months
Numbers make the policy concrete. A customer buys on a $29 monthly plan after clicking an affiliate link, upgrades to a $49 team plan, adds two seats, downgrades, switches to annual, and eventually cancels. The affiliate earns 30 percent of everything actually collected.
| Period | Event | Amount collected | Commission |
|---|---|---|---|
| Month 1 | First paid invoice, referred | $29.00 | $8.70 |
| Month 2 | Renewal | $29.00 | $8.70 |
| Month 3 | Renewal | $29.00 | $8.70 |
| Month 4 | Mid-cycle upgrade to team, prorated | $41.00 | $12.30 |
| Month 5 | Renewal at the new plan | $49.00 | $14.70 |
| Month 6 | Two seats added for the rest of the period | $69.00 | $20.70 |
| Month 7 | Downgrade, credit applied to the invoice | $19.00 | $5.70 |
| Month 8 | Switch to annual, net of the credit | $441.00 | $132.30 |
| Month 9 | Refund of the downgrade invoice | -$19.00 | -$5.70 |
| Month 10 | Cancellation | $0.00 | $0.00 |
Twelve months of billing, $706 collected across those eight charges and $211.80 in commission before the $5.70 refund clawback. Nothing in that table needed a special rule: each row is the same calculation on a different number, and the affiliate never had to file a dispute to understand why an amount changed.
An implementation that froze the first $29 invoice at $8.70 would have paid $87 for those ten charges, underpaying by about $125 on genuine revenue. A program that kept paying the $49 rate through the downgrade and the annual switch would have overpaid on invoices never collected at that amount. Both errors stay invisible until an affiliate runs their own arithmetic.
A policy you can publish in one page
Write these nine lines on your affiliate page and most plan-change arguments disappear before they start.
- Commission is a percentage of the pre-tax amount actually collected for each invoice.
- Attribution is fixed to the subscription at the first conversion and does not move afterwards.
- Upgrades earn the percentage of the incremental charge, including prorated amounts and added seats.
- Downgrades reduce commission starting with the next invoice, with no clawback of earlier months.
- Discounts and promo codes reduce commission, because commission follows collected revenue.
- Annual invoices earn one commission on the full annual charge.
- Pauses and cancellations earn nothing while no money is being collected.
- Refunds and chargebacks reverse the commission on the refunded amount only.
- Self-referrals are blocked, and the percentage, cookie window, and minimum payout are stated up front.
Notice how few numbers a policy actually needs. The percentage, the cookie window, and the minimum payout are the only configuration values. Everything else is a consequence of "percentage of collected revenue," which is exactly why picking that principle first makes the policy short. Choosing a rate is its own exercise, covered in how to pick a commission rate for SaaS.
How this plays out in Sled
Sled is built around the principle above rather than a frozen first-invoice amount. Each invoice the provider reports creates its own conversion record with its own amount and its own commission, computed as a percentage of that amount, rounded down to the cent, so an upgrade or a downgrade is reflected automatically instead of needing a manual adjustment.
A few specifics that matter for plan changes. Renewals are attributed by the provider's subscription id, so an upgrade, a downgrade, or an annual switch keeps the same affiliate without anyone re-clicking a link. A subscription cancellation is acknowledged and deliberately changes nothing, since past invoices were already paid and the affiliate earned them. A refund marks the matching conversion as refunded, and a refund that arrives before the order it refers to still lands correctly. Per-affiliate rates are supported on top of the program-wide percentage, which is how VIP or partner deals get a custom rate without a separate program.
The defaults are a 30 percent commission, a 90-day cookie window, and a $20 minimum payout, and all three are editable per program from the dashboard. The failure mode the defaults prevent matters more: because commission is recalculated from every invoice, a customer who triples their spend shows up as tripled earnings, and a customer who shrinks shows up as less. No reconciliation emails, no manual correction pass.
FAQ
Do I owe commission when a customer upgrades months after signing up through an affiliate?
Yes, if you pay recurring commission. The subscription keeps its affiliate, and the upgrade invoice is revenue collected from a customer that affiliate brought in. Pay your percentage of the incremental charge, including any prorated portion. Under a one-time commission model the upgrade adds nothing, which is one of the reasons recurring beats one-time for most SaaS.
Should a downgrade trigger a clawback of commissions already paid?
No. Earlier invoices were collected at the higher amount and the affiliate earned their share of them. Reversing them means your accounting retroactively pretends revenue that arrived never did. Lower the commission from the invoice where the smaller amount is charged and leave history alone.
What happens to the affiliate commission when a customer switches to annual billing with a discount?
Pay your percentage of the annual amount collected after the discount. Annual plans are cheaper per month on purpose, so the commission per month drops, but it arrives in one payment and is easy to reconcile. Do not compute commission on the pre-discount list price, or you will pay out money you never received.
How long should attribution stick to a subscription that keeps changing plans?
For as long as the subscription keeps billing, in most subscription businesses. Attribution tied to the subscription id survives upgrades, downgrades, seat changes, and period switches with no manual work, and ends only when billing ends. If you cap recurring commission at a number of months, state the cap next to the rate so nobody discovers it later.
Plan changes are the part of recurring versus one-time commissions that quietly decides whether your program pays accurately. Sled recalculates commission from every invoice and keeps attribution on the subscription, so start a free trial and watch the first upgrade land correctly.