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™

Return user to message area of BPress after checkout

s2Member Plugin. A Membership plugin for WordPress®.

Return user to message area of BPress after checkout

Postby teamNOOB » November 8th, 2011, 8:14 pm

Hello,

What I am hoping to achieve is, when the user completes membership process and pays through s2m/PayPal, they are returned to the Message/Compose area within their Profile section.

The URL would be something like:
Code: Select all
<?php echo bp_loggedin_user_domain() ?>messages/compose


Is this at all possible? If not is their a different solution? Happy to compromise.

I know that I can specify a Return URL through PayPal but last time I checked I can't use shortcodes or php that links to the users Message/Compose area within their Profile section.


Hope that makes sense.

Thanks,
Ben
User avatar
teamNOOB
Registered User
Registered User
 
Posts: 11
Joined: August 2, 2011

Re: Return user to message area of BPress after checkout

Postby teamNOOB » November 9th, 2011, 9:31 pm

Sorry to bump this but I'm sure I've seen a solution to this.

I'm watching all of the s2m video tutorials in hope of finding the answer - but would be awesome if someone could save me the time :)
User avatar
teamNOOB
Registered User
Registered User
 
Posts: 11
Joined: August 2, 2011

Re: Return user to message area of BPress after checkout

Postby Cristián Lávaque » November 12th, 2011, 1:12 am

If you have s2Member Pro, you could use the success attribute for your PayPal pro-form/button shortcode.

WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes -> success
WP Admin -> s2Member -> PayPal Pro-Froms -> Custom Return URLs On Success

viewtopic.php?f=36&t=1604

I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Return user to message area of BPress after checkout

Postby teamNOOB » November 12th, 2011, 4:22 am

Hey Cristián!

I certainly do have the pro version :) I'll give that a try!

Thanks so much,
Ben
User avatar
teamNOOB
Registered User
Registered User
 
Posts: 11
Joined: August 2, 2011

Re: Return user to message area of BPress after checkout

Postby Cristián Lávaque » November 12th, 2011, 3:18 pm

Cool! :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron