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

optimizemember (s2member rebranded) integration issue

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Troubleshooting › optimizemember (s2member rebranded) integration issue

Tagged: affiliate tracking, optimizemember, s2member

  • This topic has 7 replies, 3 voices, and was last updated 10 years, 9 months ago by vitormaia.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • May 1, 2014 at 1:00 pm #10752
    ownmatrix
    Member

    I have a membership site built with optimizemember (rebranded s2member plugin) with Optimizepress version 2.

    I followed the simple intgration documentation for s2member and I think the cv1 is not in the version of optimizemember.

    my api is set to:

    [http://mysite.com/wp-content/plugins/wp-affiliate-platform/api/post.php?secret=5361af95ef492&ap_id=%%cv1%%&sale_amt=%%amount%%&txn_id=%%txn_id%%]

    I get this in the wp affiliate debuglog:

    [05/01/2014 12:23 PM] – SUCCESS :Start processing remote commission tracking request…

    [05/01/2014 12:23 PM] – SUCCESS :POST data: 5361af95ef492||7.00|6138451264||||

    [05/01/2014 12:23 PM] – SUCCESS :Validating Request Data

    [05/01/2014 12:23 PM] – FAILURE :Referrer ID is missing… cannot process request

    Can you point me in the right direction to create the cv1 custom code?

    May 2, 2014 at 4:10 am #62646
    admin
    Keymaster

    The following code is how we add our custom value to the cv1 parameter in s2Member plugin’s button code.

    add_action ("ws_plugin__s2member_before_sc_paypal_button_after_shortcode_atts", "wp_aff_s2member_integration");
    function wp_aff_s2member_integration ($vars = array ())
    {
    $cookie_value = $_SESSION["ap_id"];
    if(empty($cookie_value)){
    $cookie_value = esc_html ($_COOKIE["ap_id"]);
    }
    if(!empty($cookie_value)){
    $vars["__refs"]["attr"]["custom"] .= "|" . $cookie_value;
    }
    }

    I don’t know 100% if the same will work for that rebranded plugin.

    May 2, 2014 at 6:49 pm #62647
    ownmatrix
    Member

    Will this also work with Authorize.net as the payment gateway?

    July 15, 2014 at 2:02 pm #62648
    vitormaia
    Member

    I am using same optimize member plugin, can you explain me where should i add above code?

    Also will that code work for optimizemember as looking like that is for s2member only?

    thanks

    July 15, 2014 at 11:43 pm #62649
    admin
    Keymaster

    We don’t have any integration with optimizemember so I don’t have an answer for your question unfortunately.

    You can see in our product page that we don’t advertise optimize member as a supported plugin:

    http://www.tipsandtricks-hq.com/wordpress-affiliate-platform-plugin-simple-affiliate-program-for-wordpress-blogsite-1474

    We can look into doing an integration for it. Please fill out the following form to get in touch:

    https://support.tipsandtricks-hq.com/need-custom-work-done

    July 16, 2014 at 1:25 pm #62650
    vitormaia
    Member

    That is too costly.

    Many people are currently using optimzepress. So it will be beneficial for you to build integration with it. Also optimizemember is just a branded version of s2member,it is exactly same code of s2member pro so it will not take much time for your team to build integration for it

    thanks

    July 16, 2014 at 11:13 pm #62651
    admin
    Keymaster

    If it is exactly the same code then we should be able to do an integration for free. Fill out that form and we will communicate via email. I will need to have temporary access to a site that has the optimize member plugin.

    July 17, 2014 at 12:24 pm #62652
    vitormaia
    Member

    Yes i filled out the form and sent you all details.

    Thanks

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