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, 7 months ago by
vitormaia.
-
AuthorPosts
-
May 1, 2014 at 1:00 pm #10752
ownmatrix
MemberI 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 #62646admin
KeymasterThe 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 #62647ownmatrix
MemberWill this also work with Authorize.net as the payment gateway?
July 15, 2014 at 2:02 pm #62648vitormaia
MemberI 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 #62649admin
KeymasterWe 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:
We can look into doing an integration for it. Please fill out the following form to get in touch:
July 16, 2014 at 1:25 pm #62650vitormaia
MemberThat 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 #62651admin
KeymasterIf 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 #62652vitormaia
MemberYes i filled out the form and sent you all details.
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.