Page 1 of 1

Using s2member levels as credits

PostPosted: August 14th, 2011, 8:54 pm
by randomskate1
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

Re: Using s2member levels as credits

PostPosted: August 15th, 2011, 4:23 pm
by Cristián Lávaque
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.