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

WP AFFILIATE – How to make afiliate reward hisself

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP AFFILIATE – How to make afiliate reward hisself

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 8 months ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 1, 2014 at 2:38 am #11526
    cplee1024
    Member

    Hi, I try to use wp affiliate as a reward program, but do not know if there is a way let the affiliate earn commission from his own purchase

    I am use estore, wp affiliate and emember plugin

    October 1, 2014 at 4:01 am #65746
    admin
    Keymaster

    Yes, affiliates can enter their affiliate ID in the URL (or click their own affiliate link) before purchasing and the commission from the sale will be given to them.

    October 1, 2014 at 5:21 am #65747
    cplee1024
    Member

    Hi Admin,

    I was seeking more automattically approach, My configuration, when every member created it automattically create wordpress account and affiliate account. so if possible just a simple code modification to set commission to himself?

    October 1, 2014 at 6:33 am #65748
    cplee1024
    Member

    continue from prev post:

    for example the code from affiliate document:

    $secret = “4bd39e2e4a7bb”;

    $referrer = “amin21”;

    $sale_amt = “29.95”;

    $prepared_data = “?secret=”.$secret.”&ap_id=”.$referrer.”&sale_amt=”.$sale_amt;

    $get_url = “http://www.example.com/wp-content/plugins/wp-affiliate-platform/api/post.php”.$prepared_data;

    // Execute this GET Request

    file_get_contents($get_url);

    If knowing how to retrieve affiliate id from login user info, it should be not difficult to reward affiliate itself

    October 1, 2014 at 10:31 pm #65749
    admin
    Keymaster

    You are using the emember integration so your affiliate IDs will be the same as the emember usernames. The folloiwng post will show you how you can programmatically retrieve the username:

    WP eMember Miscellaneous Tweaks

    Let me know if that helps.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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