How to Handle Refunds and Reversals
Refunds are the part of an affiliate program nobody sets up in advance and everybody meets in month two. The plugin handles all of it in Pro. In the free version, one case needs you.
What the plugin does automatically
Section titled “What the plugin does automatically”Everything below happens without any setting to turn on, in both the free and Pro versions.
| What you do in WooCommerce | What happens to the commission |
|---|---|
| Refund the whole order | Every row on the order flips to Refunded |
| Refund one line item | That row’s amount is reduced and the refund is recorded |
| Cancel the order | Every row flips to Cancelled |
| Mark the order Failed | Every row flips to Cancelled |
| Move the order back to Processing | Rows return to Pending |
Step 1: Refund the order
Section titled “Step 1: Refund the order”Refund in WooCommerce exactly as you normally would. There is no affiliate step, and no separate screen to visit.
The plugin listens for the refund and updates the commissions itself.
Step 2: Read what happened
Section titled “Step 2: Read what happened”Go to DevDiggers Plugins → Affiliates → Commissions and find the order.

Use the status links above the table to jump straight to Refunded.

Step 3: Understand full against partial
Section titled “Step 3: Understand full against partial”The two cases behave differently, and the difference is worth knowing before you refund anything.
- A full refund sets the WooCommerce order status to Refunded. Every commission on that order moves to Refunded and stops counting as money owed.
- A partial refund leaves the order status alone. The plugin instead recalculates the refunded line, subtracts the commission on the refunded amount, and stores that figure in the row’s refund column.
So a partial refund does not cancel a commission. It shrinks it, and the row stays payable at the smaller amount.
Step 4: Check whether it was already paid
Section titled “Step 4: Check whether it was already paid”A commission sitting at Pending Payment or Paid is skipped by the status change. It keeps its status and its amount, whatever happens to the order afterwards.
That is deliberate. Once a commission is inside a payout you have committed to, silently rewriting it would leave your payout records disagreeing with what was actually sent.
Step 5: Recover a paid commission
Section titled “Step 5: Recover a paid commission”In Pro: the clawback line
Section titled “In Pro: the clawback line”With Refund and Chargeback Clawback on, which is the default on the Fraud Prevention tab, the plugin adds a new negative commission line for the affiliate as soon as the order is refunded, cancelled or charged back. On a partial refund it takes back only the refunded share.

Performed on the demo: order #1289 had a $3.60 commission that was already paid. A full refund in WooCommerce added commission #125 at -$3.60, marked Clawback from a refund or chargeback. The paid row #96 stayed Paid.

The line sits at Pending, so the next payout nets it against the affiliate’s new earnings. The affiliate sees it in their own Commissions list as a negative amount, which explains a payout smaller than they expected. While their balance is zero or below, no payout is created for them.
On the Reports screen the amount shows as Refunded commission.
In the free version: by hand
Section titled “In the free version: by hand”The free version has no clawback. A refund on an order whose commission is already paid does not recover the money, so deduct it yourself:
- Note the amount from the Refunded row.
- Tell the affiliate, before they see a smaller payout than they expected.
- Deduct it when you create their next payout, and put the reason in the transaction reference.

When the whole payout was wrong
Section titled “When the whole payout was wrong”If the whole payout should not have gone out rather than one commission inside it, and it was sent through Stripe, taking the payout back out of Completed reverses the transfer and pulls the money back. That undoes a payment, not a commission. See How Automatic Payouts Work.
Prevent it instead
Section titled “Prevent it instead”The cheapest fix is not to pay too early. Two Pro settings exist for exactly this.
Commission Holding Period keeps a commission out of payouts until it is a set number of days old, which covers your normal return window.

Minimum Withdrawal stops tiny payouts going out constantly, which reduces how often a refund lands after payment.

Watch the refund trend, not the refund
Section titled “Watch the refund trend, not the refund”One refund tells you nothing. A rising Refunded commission figure on the Reports screen under flat referral sales tells you a partner is driving orders that do not stick.

Pick one affiliate at a time in the affiliate filter to find the source. Traffic that converts and then returns costs more than traffic that never converts.
Where to go next
Section titled “Where to go next”- Commissions for every status and filter on that screen.
- How to Pay Your Affiliates for the payout workflow this feeds.

