latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Custom return URL PayPal not working

Home Forums Community Forum Custom return URL PayPal not working

This topic contains 5 replies, has 3 voices. Last updated by  Cristián Lávaque 3 years, 8 months ago.

Topic Author Topic
Posted: Friday Apr 19th, 2013 at 6:19 am #47862
BoMember
Username: BoMember

Hi!

After checking a lot of posts on this forum I still can’t resolve this issue.

The “success” shortcode attribute doesn’t work. It doesn’t redirect to the succes url. It only redirects to the standard ‘grey page’. I am using the latest stable version of S2member Pro (130406) and the button is a buy now button. The button is available when you are signed in.

I have checked:
– Auto return url = on with http://www.mysite.com/?s2member_paypal_return=1
– PDT = on with token
– The url I get from PayPal contains what I pass through the shortcode with the success attribute (…s2member_paypal_return_success=http://www.mysite.com/thank-you…)
– I used full url ‘http://www.mysite.com/thank-you’ and short url ‘/thank-you’ but no difference in result
– Recurring buttons don’t work as well
– no errors with the server through s2_diagnotics hack
– running Quick Cache plugin with Object caching disabled

What can I check more?
Please advice! Thanks!

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Friday Apr 19th, 2013 at 11:10 pm #47922
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

Do you have logging on? If not, could you enable it briefly and run a test transaction, and send us your logs here:

s2Member® » Private Contact Form

Posted: Monday Apr 29th, 2013 at 2:10 pm #48660
BoMember
Username: BoMember

Hello,

I did this, but no response yet. When can I expect a response?

Thanks!

BoMember

Posted: Wednesday May 1st, 2013 at 9:21 am #48898

Hi! Sorry about the delay. We usually wait for the user to leave a reply in the thread after sending the info, that’s why we didn’t notice on Friday. And you left the reply on Monday but I was away until today. Thank you for your patience!

I found the site’s info you sent and reviewed the log. I see that these are all existing users, not new signups. The success attribute will not work for modifications, only for new customers.

If you want a custom return URL after a modification to an existing account, this filter is available: [hilite mono]ws_plugin__s2member_redirection_url_after_modification[/hilite]. Knowledge Base » Hacking s2Member® Via Hooks/Filters

[hilite pre_code]
add_filter("ws_plugin__s2member_redirection_url_after_modification", "my_redirection", 10, 2);
function my_redirection($url, $vars)
{
return "http://www.example.com/my-custom-modification-ty-page/";
}
[/hilite]
Posted: Wednesday May 1st, 2013 at 9:23 am #48899
BoMember
Username: BoMember

Thanks for the great support!

Posted: Wednesday May 1st, 2013 at 9:52 am #48905

Glad I could help. :)

Viewing 5 replies - 1 through 5 (of 5 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.