Sale is allocated to direct, but the registration was with affiliate x

Posted in

Hi Denitsa,

I can not comment on so I do it here.

“So, if I’m getting this right, you have a user, xyz, that is a referral to the user x. Then, under Affiliates > Referrals you can see that indeed the registration of xyz is attributed to x?” -> Yes I can.

“Also, do you see hits made for the user x under Affiliates > Visists & Refferals, or are they assigned to Direct?” -> They are assigned to user x, not to Direct.

“Are you able to see any other purchases made via affiliate x’s affiliate link as his referrals (I mean purchases made by someone other than xyz)?” -> Yes, there are a lot of sales for affiliate x…

“Do you use WooCommerce? If yes, you’d need to have the Affiliates WooCommerce integration installed through Affiliates > Settings, under Integrations.” -> Yes, I’m using WooCommerce and the integration is installed.

“What’s the caching mechanism you’re using for your site (if any), e.g do you have a plugin that takes care of that, like W3 Total Cache or is it the Varnish Cache?” -> Yes, I’m using caching with WPRocket and the nginx cache. But I don’t think, that the nginx cache is causing any problem. I think this is WPRocket. Maybe I can play around with the configs. What should be excluded from cache?

Greetings, Mathias

2 Responses to Sale is allocated to direct, but the registration was with affiliate x

  1. George January 30, 2019 at 11:57 am #

    Hi Mathias,

    Thanks for providing access to your site.

    FYI, I have added the user you provided as affiliate and made a test purchase through his affiliate link. The referral has been properly granted to the affiliate both for the registration and for the sale made.

    What you can check is whether your issue occurs only for a specific product and then have a look at the commission rate for that product.

    In the debug.log file there are some warnings and notices recorded which although don’t seem relative, IMO you should have a look.

    Kind regards,

  2. George January 26, 2019 at 8:40 am #

    Hi Matthias,

    Thanks for your replies.
    I’m George and following up your discussion with Denitsa I would say that it’s better to have a look at your Dashboard. Please enable debugging and send temp admin access to

    To enable debugging, edit your wp-config.php file and do the following:
    Replace this line: 

    define( ‘WP_DEBUG’, false );

    with these lines:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    FYI, you were not able to comment on your previous topic because your license has expired and in order to have access to the support forum and updates for your plugins, you need to renew your license.

    Kind regards,

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account