Forums / All Other Contributions/Addons / snap-affiliates?

snap-affiliates?

Views: 49,684

Results 221 to 223 of 223
11 Oct 2016, 3:51 AM
#221
brianwi avatar

brianwi

New Zenner

Join Date:
Jun 2011
Posts:
35
Plugin Contributions:
0

snap-affiliates?

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.

11 Oct 2016, 12:01 PM
#222
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: snap-affiliates?

BrianWI:

Was a slef commissions allowed issue. But a few things...
That was going to be my guess! The default setting for Configuration->Affiliate Settings->Allow Self Commissions is false.

BrianWI:

If a sale is refunded, the commission isn't taken back?
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.

BrianWI:

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.
I'll write up a GitHub issue on that; thanks for the report.

16 Oct 2016, 7:10 PM
#223
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: snap-affiliates?

BrianWI:

... 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.
What happens if you edit /YOUR_ADMIN/referrers.php (should be line #263), changing the highlighted item:

       if (!isset ($_POST['commission'][$commission_id]) || ([B]int[/B])$_POST['commission'][$commission_id] <= 0) {  //-v3.0.1c

to

       if (!isset ($_POST['commission'][$commission_id]) || ([B]float[/B])$_POST['commission'][$commission_id] <= 0) {  //-v3.0.1c

Does that correct the issue?