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

s2Member Coupon Code

by

WordPress Affiliate Manager › Forums › Affiliate Manager Plugin › s2Member Coupon Code

Tagged: s2member coupon

  • This topic has 9 replies, 3 voices, and was last updated 10 years, 6 months ago by charlessmanning.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • September 11, 2015 at 5:17 pm #1232
    charlessmanning
    Participant

    Hello-
    How to enable an s2Member-pro coupon code on my s2member registration page to credit my affiliate, and not just track my affiliate? There is never a hyperlink from another web site, only a coupon code entered on my site.
    Thanks

    September 12, 2015 at 12:27 am #1234
    mbrsolution
    Moderator

    Hi in regards to your question.

    How to enable an s2Member-pro coupon code on my s2member registration page to credit my affiliate

    I think you are meant to ask the s2Member developers to assist you with this question.

    September 21, 2015 at 5:28 pm #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

    September 22, 2015 at 1:11 am #1257
    mbrsolution
    Moderator

    Hi, did you install the following add-on?

    September 22, 2015 at 2:44 am #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 22, 2015 at 2:47 am #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 3:26 am #1260
    Shadow Labs
    Keymaster

    @charlessmanning, Are you looking for a similar feature in our S2Member Integration?

    Tracking Affiliate Commission Using WooCommerce Coupons or Discount Codes

    September 22, 2015 at 3:50 am #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 26, 2015 at 1:34 am #1282
    Shadow Labs
    Keymaster

    What do you mean by “There will be no other referrer site involved”? We will check their documentation and see if we can create an addon for this.

    September 27, 2015 at 1:17 pm #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.

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

Featured Addons

  • WooCommerce Coupon Tracking
  • WooCommerce Product Specific Commission

Copyright © 2026 | WordPress Affiliate Manager | Privacy Policy