In-Portal Issue Tracker - In-Commerce
Viewing Issue Advanced Details
1168 [In-Portal CMS] Data Management bug report always 2011-11-15 04:51 2012-07-25 05:32
alex  
alex  
normal  
closed 5.1.2  
fixed  
 
none 5.2.0-B1  
https://groups.google.com/d/topic/in-portal-bugs/66YL1ml1fRQ/discussion
Fixes wrong affiliate payout amount calculation
2
0001168: Affiliate user gets paid for non-affiliate orders from same payout period
If you setup plan with payout period in 1 month (e.g. from 1st to 30th November 2011) and then:

1. create (and approve) order without using an affiliate link
2. perform logout (from front-end)
3. visit website using affiliate link
4. create (and approve) order without using an affiliate link

As a result affiliate will get payout amount like both orders were created using affiliate link. This is wrong, since "Affiliate Commission" in these 2 orders is displayed correctly.
patch wrong_affiliate_calculation_fix.patch (910) 2011-11-15 04:51
http://tracker.in-portal.org/file_download.php?file_id=1319&type=bug
Issue History
2012-07-25 05:32 alex Note Added: 0005056
2012-07-25 05:32 alex Status resolved => closed
2011-11-15 04:53 alex Changeset attached 5.2.x r14767
2011-11-15 04:53 alex Note Added: 0004160
2011-11-15 04:53 alex Status reviewed and tested => resolved
2011-11-15 04:53 alex Fixed in Version => 5.2.0-B1
2011-11-15 04:53 alex Resolution open => fixed
2011-11-15 04:53 alex Assigned To Dmitry => alex
2011-11-15 04:52 alex Note Added: 0004159
2011-11-15 04:52 alex Status needs testing => reviewed and tested
2011-11-15 04:52 alex Assigned To => Dmitry
2011-11-15 04:52 alex Developer => alex
2011-11-15 04:52 alex Status active => needs testing
2011-11-15 04:52 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/66YL1ml1fRQ/discussion
2011-11-15 04:51 alex New Issue
2011-11-15 04:51 alex File Added: wrong_affiliate_calculation_fix.patch
2011-11-15 04:51 alex Change Log Message => Fixes wrong affiliate payout amount calculation
2011-11-15 04:51 alex Estimate Points => 2

Notes
(0004159)
alex   
2011-11-15 04:52   
Will test all together later.
(0004160)
alex   
2011-11-15 04:53   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001168: Affiliate user gets paid for non-affiliate orders from same payout period
(0005056)
alex   
2012-07-25 05:32   
Since 5.2.0 version was released.