Was a slef commissions allowed issue. But a few things...
If a sale is refunded, the commission isn't taken back?
Alao, I tried to "pay" a 0.30 commission and if I tried to pay less than $1, it kept saying a payment could not be zero.
Printable View
Was a slef commissions allowed issue. But a few things...
If a sale is refunded, the commission isn't taken back?
Alao, I tried to "pay" a 0.30 commission and if I tried to pay less than $1, it kept saying a payment could not be zero.
That was going to be my guess! The default setting for Configuration->Affiliate Settings->Allow Self Commissions is false.
Snap Affiliates' commission-calculation happens one time ... when the order was placed. Use the Customers->Referrers tool and, when you "Pay" an affiliate you'll have the opportunity to conditionally-select and/or modify the commission-payment amount for each order.
I'll write up a GitHub issue on that; thanks for the report.
What happens if you edit /YOUR_ADMIN/referrers.php (should be line #263), changing the highlighted item:
toCode:if (!isset ($_POST['commission'][$commission_id]) || (int)$_POST['commission'][$commission_id] <= 0) { //-v3.0.1c
Does that correct the issue?Code:if (!isset ($_POST['commission'][$commission_id]) || (float)$_POST['commission'][$commission_id] <= 0) { //-v3.0.1c