WordPress Affiliate Manager

Affiliates Management Plugin for WordPress

  • Home
  • Features
    • Screen Shots
  • Download
  • Documentation
  • Addons
  • Support
    • Support Forum
    • Forum Login
    • Forum Registration
    • Contact
    • Premium Addon/Plugin Support
You are here: Home

charlessmanning

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 27, 2015 at 1:17 pm in reply to: s2Member Coupon Code #1285
    charlessmanning
    Participant

    Thanks for your note.
    By “There will be no other referrer site involved” I mean that a customer will always begin on my web site, and not begin by clicking an Affiliate Link from a referrer that that takes them to my site (ie. default affiliate link).
    Therefore I won’t know the wpam_refkey or wpam_id until the coupon code is entered on my site.

    However, on my site during checkout (using S2Member Pro Authorize.net), a customer will enter a coupon code and in the coupon code S2Member can parse out the AffiliateID (ie. MYCOUPON:8), where 8 is the AffiliateID.

    Once I have the AffiliateID, I’ll need a WP Affiliate Manager function that can I call to retrieve the wpam_refkey for that AffiliateID? I’ll then dynamically build the Affiliate Link URL (see above) and silently call it behind the scene.

    Hope this explanation helps.

    September 22, 2015 at 3:50 am in reply to: s2Member Coupon Code #1261
    charlessmanning
    Participant

    Exactly! Yes. To be clear the coupon code will be entered on my site. There will be no other referrer site involved.

    Any suggestions?

    September 22, 2015 at 2:47 am in reply to: s2Member Coupon Code #1259
    charlessmanning
    Participant

    yes i did install S2Member Plugin Integration plugin but it only works when the link is from a referred site.

    September 22, 2015 at 2:44 am in reply to: s2Member Coupon Code #1258
    charlessmanning
    Participant

    I’M THINKING AFFILIATE_DETAIL.PHP FILE…

    If I can somehow trigger $this->viewData[‘creatives’] it could work. Just need to find the class/object that $this refers to.

    <?php foreach ( $this->viewData[‘creatives’] as $creative ) {
    $linkBuilder = new WPAM_Tracking_TrackingLinkBuilder($model, $creative);
    $link = $linkBuilder->getImpressionHtmlSnippet();
    ?>

    September 21, 2015 at 5:28 pm in reply to: s2Member Coupon Code #1255
    charlessmanning
    Participant

    Please let me clarify…
    I understand that WP Affiliate Manager works well from a hyperlinked graphic from an affiliate’s web page. That it sets both an affiliate ID (wpam_id) and a refkey (wpam_refkey).

    BUT, I’m not using a link from a foreign page. a user begins ON MY SITE and enters a valid S2member Pro coupon code appended with affiliate ID (ie. MYCOUPON:8).

    QUESTION: given the affiliateID, how can I retrieve or create a wpam_refkey to create the Tracking URL to send to WPManager to credit the affiliate?

    Thanks
    Chuck

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)

Featured Addons

  • WooCommerce Coupon Tracking
  • WooCommerce Product Specific Commission

Copyright © 2026 | WordPress Affiliate Manager | Privacy Policy