Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

block the remuneration of an affiliate

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate General Questions › block the remuneration of an affiliate

Tagged: disable self commission, self commission, self purchase

  • This topic has 14 replies, 8 voices, and was last updated 7 years, 10 months ago by mrsupportfriend.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • December 7, 2011 at 6:51 pm #4972
    alchymed
    Member

    is it possible to block the remuneration of an affiliate if he buys the product itself ?

    December 8, 2011 at 4:07 am #39378
    admin
    Keymaster

    You mean when the affiliate buys with his own link?

    Normally, buying with their own affiliate link is not an issue since you will set a minimum payout limit which makes it so they have to refer a few sales before they get the commission paid out.

    December 8, 2011 at 4:16 pm #39379
    alchymed
    Member

    yes that’s it, with his own link

    December 9, 2011 at 6:49 am #39380
    admin
    Keymaster

    Okay.. yeah it is possible to stop an affiliate from getting commission from his own purchase. See the following post.

    December 10, 2011 at 6:39 am #39381
    admin
    Keymaster

    Open the “wp_aff_advanced_configs.php” file and look for the following line of code:

    define('WP_AFFILIATE_NO_COMMISSION_FOR_SELF_PURCHASE', '0');

    Once you find it change it to the following:

    define('WP_AFFILIATE_NO_COMMISSION_FOR_SELF_PURCHASE', '1');

    This will stop commission on self purchase when a buyer email address is present in the transaction so the plugin can match the buyer and affiliate. This will make it so the plugin won’t award commission on purchases where the referrer is the buyer.

    January 5, 2012 at 3:13 pm #39382
    nathanbarry
    Member

    Thanks!

    January 14, 2012 at 10:49 pm #39383
    Artisantopia
    Member

    I would also like to block self purchase payouts. I have Wp Affiliate integrated with S2Member. I looked for the wp_aff_advanced_configs.php but it doesn’t exist in my installation.

    Can I do this with my setup?

    Thank you!

    January 15, 2012 at 5:47 am #39384
    admin
    Keymaster

    Yes you can do it.

    February 21, 2012 at 11:37 pm #39385
    tekt
    Member

    Does this also work with the Cart66 shopping cart?

    February 22, 2012 at 2:55 am #39386
    admin
    Keymaster

    Yeah it should. I am guessing you got your answer from here:

    https://support.tipsandtricks-hq.com/forums/topic/prefent-cookies-from-being-overwritten-whithin-the-lifetime

    March 30, 2017 at 2:23 am #39387
    ds1291
    Member

    Hello,

    If I follow the instructions and edit the PHP file mentioned, will it get overwritten upon plugin updates?

    March 30, 2017 at 3:23 am #39388
    wzp
    Moderator

    Yes.

    August 4, 2017 at 7:48 pm #39389
    mrsupportfriend
    Member

    Do I need to deactivate the plugin when making the edit described below or can I make the edit while the plugin is active?

    Open the “wp_aff_advanced_configs.php” file and look for the following line of code:

    define(‘WP_AFFILIATE_NO_COMMISSION_FOR_SELF_PURCHASE’, ‘0’);

    Once you find it change it to the following:

    define(‘WP_AFFILIATE_NO_COMMISSION_FOR_SELF_PURCHASE’, ‘1’);

    August 4, 2017 at 8:39 pm #39390
    wzp
    Moderator

    You can make the edit while it is active.

    August 5, 2017 at 10:39 pm #39391
    mrsupportfriend
    Member

    Thanks!

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