sulpher
sulpher
Offline
0
Hello Germinal,

I've installed Affiliate Tracker and noticed a strange behaviour with commission.
During each sale my default user (?atid=1 that refers to 1st Joomla user who is Super Administrator) "earn" commission. But in fact there is no affiliate link used (no mydomain.com?atid=1 URL is used).

I don't need default user to get commission without affiliate link.

Is there any way to disable this feature or it is an issue related to integration plugin?

Thank you.

Accepted Answer

Wednesday, December 07 2016, 12:57 PM - #Permalink
1
oh well!!!

that explains it!!

you are FORCING the "atid" to be "1". This is the affiliate ID!

you must leave this field EMPTY. otherwise you are forking it to be 1, that's why this user (id = 1) is getting credit for all sales.. because you are forcing it...
The reply is currently minimized Show
Responses (7)
  • Accepted Answer

    Monday, December 05 2016, 05:22 PM - #Permalink
    0
    hello

    how are you testing this? please notice that if you have used the link once, the system will "remember" the user.

    if you are testing, make sure to use a clean browser (incognito window)... also make sure to be using our latest versions.
    The reply is currently minimized Show
  • Accepted Answer

    sulpher
    sulpher
    Offline
    Monday, December 05 2016, 05:37 PM - #Permalink
    0
    It's not testing. This is how it works on live site. Real customers buy products on site, no affiliate link is used at all, but first user (account in Affiliate Tracker) get commission from each sale. Thereby, the browser cache has nothing to do with this issue since there are different users who buy the products.

    Can integration plugin handle this process or it's issue related to the component?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, December 05 2016, 06:15 PM - #Permalink
    0
    ok, I see.
    can you make sure you're using our latest versions of the component and plugin?
    The reply is currently minimized Show
  • Accepted Answer

    sulpher
    sulpher
    Offline
    Monday, December 05 2016, 07:10 PM - #Permalink
    0
    I've used version 2.0.6. I just been updated to 2.1.2. But I am not sure it will help. Is there any changelog?

    Btw, a few days ago I've disabled first account, but this user still get commission from new sales. A few hours ago new sale were made and this disabled user got commission (see screenshot). It's very strange.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, December 06 2016, 11:26 AM - #Permalink
    0
    please, if you want, send me access and I'll take a look at this...
    The reply is currently minimized Show
  • Accepted Answer

    sulpher
    sulpher
    Offline
    Wednesday, December 07 2016, 11:47 AM - #Permalink
    0
    Unfortunately, I cannot provide credentials on live site. I shall create dev site and test the component there.

    Btw, we use custom integration plugin to RD Subscriptions extension (similar to Akeeba Subscriptions). The only thing the plugin is doing is this:

    // Prepare conversion array
    $conversion_data = array(
    "name" => 'RD-Subscriptions',
    "component" => 'com_rdsubs',
    "extended_name" => 'Order: ' . $ordercode,
    "type" => 1,
    "value" => (float) $amount->grossprice(),
    "reference_id" => $ordercode,
    "approved" => 1,
    "atid" => 1
    );

    // Create a conversion item in Affiliate Tracker.
    AffiliateHelper::create_conversion($conversion_data, $data['userid']);


    This is written according to your documentation (https://www.joomlathat.com/affiliate-tracker/custom-tracking-api)
    And this is all that the plugin needs to do as we could read from there. I just adding this information just in case.
    The reply is currently minimized Show
  • Accepted Answer

    sulpher
    sulpher
    Offline
    Thursday, December 08 2016, 06:07 AM - #Permalink
    0
    Hi Germinal,
    Thank you so much for the tip! :-)

    The plugin was fixed by its developer. I hope all will work fine.

    Best regards,
    Eugene.
    The reply is currently minimized Show
Your Reply