Community Support Forums — WordPress® ( Users Helping Users ) — 2011-03-07T23:20:57-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2467 2011-03-07T23:20:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2467&p=7493#p7493 <![CDATA[Re: Upgrading free account if user is not logged in]]> Statistics: Posted by Cristián Lávaque — March 7th, 2011, 11:20 pm


]]>
2011-02-22T17:42:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2467&p=7042#p7042 <![CDATA[Upgrading free account if user is not logged in]]>
The problem I'm facing now is that the primary location of my PayPal subscription links is outside my WordPress + s2member installation, and so I have no idea if the user subscribing already has an account as a free member. This appears to be a problem because when the user pays and is redirected to WordPress + s2member to register an account (username + email), their email may already be on the system.

Has anyone experienced this? And if so, any ideas how to handle it?

I don't want to force everyone to sign up for a free account before they subscribe. What would be great is if after payment the whole registration step on WordPress could be skipped. For example, s2member, once notified by PayPal, would check if the user's email address is already registered and if it is, the user would get upgraded automatically and notified. If not, the user would get registered and emailed a username and password which they would then use to login. I've noticed that s2member allows you to register a URL to be notified of signups - has anyone tried implementing this already? Perhaps it's already possible and I've simply overlooked it?

Any thoughts or suggestions greatly appreciated.

Update
According to this post viewtopic.php?f=4&t=405&p=1709#p1709 there is no built-in way for existing users who are not logged in to have their accounts upgraded:

Finally, what happens if a registered person (free, level 0) wants to purchase a subscription, but they simply forgot to log in first?

s2Member will consider them a "new" Customer after checkout, because they were not logged in when they initially clicked the checkout button. s2Member will provide them with a link to register, instead of updating their existing account. You should try to prevent this from happening.

I'd still be interested to know if anyone has implemented something like this through the hooks/signup notification s2member offers.

Statistics: Posted by miamm — February 22nd, 2011, 5:42 pm


]]>