In short: A referral commission should be calculated on the net order value (after discounts, excluding tax and shipping), credited only once the order is completed, and paid out after the return period. Referrers need to see every commission in their account, and the shop needs to be sure it never pays on refunds or on orders the referrer placed for themselves. Below we go through every decision you’ll need to make and show how to automate referral payouts in WooCommerce.
What should the commission be based on?
This is the first decision – and the most common source of disputes:
| Commission base | Example: €123 order (€100 net + €23 VAT), €15 shipping, 10% commission | Verdict |
|---|---|---|
| Amount paid (incl. shipping) | €13.80 | You pay commission on tax and delivery |
| Gross product value | €12.30 | Still paying on tax |
| Net value after discounts | €10.00 | Fair to both sides |
Net value after discounts is also the easiest to explain: partners get a percentage of what the shop actually earned on the goods.
When should the commission be credited?
A WooCommerce order moves through several statuses. The commission shouldn’t appear at “Pending payment” or “Processing” – only when the order is completed. Cancelled, failed and refunded orders earn nothing.
The return period – commissions “on hold”
Even a completed order can come back as a withdrawal (14 days in the EU) or a complaint. That’s why a protection period is good practice: the commission is visible straight away, but becomes available for payout only after, say, 14 or 30 days. You never have to claw money back from a partner after a refund.
Which orders belong to the referrer?
Attribution rules must be clear and written into your program terms:
- Referral link – the order belongs to the partner if the customer came through their link within the cookie lifetime (e.g. 30 days).
- Partner’s coupon code – an order using their code belongs to them, even without the link.
- No link, no code – the order belongs to the shop, with no commission.
- A link or code on a new order always overrides an earlier attribution.
Repeat purchases by a referred customer
You can let the partner who referred the first purchase also earn on that customer’s later orders placed without a link or code (returning customers). It’s a strong motivator – and a higher cost for the shop. Consider a separate, lower rate for repeat purchases of the same product (renewals).
Referrers’ own orders
Partners shouldn’t earn commission on what they buy for themselves. Otherwise the referral program becomes a hidden discount.
What referrers should see in their account
Transparency builds trust. Partners should see:
- a list of orders with commission: date, commission amount and status,
- the balance available for payout and the amount still waiting for the return period,
- their commission rate,
- their payout history.
How to automate referral commissions in WooCommerce
Tracking commissions in a spreadsheet for a dozen partners takes hours and invites mistakes. Here’s how Affiliates Tree, an affiliate program for WooCommerce handles it.
Step 1: rate and attribution
In wpAsist → Affiliates Tree → Settings set the commission for a partner’s own sales (level 1) and the cookie lifetime. Commission is calculated automatically on the net order value – after discounts, excluding tax and shipping – and stored in the shop’s main currency.
Step 2: return-period protection and minimum payout
In General Settings switch on return-period protection, set how many days a commission waits after the order is completed, and set the minimum payout amount.

Step 3: renewal rates and returning customers (optional)
In VIP rates, renewals and developers you can set a separate rate for renewals (a repeat purchase of the same product) and let partners earn on referred customers’ later orders.
Step 4: partners see everything themselves
In My Account → Affiliates Program partners have Your Sales and Withdrawals – they see their commissions and can request a payout.

What to watch out for
- Don’t base commission on the gross total with shipping – with low margins it can eat your whole profit.
- Make the protection period longer than the return window – at least 14 days, ideally 30.
- Put the rules in writing – who earns what, on which orders, when and how it’s paid.
- Think about multiple levels – if referrers should also recruit referrers, see how to set multi-level commissions without paying for refunds.
Frequently asked questions
What’s the best base for a referral commission?
The net order value after discounts, excluding tax and shipping. It’s fair to the partner and safe for the shop.
When does the partner get the commission?
It appears once the order is completed and becomes available for payout after the return period, if you set one.
Does the partner earn on a referred customer’s repeat purchases?
Only if you switch it on. You can also set a separate rate for renewals.
Does a partner earn commission on their own order?
No. Commission is for referring other buyers, not for their own purchases.
Which currency is the commission recorded in?
The shop’s main currency – even when the customer paid in another currency (e.g. with WCML).
Read next
- How to Create a WooCommerce Referral Program Where Customers Earn from Referrals?
- How to Launch a Multi-Level Affiliate Program (MLM) in WooCommerce Step by Step?
- How to Set Multi-Level Commissions in WooCommerce Without Paying for Refunds?
- How to Pay Affiliate Commissions in WooCommerce – Minimum Amount, Invoices, Statuses?
- How to Keep WooCommerce Referral Partners Buying Regularly Themselves?
- WooCommerce Plugin That Calculates Commissions Across a Partner Structure of Up to 50 Levels
- Affiliates Tree documentation and changelog


