Simple Membership Plugin › Forums › Simple Membership Plugin › Returning member is not prompted to register new wordpress user account
This topic contains 4 replies, has 3 voices, and was last updated by admin 2 weeks, 4 days ago.
-
AuthorPosts
-
February 13, 2021 at 10:21 pm #22142
I’m having an issue with returning members. When a member cancels my service, I maintain their Simple WP Membership profile, but I delete their wordpress user account. The reason is that in the past, unused user accounts were a security risk that allowed hackers into my site. If a previous member returns and signs up again, their Simple WP Membership profile becomes active, but a new user account is not created.
In this example, after the Stripe payment is successful, the returning customer (example1@example1.com) is NOT prompted to register a new user account (“Nothing to do here”). An upgrade/update completion email is sent instead of a prompt to complete registration email.
February 15, 2021 at 6:44 am #22145Hi,
If their membership account is still active in your system when they register again then the WP User account will not be created even though you have deleted it. The WP User account is only created for members registering for the first time.
Kind regards
February 16, 2021 at 8:38 am #22152Thanks for your reply. What if their account is still in the system but inactive? I seem to remember at one one point in the past that a new user account was created when members registered again. If there’s no way to do this, what do you recommend outside of creating the user account for the member?
February 16, 2021 at 10:11 pm #22154Hi, I have submitted a message to the developers to investigate further this issue.
Thank you
February 17, 2021 at 1:18 am #22161What you are doing is going to cause unexpected behavior so I don’t recommend doing that. If are worried and want to delete a user account, simply delete the user from the Simple Membership plugin (it will delete the corresponding WP user entry also). Then the user can register again in the future (if he wants to come back and be a member).
The wp user entries are going to have a role of “subscriber” so that should not be any security concern (unless you are doing something on this site to give some membership levels a higher permission). You can review each of your membership level configuration and make sure you are setting the role to what you really want/need (normally it should be a “contributor” or “subscriber” role).
Alternatively, use a different plugin where it has the structure/architecture to do what you are trying to do in terms of deleting the WP user entry but not the SWPM entry. Otherwise, you won’t have a smooth operating plugin and that will simply cause more issues.
-
AuthorPosts
You must be logged in to reply to this topic.