latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Sara Young

Sorry, I've not written a description yet. I'll get to it soon!


My Favorite Topics

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Integrating iDevAffiliate and S2Member

By:  Sara Young in: Community Forum

voices: 3
replies: 4

3 years, 8 months ago  Sara Young

Viewing topic 1 (of 1 total)

Topics I'm Subscribed To

Viewing 4 topics - 1 through 4 (of 4 total)
Topic Count Last Reply
Integrating iDevAffiliate and S2Member

By:  Sara Young in: Community Forum

voices: 3
replies: 4

3 years, 8 months ago  Sara Young

S2Member API – Xero Integration

By:  Sara Young in: Community Forum

voices: 2
replies: 2

4 years ago  Bruce

Tracking customer lifetime value

By:  alancheuk in: Community Forum

voices: 4
replies: 3

4 years ago  Bruce

Integrating iDevAffiliate and S2Member

By:  Sara Young in: Community Forum

voices: 3
replies: 2

4 years, 7 months ago  Jason (Lead Developer)

Viewing 4 topics - 1 through 4 (of 4 total)

Topics I've Started

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
Integrating iDevAffiliate and S2Member

By:  Sara Young in: Community Forum

voices: 3
replies: 4

3 years, 8 months ago  Sara Young

S2Member API – Xero Integration

By:  Sara Young in: Community Forum

voices: 2
replies: 2

4 years ago  Bruce

Integrating iDevAffiliate and S2Member

By:  Sara Young in: Community Forum

voices: 3
replies: 2

4 years, 7 months ago  Jason (Lead Developer)

Viewing 3 topics - 1 through 3 (of 3 total)

My Latest Replies (From Various Topics)

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Sunday Apr 14th, 2013 at 5:27 pm #47458
Sara Young
Username: iaa2011

@Cristián – Thanks for the info. I’ll forward to our developers to see what they can do with what you’ve provided.

@Terry – I like it better than 1ShoppingCart’s built in affiliate program since it more “affiliate friendly” and you can get affiliate training modules. I like the way it displays the banners, etc better. Plus since it is a separate system, if we go away from 1ShoppingCart on our downloads, then we can keep using iDev Affiliate which minimizes the impact on our affiliates going forward. I have developers helping me so easier for me when a problem comes up to get them involved since I have minimal programming skills. A few quirky things about it though include the fact that if you decline an affiliate, it completely removes them from the system so you lose that history of who you have declined unless you set up a separate log in excel or something. We ask our affiliates to fill out a questionnaire and iDev limits you to 5 questions so I had to combine a few which is a little weird. Like any new product, there is sometime invested to understand how it works and then how to configure it to work how you want it to work. It would be great if I could integrate the logins for our customers and affiliates so it is all one log in but I haven’t gotten to that yet. Would be curious to see what you decide to go with.

Posted: Sunday Apr 7th, 2013 at 8:29 pm #46826
Sara Young
Username: iaa2011

Got the hack from our programmers…

They are using “initialSalePrice” and need to know what the API variable name is for the adjusted price after the coupon is applied.

This is what they are doing (XXX=our domain)

s2-hacks.php

<?php

// OSM : This filter
add_filter ("ws_plugin__s2member_pro_authnet_checkout_post_attr", "my_authnet_pro_checkout_form_attr");
function my_authnet_pro_checkout_form_attr($attr = array()) {

 // set initial price cookie for later use
 $salePrice = $attr["ra"];
 setcookie("initialSalePrice", $salePrice, time()+3600, "/", ".XXX");

return (array) $attr;
}

add_filter ("ws_plugin__s2member_pro_paypal_checkout_post_attr", "my_paypal_pro_checkout_form_attr");
function my_paypal_pro_checkout_form_attr($attr = array()) {

 // set initial price cookie for later use
 $salePrice = $attr["ra"];
 setcookie("initialSalePrice", $salePrice, time()+3600, "/", ".XXX");

return (array) $attr;
}


add_action('ws_plugin__s2member_during_configure_user_registration', 's2_auto_login_after_registration');
function s2_auto_login_after_registration($vars = array()) {
   
 if (!is_admin() && $vars['processed'] === 'yes') {
  wp_new_user_notification($vars['user_id'], $vars['pass']);
  wp_set_auth_cookie($vars['user_id'], false, is_ssl());
  c_ws_plugin__s2member_login_redirects::login_redirect($vars['login']);
 }

}
?>
Posted: Tuesday Dec 11th, 2012 at 8:49 pm #34317
Sara Young
Username: iaa2011

After doing some more digging through the forums, sounds like I might be able to do this with the API Payment Notifications (example post: http://www.s2member.com/forums/topic/tracking-customer-lifetime-value/#post-33092).

Has anyone done this before that can give me a basic idea of what steps are needed? Assume need to create database in mySQL and then create a script that passes this information and tells how to store it in the database and then put the script url in the payment notification area, does that sound about right?

Posted: Tuesday Dec 11th, 2012 at 8:45 pm #34316
Sara Young
Username: iaa2011

Has anyone scripted this before or have a script to send this to a database or is a developer capable of doing this? If so please reply to this message with how to contact you.

Thanks,
Sara

Viewing 4 replies - 1 through 4 (of 4 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.