[In-Commerce] Affiliate user gets paid for non-affiliate orders from same payout period

2 views
Skip to first unread message

Alexander Obuhovich

unread,
Nov 15, 2011, 5:51:37 AM11/15/11
to In-Portal Bugs
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.



Ready for testing.


--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
wrong_affiliate_calculation_fix.patch

Phil -- wbtc.fr --

unread,
Nov 15, 2011, 10:32:48 AM11/15/11
to in-port...@googlegroups.com
you mean that only second order should have been comimssioned,, thanks to affiliate cookie, right?


2011/11/15 Alexander Obuhovich <aik....@gmail.com>

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Alexander Obuhovich

unread,
Nov 15, 2011, 11:27:52 AM11/15/11
to in-port...@googlegroups.com
Only orders, that have Affiliate User specified should participate in affiliate commission calculations.

Bug was that "amount to pay" displayed to affiliate was larger then total affiliate commission from all it's orders.

Phil -- wbtc.fr --

unread,
Nov 15, 2011, 11:59:55 AM11/15/11
to in-port...@googlegroups.com
ok, but what do you mean by "Affiliate User specified"? I'm taking this opportunity to have more info on Affiliation tool :)


2011/11/15 Alexander Obuhovich <aik....@gmail.com>

Alexander Obuhovich

unread,
Nov 15, 2011, 2:03:31 PM11/15/11
to in-port...@googlegroups.com
Each user, who has registered as affiliate has special link displayed on his "Affiliate Materials" page on Front-End under "My Account".

Usually affiliate place this link on another website in a advertisement banner. When this link is clicked, then user will see a regular website, but ID of user, who created that link (affiliate link) would be remembered in cookie/session based on setting in admin.

All orders, created during such website visit would also contain affiliate user's id, who would get commission after they are approved.

Phil -- wbtc.fr --

unread,
Nov 15, 2011, 2:44:04 PM11/15/11
to in-port...@googlegroups.com
it seems like I imagined.
Then, thanks to cookie, if visitor don't place an order on website at first visit, but come back later (obviously without using affiliate ID link), then affiliate is still commissioned, right?

Alexander Obuhovich

unread,
Nov 15, 2011, 5:27:54 PM11/15/11
to in-port...@googlegroups.com
If cookie used, then yes.

Phil -- wbtc.fr --

unread,
Nov 16, 2011, 8:43:27 AM11/16/11
to in-port...@googlegroups.com
ok. thanks for clarification

Dmitry A.

unread,
Nov 19, 2011, 2:12:39 PM11/19/11
to in-port...@googlegroups.com
Patch is tested good (on one of the Projects).

Thanks for a quick fix Alex


DA
Reply all
Reply to author
Forward
0 new messages