Problem creating affiliates

Hi guys,

I was doing some tests before releasing our affiliate program and I did well because we’re still having erratic behaviors.

We have….
Affiliate A
-Affiliate B
–Affiliate C
—Affiliate D

All permanently associated to each other (B to A, C to B and D to C)

10% direct, 20% relative, 30% relative.

Order total : 40$

Affiliate C refering himself – Problem
Affiliate C gets 4$ (Ok)
Affiliate B gets nothing?
Affiliate A gets 20% relative?
Direct gets the 30% relative?

Affiliate D refering himself – Problem
Affiliate D gets 4$ (Ok)
Affiliate C gets nothing?
Affiliate B gets nothing?
Affiliate A gets 20% relative?
Direct gets the 30% relative?

In the two scenario above, it’s like the relation between affiliates is completely ignored. I don’t understand what’s going on. Affiliate C and D are setup in a way that Affiliate A is the referring affiliate, that’s why that happened, but it should not have happened. More details below.

Affiliate D making a regular purchase
Affiliate D gets nothing (Ok)
Affiliate C gets 10% (Ok)
Affiliate B gets nothing?
Affiliate A gets 20% relative?
Direct gets the 30% relative?

Again, not sure what’s going on, it’s like the system skips a level here…

New customer makes a purchase, referred by Affiliate D
Affiliate D gets 10% (Ok)
Affiliate C gets nothing?
Affiliate B gets nothing?
Affiliate A gets 20% relative?
Direct gets the 30% relative?

Same problem here.

I wanted to test out how Affiliate Permanent played out with the tiers and assigned Affiliate Products but I think I’d be losing my time. We have to fix the issues here first. Since I have identified the problem we can now work on a solution, I will fix the affiliate relations tomorrow and continue my tests with Affiliate Products then.

I sent you the credentials to access 4 different affiliate accounts on our platform (respectively, affiliates A,B,C and D) at support [at] itthinx . com so you can test what might be going on. We are using the product_rate method.

After digging a bit more it seems that the affiliate relation are messed up. The permanent affiliate has the right value, but it keeps using the affiliate ID 2 as the referring affiliate.

We are adding affiliates manually. I think that’s where something goes banana. I can go back into each affiliates individually after creating them and re-assign the right referring affiliate by going into the users page, find the user, check to which user it has been permanently assigned and update the data in the affiliate settings… But that’s very cumbersome, will take us time and is prone to adding errors in the process.

I will start to work on a pending approval process plugin for Affiliates Enterprise soon, which should solve all of this, but until I get the time to do that, could you please check why new affiliates created manually are not assigned to their permanent affiliate?

Thank you!

Regards,
B


Comments

9 responses to “Problem creating affiliates”

  1. Bastien Avatar

    Antonio,

    I was thinking about maybe a quick and dirty way to do this. Is there an action hook we can use after an affiliate is added manually?

    Could we read the permanent referred ID of the user associated to the new affiliate ID and trigger function that updates the original referrer in the affiliate’s settings?

    Kind regards,
    B

    1. antonio Avatar

      Maybe ‘affiliates_added_affiliate’ action can help you.

  2. Hello Antonio,

    Thank you for your help with this. I understand that with your code, if I visit an affiliate link before creating a new affiliate manually, it will create a new affiliate using the recently visited affiliate link as its referrer.

    We would still have to open the users page, find the username, open the user’s page, find the permanent affiliate, go to manage affiliates, find the affiliate ID, visit the affiliate link and then create the new affiliate.

    Am I right or I misunderstood what you said?

    If the code uses the permanent affiliate ID from an user as the default referrer ID when creating a new affiliate then this is perfect. It’s getting late here but I’ll test this tomorrow. Just that I wasn’t sure since I’m seeing that we delete and update the permanent referrer ID and I’m not sure why we would do that.

    Thank you!

    Kind regards,
    B

  3. Hello Antonio,

    Unfortunately this doesn’t really help as I’d still have to go into the user profile from the backend, check which permanent affiliate it was assigned to, refresh the website using this permanent affiliate link and then create the user manually. Still really cumbersome and prone to errors.

    I believe it just makes sense that if an user is assigned to an affiliate permanently, then this affiliate should be used by default as the referring affiliate.

    Can you point to me the file and function that is triggered by a manual registration?

    1. Hi Bastien,
      That’s true, it doesn’t work from dashboard.
      I have created this code (you should add this to your functions.php theme file).
      With this code, if you visit the AffiliateA link before to create a new user, when you create the new user then the AffiliateA is assigned to this new user.
      Kind Regards,
      Antonio B.

  4. In other words, can we make sure that new affiliates created manually are assigned to their permanent affiliate by default?

    1. Hi Bastien,
      If you visit the affiliate’s link before, when you add a new affiliate manually, this should be assigned to the affiliate used link.
      Kind Regards,
      Antonio B.

  5. Hello Antonio,

    Thank you for this information. I figured that out as I mentioned in my initial message.

    Can you please tell me what we can do about that part

    “We are adding affiliates manually. I think that’s where something goes banana. I can go back into each affiliates individually after creating them and re-assign the right referring affiliate by going into the users page, find the user, check to which user it has been permanently assigned and update the data in the affiliate settings… But that’s very cumbersome, will take us time and is prone to adding errors in the process.”

    Thank you

  6. Hi Bastien,
    thanks for the credentials.
    I have checked your settings, and I get:
    Direct
    – AffA (is ‘bbc’ not ‘bastien.bournet-charrier’)
    — AffB

    Direct
    – AffA
    — AffC

    Direct
    – AffA
    — AffD

    I have get these values from the edit affiliates page (Affiliates->Manage Affiliates editing the affiliate)

    Kind Regards,
    Antonio B.

Share