Reply To: Free registration with ccaps

Forums General Free registration with ccaps Reply To: Free registration with ccaps

#593

You could custom code that, bur remember that registering won’t automatically log the user in, so he’ll still be logged out when redirected to the URL after registration…

You could try using $_SERVER[‘HTTP_REFERER’] in the success attribute. http://php.net/reserved.variables.server

[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="default" desc="Signup now, it's Free!" custom="scrapbookcampus.com" tp="0" tt="D" captcha="clean" success="<?php echo $_SERVER['HTTP_REFERER']; ?>" /]

See also the documentation here, in case there’s something that could be useful to you: WP Admin -> s2Member -> PayPal Forms -> Custom Return -> Free Registration.