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™

Upgrading free account if user is not logged in

s2Member Plugin. A Membership plugin for WordPress®.

Upgrading free account if user is not logged in

Postby miamm » February 22nd, 2011, 5:42 pm

I wonder if anyone can help out here. I have WordPress + s2member set up and working fine. I've had to enable free membership on my WordPress + s2member installation because the accounts held there are linked to another application (a forum). And I will soon have free members signed up purely to use the forum.

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.
User avatar
miamm
Registered User
Registered User
 
Posts: 1
Joined: February 22, 2011

Re: Upgrading free account if user is not logged in

Postby Cristián Lávaque » March 7th, 2011, 11:20 pm

Maybe, in the meantime, you could only show PayPal buttons to those logged in, and to those not logged in that want to upgrade, tell them to log in first. Basically, don't give the PayPal button to upgrade to anyone that isn't logged in.
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: No registered users and 9 guests

cron