PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
[s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / Description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="yoursite.com" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" <?php $_g = stripslashes_deep($_GET); if (isset($_g['_s2member_seeking']['_uri']) { echo 'success="' . site_url() . '/wp-login.php?action=register&redirect_to=' . base64_decode($_g['_s2member_seeking']['_uri']) . '"'; } ?> /]
<?php
function custom_url_on_registration ()
{
header ('Location: http://yoursite.com/wp-login.php?redirect_to=/page=1');
exit ();
}
add_action('user_register', 'custom_url_on_registration');
?>
<?php
function set_cookie_s2member_seekings_custom (){
if (!empty($_GET['s2member_seeking]'))
{
setcookie('custom_redirectto_page', $_GET['s2member_seeking']);
}
}
add_action('init', 'set_cookie_s2member_seekings_custom');
?>
*PayPal® Pro is NOT Absolutely Required* s2Member is very flexible. It is now possible to integrate Pro Forms without a PayPal® Pro account, whereby the enhanced Form Shortcodes that s2Member provides can be integrated ONLY with PayPal® Express Checkout. In other words, if you get declined for PayPal® Pro service, you can still use s2Member Pro Forms. Ask PayPal® to activate Express Checkout for you. ( it's free ). Once Express Checkout is enabled, you will have access to your PayPal® API Credentials. Log into your PayPal® account, and navigate to Profile -> API Access (or Request API Credentials). You'll choose ( Request API Signature ). Now ... here is the tricky part; whenever you generate a Pro Form Shortcode with s2Member, be sure to change accept="paypal,visa,mastercard,amex,discover,maestro,solo" to just accept="paypal"; thereby excluding the on-site credit card processing functionality; which is available only with PayPal® Pro.
Users browsing this forum: No registered users and 2 guests