Statistics: Posted by Jason Caldwell — September 6th, 2011, 2:36 pm
Statistics: Posted by sguk2011 — September 4th, 2011, 6:01 am
Statistics: Posted by Jason Caldwell — April 27th, 2011, 2:31 am
Statistics: Posted by dwbiz05 — April 26th, 2011, 3:46 pm
Statistics: Posted by dwbiz05 — March 30th, 2011, 8:22 am
do_action ("ws_plugin__s2member_during_paypal_return_during_subscr_signup_wo_update_vars", get_defined_vars ());
<?php
add_action("ws_plugin__s2member_during_paypal_return_during_subscr_signup_wo_update_vars", "my_checkout_redirection");
function my_checkout_redirection($vars = array())
{
// $vars comes from the actual Hook,
// which passes you the array returned by:
// get_defined_vars ()
}
?>
Statistics: Posted by Jason Caldwell — March 19th, 2011, 1:28 am
Is there any way to do this quickly? If not, anyone know what files I would need to "adjust" to add this functionality myself? Most of my customers will not want to fill in all their information twice and I would like to not make them if possible.
<?php
add_action("ws_plugin__s2member_during_paypal_return_during_subscr_signup_wo_update_vars", "my_checkout_redirection");
function my_checkout_redirection($vars = array())
{
//print_r($vars["paypal"]); // to get a full list during testing.
$first_name = $vars["paypal"]["first_name"];
$last_name = $vars["paypal"]["last_name"];
$register_url = c_ws_plugin__s2member_utils_urls::wp_register_url ();
wp_redirect($register_url);
exit();
}
?>
Statistics: Posted by Jason Caldwell — March 18th, 2011, 11:39 pm
Statistics: Posted by dwbiz05 — March 18th, 2011, 10:52 am
Statistics: Posted by dwbiz05 — March 17th, 2011, 3:52 pm