Refunds are reviewed according to the course policy and payment status. A refunded, cancelled, failed, or fraud-marked order does not qualify for affiliate commission.
If a commission was pending, it is rejected. If it was approved but unpaid, it is reversed. If payout was already completed, it may be marked recoverable for admin review.