Page 1 of 1

How to validate if member is paid?

PostPosted: July 29th, 2011, 2:56 pm
by AaronHolbrook
Was wondering if it was possible using the s2Member plugin to determine via a function call if a user's currently up to date with payment or in good standing.

For example I'm building a membership directory, so the point is to display only members that have paid. So - I don't need to protect content from the public, I need to protect the public from non-valid members. Does your plugin allow me to test for this condition?

If the person's subscription runs out does the plugin deactivate the profile or does it perhaps move the person's level down to a free level or something?

Thanks much!
Aaron

Re: How to validate if member is paid?

PostPosted: July 29th, 2011, 10:16 pm
by Cristián Lávaque
Yeah, if the subscription ends, you can specify what should happen: nothing, demote or delete. WP Admin -> s2Member -> PayPal Options -> Automatic EOT Behavior

Yes, you can check the level of a user to decide whether to display him in the list or not. http://www.s2member.com/advanced-conditionals-video/

Search "members list" here in the forums, others have posted things you may find useful. https://wordpress.org/extend/plugins/members-list/

I hope that helps. :)

Re: How to validate if member is paid?

PostPosted: July 29th, 2011, 10:16 pm
by nusatsum
It's my understanding that Yes, when an account is in bad standing, the user will can be demoted to the free level of service. I suppose this to mean that you only need to worry about the account having access to the level you require.

I don't know if this will help you or not, but I am doing something similar. I am having the members store their information directly into custom registration fields that they can manage via their profile. Are you doing this yourself? Perhaps you are handling the directory entries as posts?