Skip to content

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.

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

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.

Go to DevDiggers Plugins → Affiliates → Commissions and find the order.

The Commissions list with one row per order line item

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

The commission status filter links above the Commissions table

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.

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.

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.

The Refund and Chargeback Clawback toggle highlighted on the Fraud Prevention tab

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 -$3.60 clawback line at the top of the Commissions list

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.

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:

  1. Note the amount from the Refunded row.
  2. Tell the affiliate, before they see a smaller payout than they expected.
  3. Deduct it when you create their next payout, and put the reason in the transaction reference.

The payout transaction reference field

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.

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.

The Commission Holding Period field on the Payouts settings tab

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

The Minimum Withdrawal field on the Payouts settings tab

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.

The Reports KPI cards, including Refunded commission against the previous period

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.