Your cart is currently empty!
Test orders on Admin account being credited to a random affiliate?
—
by
Hi,
When I do test orders on my website on the Admin account, the order is being credited as a referral to a random affiliate despite the order not being related to their affiliates account or ordered using their affiliates tracking code.
How can I stop this?
Posted in Affiliates Pro
Comments
3 responses to “Test orders on Admin account being credited to a random affiliate?”
Hi Lewis,
Please check the troubleshooting section in our Documentation.
If none of these applies to your case, then it’s better for me to have a look at your site.
Cheers,
George
Hi George,
This occurs even if I do not use an affiliate for the test order. If I visit my home page direct, no affiliate referral, place an order on the admin account, it gets credited as a referral to a random affiliate. It seems to be the same affiliate a few times in a row, but it changes from time to time, possibly as I accept more affiliates to the scheme it changes something.
Regards,
Lewis.
Hi Lewis,
Does this occur no matter which affiliate you use for your test order?
What is your cookie timeout? This setting can be found under Affiliates > Settings, under Referrals tab.
Since it is not the normal behavior of the plugin, first I think you should try the following suggestions.
1) Check that the affiliate cookie is properly stored. Visit your site using an affiliate link and check your browser for the cookie value. The cookie name is wp_affiliates and the value should be the affiliate id.
Repeat the test this time using another affiliate’s link and make sure that the cookie has changed.
2) Check your caching plugin settings. If you are using W3 Total Cache or WP Super Cache, you should follow the instructions here and here in order to exclude cookies from being cached.
If none of the suggestions above works for you, then I think it’s better for me to have a look at your site. Please send me temp admin access to your site to george@itthinx.com and enable debugging if not already.
To enable debugging, edit your wp-config.php file and replace the following line:
define('WP_DEBUG', false );
with these lines:
define('WP_DEBUG', true );
define('WP_DEBUG_LOG', true );
define('WP_DEBUG_DISPLAY', false );
after that, any errors will be added to a file named debug.log under your wp-content folder.
Kind regards,
George