Page 1 of 1

Customers aren't sent to the registration page after paypal

PostPosted: July 7th, 2011, 10:42 am
by garubi
Hallo,
I have a wp site with s2member on it installed in a subfolder of another wp site (not multisite).
i.e: www.mysite.it/membership/

When a user clicks the paypal button (generated with s2member) he goes to paypal, he pays without problems and he is sent back to my site, where s2member display to him the usual alert popup.
But then he isn't sent to the registration page: he always go to the homepage.

Some context informations:
[list=][*]If I send a registration link generated in the PAyPal buttons section the customer can register himself.
[*]The customer receives the welcome email and can register following the url in it
[*]In the button's shortcode the custom value is "www.mysite.it" (i.e. custom="www.mysite.it") and not www.mysite.it/memebrship. Could it be the problem?
[*]Note that I tried also to cancel from paypal a payment from a user, but s2member hasn't demoted him.
I duoble checked IPN e PDT configuration and also look correct....[/list]

Any hints?
any help?
please help next monday I have to go online !! :-(

Stefano

Re: Customers aren't sent to the registration page after pay

PostPosted: July 7th, 2011, 3:56 pm
by Cristián Lávaque
Hi Stefano.

The custom value you have is what the button generator put there, right? Then it should be fine.

I don't know if manually editing the subscription over at PayPal will cause an IPN communication that'll alert s2Member. If you do that, then also manually edit the user's profile in WordPress to update his account's role or EOT.

About users not coming back to the registration page, could you double-check that your return URL is the correct one? Is it http://www.mysite.it/membership/?s2memb ... l_return=1 ?

Re: Customers aren't sent to the registration page after pay

PostPosted: July 7th, 2011, 4:05 pm
by Cristián Lávaque
Ah, could you please show me the s2Member PayPal logs entries for these transactions with the problem? (with private info x'ed out) /wp-content/plugins/s2member-logs/ You need to have logging enabled when the transactions happen for them to be in the logs. WP Admin -> s2Member -> PayPal Options -> PayPal Account Details -> Enable Logging Routines

Re: Customers aren't sent to the registration page after pay

PostPosted: July 8th, 2011, 7:06 pm
by Jason Caldwell
Are you offering a free trial period perhaps?
See: viewtopic.php?f=4&t=521&p=2849&hilit=PDT+trial+immediately#p2849

Re: Customers aren't sent to the registration page after pay

PostPosted: July 11th, 2011, 2:06 am
by garubi
Yes Jason, I offer a trial period, and this is the first site on wich I do a "try for free" so I wasn't aware of this issue.

In my test I checked that S2Memebr doesn't demote the user if I submit a refund (all the usual configurations are sets ok) maybe the problem is caused by this "free trial" period?

Re: Customers aren't sent to the registration page after pay

PostPosted: July 11th, 2011, 10:18 pm
by Jason Caldwell
Thanks for the follow-up.

Hmm, no the act of issuing a full refund should trigger an immediate EOT with s2Member's default configuration, even in the case of a trial. I'm attaching a screenshot of the config option that affects this behavior. Please confirm what your site is configured with.

If the problem continues, please post a copy of the log entry inside: /plugins/s2member-logs/paypal-ipn.log. We'll need to see what PayPal sent to s2Member, and how s2Member responded. That information will be recorded inside the log file, once logging is enabled under: s2Member -> PayPal Options -> Account Details -> Logging/Debugging.

ss.png