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™

User Registration Does not work properly

s2Member Plugin. A Membership plugin for WordPress®.

User Registration Does not work properly

Postby sujaypawar » September 26th, 2011, 1:35 am

Hello there,

Somehow, s2member is not working well for me this time. Below is what happens -

1. User goes to membership page
2. Makes payment via PayPal
3. Gets redirected to website homepage BUT not to registration page
4. Gets email from PayPal about subscription profile BUT no other with a link to registration page.

So, the system is not working flawlessly where users make payment and registers with the website himself. Could you please help???

Also we recently got this email from PayPal -

PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

http://rudog.com/?s2member_paypal_notify=1

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.


Is this correlated with the problem above? I have attached screenshots if it helps..

Thanks in advance..
Attachments
Rudog-Paymant.png
User avatar
sujaypawar
Registered User
Registered User
 
Posts: 13
Joined: April 28, 2011

Re: User Registration Does not work properly

Postby sserbanro » September 26th, 2011, 2:01 am

First thing I noticed:
Is your PayPal account VERIFIED?
Is your PayPal IPN activated ON THE PayPal SITE?
There are many other setup steps that have to be performed and IF only one mistake occurs in PayPal configuration, you might even get your PayPal account suspended!
Try to read again and again all the needed steps from the S2M PayPal Setup/Buttons pages and better use the SandBox instead of real-time transactions.
Best regards,
Serban Stanescu
User avatar
sserbanro
Registered User
Registered User
 
Posts: 10
Joined: September 22, 2011
Location: Thessaloniki, Greece

Re: User Registration Does not work properly

Postby sujaypawar » September 26th, 2011, 2:12 am

Thanks.. that makes sense.

Yes, the PayPal account is verified, IPN is activated "ON" in our PayPal account & I believe we have completed all step mentioned.

PayPal recently sent email saying "PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing"

Should this be co related?
User avatar
sujaypawar
Registered User
Registered User
 
Posts: 13
Joined: April 28, 2011

Re: User Registration Does not work properly

Postby sserbanro » September 26th, 2011, 5:15 am

sujaypawar wrote:[...] PayPal recently sent email saying "PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing"
Should this be co-related?

The PayPal integration, is very complex. So, checking all items in S2M PayPal Options, IS A MUST!
There are settings that are bound to each other. I think that covering all aspects, require a video course, since it is the quickest solution.
Try to querry this YouTube account:
http://www.youtube.com/user/JasonWSInc
There are 300+ videos so it's hard to say if there's missing something out there...
Good luck!
Best regards,
Serban Stanescu
User avatar
sserbanro
Registered User
Registered User
 
Posts: 10
Joined: September 22, 2011
Location: Thessaloniki, Greece

Re: User Registration Does not work properly

Postby sujaypawar » September 26th, 2011, 10:06 pm

Also this is what I see in in log files, can you determine anything from this?

Please help !!!



paypal-rtn.log -

Code: Select all
WordPress® v3.1.3 :: s2Member® v110620
rudog.com/?s2member_paypal_return=1
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
array (
  's2member_log' =>
  array (
    0 => 'No Return-Data from PayPal®. Customer must wait for Email Confirmation.',
    1 => 'Redirecting Customer to the Home Page.',
  ),
)



paypal-ipn.log -

Code: Select all
WordPress® v3.1.3 :: s2Member® v110620
rudog.com/?s2member_paypal_notify=1
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2
array (
  's2member_log' =>
  array (
    0 => 'Unable to verify POST vars. Possibly caused by a fraudulent request. If this error continues, please run IPN tests against your server from a PayPal® Sandbox account. They provide special diagnostic tools to assist you.',
    1 => 'If you\'re absolutely SURE that your PayPal® configuration is valid, you may want to run some tests on your server, just to be sure $_POST variables are populated, and that your server is able to connect to PayPal® over an HTTPS connection.',
    2 => 's2Member uses the WP_Http class for remote connections; which will try to use cURL first, and then fall back on the FOPEN method when cURL is not available. On a Windows® server, you may have to disable your cURL extension. Instead, set allow_url_fopen = yes in your php.ini file. The cURL extension (usually) does NOT support SSL connections on a Windows® server.',
    3 => 'array (
  \'s2member_paypal_notify\' => \'1\',
)',
  ),
)
Last edited by sujaypawar on September 29th, 2011, 1:58 am, edited 1 time in total.
User avatar
sujaypawar
Registered User
Registered User
 
Posts: 13
Joined: April 28, 2011

Re: User Registration Does not work properly

