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™

Using s2member levels as credits

s2Member Plugin. A Membership plugin for WordPress®.

Using s2member levels as credits

Postby randomskate1 » August 14th, 2011, 8:54 pm

Hi there, having a small problem with s2M..

Can I have the user enter in a certain amount that THEY want to pay? Then the s2member level gets assigned according to the amount? So for example, the user pays $35 and the s2member level goes up to 35, then they pay another $20 a week later then their member level should go up to 55.

Is this possible? seems like it doesn't really work that way...

Thanks in advance
User avatar
randomskate1
Registered User
Registered User
 
Posts: 8
Joined: August 10, 2011

Re: Using s2member levels as credits

Postby Cristián Lávaque » August 15th, 2011, 4:23 pm

No, s2Member doesn't do that by default.

If you were just changing the amount it'd be easier, you'd add an amount field to the button's form, but based on that he'd be given a different kind of access. I can think of two options: use JavaScript to change other values in the form based on what they donate before submitting it, or submit the donation to a custom script of yours where you work with the values a bit and then send it to PayPal from there.

You could save the donated amount in a custom profile field for the user and then with conditionals check that amount and restrict access to content based on it.

If you don't know how to achieve that, you can post a job to hire a freelance developer. viewforum.php?f=37

Still, if it's a subscription and they then modify the amount in their PayPal account, I believe you'd have to adjust the donated amount manually in their profile. Or maybe it can be automated via PayPal's IPN, I'm not sure.

I hope that helps.
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: Exabot [Bot], Google [Bot] and 1 guest

cron