Community Support Forums — WordPress® ( Users Helping Users ) — 2011-11-11T00:34:52-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15818 2011-11-11T00:34:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15818&p=52748#p52748 <![CDATA[Re: Auto-transfer to WP Registration after Payment]]>

Statistics: Posted by Cristián Lávaque — November 11th, 2011, 12:34 am


]]>
2011-11-08T17:13:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15818&p=52581#p52581 <![CDATA[Re: Auto-transfer to WP Registration after Payment]]>
Also, the hack you pointed to only works if the page I want to redirect to *is not* the registration page. Since the hack essentially bypasses setting the cookies, redirecting to the registration page results in "Registration Disabled" (since s2Member doesn't know the person just purchased something). On the plus side, with the hack the Paypal Confirmation email is generated, which allows the subscribers to click the link (thereby generating the cookies) and then registering.

However, my intention with redirecting to the registration page was to prevent the number of steps to complete registration. Requiring a subscriber to check their email and click a link to register defeats that purpose.

Statistics: Posted by Raam Dev — November 8th, 2011, 5:13 pm


]]>
2011-11-08T01:46:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15818&p=52515#p52515 <![CDATA[Re: Auto-transfer to WP Registration after Payment]]> success attribute for PayPal buttons, but comes with the Pro add-on. WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes -> success

Raam, you need to let users arrive at the s2Member return page or s2Member won't set the cookies that let him register when you have Open Registration disabled. Even if you had enabled that, they'd be registering but s2Member would not know they paid, so would give them Level 0.

Actually, if I'm not mistaken, by default the person would be shown the registration page after checkout at PayPal... I may be wrong, though. Anyway, this hack may help you viewtopic.php?f=36&t=6386#p14932

Statistics: Posted by Cristián Lávaque — November 8th, 2011, 1:46 am


]]>
2011-11-07T14:25:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15818&p=52475#p52475 <![CDATA[Re: Auto-transfer to WP Registration after Payment]]>
success="" Success Return URL ( optional ). s2Member handles this automatically for you. However, if you would prefer to take control over the landing page after checkout ( i.e. your own custom Thank-You Page ), you can. If supplied, this must be a full URL, starting with http://. Note, s2Member will NOT use this value if an existing account holder is being modified. s2Member handles account updates ( i.e. billing modification ) in a more dynamic way. Your Success Return URL is only applied to (new) Customers.

Found this under PayPal® Buttons -> Shortcode Attributes ( Explained ) -> success=""

Hope this helps. :)

Statistics: Posted by Eduan — November 7th, 2011, 2:25 pm


]]>
2011-11-07T14:19:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15818&p=52473#p52473 <![CDATA[Re: Auto-transfer to WP Registration after Payment]]>
I'm using Paypal Buttons, not Paypal Pro Forms (can't afford s2Member Pro just yet).

Statistics: Posted by Raam Dev — November 7th, 2011, 2:19 pm


]]>
2011-11-07T14:16:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15818&p=52472#p52472 <![CDATA[Re: Auto-transfer to WP Registration after Payment]]>
If it's pro-forms then try under PayPal® Pro Forms -> Custom Return URLs On Success.

If it's PayPal buttons then I couldn't tell you what to do. :|

Hope this helps. :)
Also remember to report back,
otherwise you leave me worrying. ;)

Statistics: Posted by Eduan — November 7th, 2011, 2:16 pm


]]>
2011-11-07T13:58:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15818&p=52469#p52469 <![CDATA[Auto-transfer to WP Registration after Payment]]>
I tried modifying s2member/includes/templates/returns/default-return.php by adding a JavaScript redirect that automatically transfers new subscribers to the register page:

Code:
<body onLoad="window.location.href='https://raamdev.com/wordpress/wp-login.php?action=register'">


However, this technique seems to work sporadically. Sometimes the registration page is displayed and other times a message appears that tells paying subscribers that Registration is disabled (I have Open Registration disabled, so only paying subscribers can register). Also, when this happens users never receive the Signup Confirmation email, so they essentially have no way of filling out the registration form.

I'm not sure if there's a better way of doing this or if I'm missing something with how the registration process works. Any help would be greatly appreciated.

Statistics: Posted by Raam Dev — November 7th, 2011, 1:58 pm


]]>