Postby sserbanro » September 27th, 2011, 3:07 am

I am a poor programmer, but as far I as can see, this code returns the status messages when triggered by PayPal API. This log file shows the point the S2M<--->PayPal data exchange somehow got hooked.
As far as I can guess, it is a browser related issue in conjunction with the APIs.
Since this is all the info you put here, I assume that only someone from the team can decode it.
These are the messages that should be available in case PayPal API returns one of the integers defined above.
But your logfile, shows 0 info regarding the PayPal session variables.
I assume that "s2member_paypal_notify=1" triggers a PayPal querry. IF the querry returns one of the values in the array, THEN the appropriate message is printed out in the log file.
What if the return value IS DIFFERENT from the listed ones? AKA 0,1,2,3?
What if the function call returns var $PayPalQuerry < 0, or $PayPalQuerry >3?
Trying to make sense of those 2 snippets, shows me only this:
1. PayPal return page= pudog.com (w or w/o www. matters less)
So, how do you expect your customer to login, from your home page?
I tried to access <pudog.com> and it says "Oops! Google Chrome could not find pudog.com" ;)
So, are you playing with US? With me?
Wether you have a site and want to solv the problem, OR you are wasting my time and the other's time?
Or YOU HAVE HOSTING RELATED TROUBLE?
On the other hand...
IF you protected the access to the root directory /home/user/public_html/*
which translates into www.pudog.com, or simply pudog.com then how do you expect to get out of this maze?
Try to check out the visitor access restrictions, because it seems that all your customers are redirected to the same PROTECTED PAGE AFTER PAYMENT!
NOW!...
How do you expect me to subscribe AFTER PAYMENT AND meanwhile, HAVE ACCESS RIGHTS, BEFORE REGISTRATION?
The story can go endless, because there are lots of variations here...
ANYWAY...
The code seen so far, tells me that people from S2M team are very careful!
Best regards,
Serban Stanescu
User avatar
sserbanro
Registered User
Registered User
 
Posts: 10
Joined: September 22, 2011
Location: Thessaloniki, Greece

Re: User Registration Does not work properly

Postby sserbanro » September 27th, 2011, 4:30 am

Hi! :)
Again, me!
I went through the registration process. There was a typo in the previous post...
it is RUDOG.COM and I saw pudog.com...
Where does that "pudog.com" get into this business from?
Have you checked the S2M General Options? Maybe when you defined the "s2member_paypal_notify=1"
string, you typed in instead of:
RUDOG.COM/?s2member_paypal_notify=1
...
pudog.com/...
So???
Otherwise:
The site works fine, I received the PP IPN message, but.. as you said, redirected me to the HOME PAGE.
Obviously, I SHOULD HAVE BEEN SENT TO REGISTRATION PAGE!
On the other hand, the redirection string, I think should have been something like this:
rudog.com/wp-login.php?action=register&s2member_paypal_notify=1
Here is what I get if i browse this page:
rudog.com/wp-login.php?action=register
"User registration is currently not allowed."
The page is the LOGIN FORM.
I belive you made the following mistake:
You copied the WRONG "s2member_paypal_notify=1" string from the PayPal IPN Integration option, AND it was like that:
udog.com/?s2member_paypal_notify=1
and then you "corrected" it typing instead of "r" "p"...
NOW!
Go to your PayPal account and CHECK at IPN settings, the RETURN URL.
I am 90% positive THERE IS THE TROUBLE!
After checking this setting on PayPal account and correcting the error -- if any -- tell me how the things are.
I'll try to go through the process again. OK?
Good luck!
Best regards,
Serban Stanescu
User avatar
sserbanro
Registered User
Registered User
 
Posts: 10
Joined: September 22, 2011
Location: Thessaloniki, Greece

Re: User Registration Does not work properly

Postby sserbanro » September 27th, 2011, 5:24 am

Again me...
It seems that you made the same mistake at the RETURN URL.
Change it also, on the PayPal account, in the Auto Return section.
[Profile-->Website preferences=Update-->]
These work together and if you fail setting them correctly, well, now you know what happens!
Now, check the following:
Auto Return: On [=1]
Return URL:
http://rudog.com/?s2member_paypal_return=1

Conclusion:
Check the following settings:
IPN URL:
http://rudog.com/?s2member_paypal_notify=1

Return URL:
http://rudog.com/?s2member_paypal_return=1
Happy sales! :)
Best regards,
Serban Stanescu
User avatar
sserbanro
Registered User
Registered User
 
Posts: 10
Joined: September 22, 2011
Location: Thessaloniki, Greece

Re: User Registration Does not work properly

Postby Cristián Lávaque » September 29th, 2011, 1:28 am

Those log entries are probably empty from loading http://rudog.com/?s2member_paypal_notify=1 directly instead of getting there after a successful checkout at PayPal.

I did notice there that the domain name is said to be pudog.com (I see Serban noticed this too), so you should double check your settings. WP Admin -> s2Member -> PayPal Options
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: User Registration Does not work properly

Postby sujaypawar » September 29th, 2011, 2:02 am

Cristián & Serban,

Actually, it was rudog in PayPal, but I had intentionally changed it to pudog while pasting it here for security reasons since this is a public forum.

Anyhow - what doesn't work well is -
1. After PayPal payment - users don't get redirected to registration form
2. They don't get email with registration link (but they get message from paypal about successful subscription)

With the log I mentioned above, do you see if there is any issue?
Last edited by sujaypawar on September 29th, 2011, 2:07 am, edited 1 time in total.
User avatar
sujaypawar
Registered User
Registered User
 
Posts: 13
Joined: April 28, 2011

Re: User Registration Does not work properly

Postby sujaypawar » September 29th, 2011, 2:05 am

Also, same setings I'm doing on demo website at cms.sharkslab.com/wp are working ok!
(it didn't redirect user to registration form but it send an email with registration link at least)

Please help!!
User avatar
sujaypawar
Registered User
Registered User
 
Posts: 13
Joined: April 28, 2011

Re: User Registration Does not work properly

Postby sserbanro » September 29th, 2011, 3:11 am

sujaypawar wrote:[...]Anyhow - what doesn't work well is -
1. After PayPal payment - users don't get redirected to registration form
2. They don't get email with registration link (but they get message from paypal about successful subscription)[...]

I have noticed the same behaviour when I registered, too.
The only ideas I have, are:
1. Copy the exact same settings from the site that works;
2. Change the rudog.com theme to the same theme as cms.sharkslab.com, and tweak it only with graphics.
3. Ask people that are running S2M successfully, if they use a free theme and what is the theme that works or better, what are the themes that work well with S2M. Try for instance 2011 (twenty-eleven). It is the default one and supports custom Header and BG, which allows you to make it look as you like, using two piece of graphics.
Best regards,
Serban Stanescu
User avatar
sserbanro
Registered User
Registered User
 
Posts: 10
Joined: September 22, 2011
Location: Thessaloniki, Greece

Re: User Registration Does not work properly

Postby sujaypawar » September 29th, 2011, 3:39 am

Thanks Serban,

I appreciate your reply, you really have been very helpful :) Changing the the theme, etc. is the option I'm thinking of as well.

P.S - Let's connect on Facebook / Skype of you don't mind.. my username is SUJAYPAWAR at both places.

Regards.
User avatar
sujaypawar
Registered User
Registered User
 
Posts: 13
Joined: April 28, 2011

Re: User Registration Does not work properly

Postby sserbanro » September 29th, 2011, 6:32 am

sujaypawar wrote:[...] Changing the the theme, etc. is the option I'm thinking of as well.


Warning: BEFORE you change the theme, BACKUP EVERYTHING!
In case it goes bad, you might want to restore both the contents and the look.
DataBase backup, only saves the entries (paths to stuff and text). The media will be present, but the links will be dead. I tried that. Just for the sake of "what happens". Widget settings and columns layout also will go away...

sujaypawar wrote:P.S - Let's connect on Facebook / Skype of you don't mind.. my username is SUJAYPAWAR at both places.
Regards.

Is it you?
brainstormforce.com
That's me:
http://www.facebook.com/sserbanro
Best regards,
Serban Stanescu
User avatar
sserbanro
Registered User
Registered User
 
Posts: 10
Joined: September 22, 2011
Location: Thessaloniki, Greece

Re: User Registration Does not work properly

Postby sujaypawar » September 29th, 2011, 7:36 am

Yep, I have taken up the backup. Thanks. :)

Also I just sent you a Facebook request.
User avatar
sujaypawar
Registered User
Registered User
 
Posts: 13
Joined: April 28, 2011

Re: User Registration Does not work properly

Postby Cristián Lávaque » October 1st, 2011, 4:01 am

If you have s2Member Pro, you can use the import/export feature for the s2Member options. WP Admin -> s2Member -> Import/Export -> Options

About the logs, could you please post the entries for the transaction that didn't get the email or sent to the registration page? Thanks! :)
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: Google [Bot] and 1 guest

cron