latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Coupon Code Help

Home Forums Community Forum Coupon Code Help

This topic contains 3 replies, has 2 voices. Last updated by  Zechariah Stover 3 years, 3 months ago.

Topic Author Topic
Posted: Friday Sep 27th, 2013 at 1:49 am #59932

How can I create a coupon code that once used cannot be used by the same subscriber or email address again. The problem we are having is that level 1 members are letting their accounts expire and being demoted back down to free subscribers. They then go back through and get the trial again for 1.00. Right now we are using the Auth.net pro form with a trial attached.

So without there being a solution for that kind of loophole we are thinking of changing to a “coupon code” based trial. However if they can do the same thing with that by letting their account expire and just sign up again with the coupon code it would defeat the purpose…

What is to stop someone from signing up for a membership with a free trial, canceling before the end of the trial and signing up for the trial again, over and over?

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Friday Sep 27th, 2013 at 12:10 pm #59951

I am working with this same problem and have not come up with a solution I am happy with yet.

The only thing I have thought of would only work with certain use cases.
The idea is to add a Custom Capability when they sign up for the free trial and not drop it if/when they cancel their account. Then use API Scripting to only display the free trial offer to people who have not already taken advantage of it.
This would be hard to implement if you are using advanced CC’s already.

Posted: Friday Sep 27th, 2013 at 12:26 pm #59954

I wonder if there is a way to make it so only those that have no email address associated with the site in the system would see the “trial” form. Then if their email address was in the system say as a “free” subscriber they would be directed to the “paid” form only…

Posted: Friday Sep 27th, 2013 at 12:37 pm #59956

Yes, using API Scripting:

Dashboard -> s2Member ->API/Scriptiong -> Simple/Shortcode Conditionals

On your page put the “trial” form inside a shortcode like this

[s2If !is_user_logged_in()]

and the “paid” form inside a shortcode like

[s2If is_user_logged_in()]

This will make it so that if the user has an account on the system they will be shown the “paid” form and if they do not they will be shown the “trial” form.
Note: People will still be able to get around it by creating new accounts but there is not much we can do about that with this software.

Put together the page would look something like this:

[s2If is_user_logged_in()]
   //Content for users who already have an account in the system goes here.
   [s2Member-Pro-PayPal-Form level="2" ccaps="" desc="$20 USD / Monthly (recurring charge, for ongoing access)" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="pursuitathleticperformance.com" ta="0" tp="0" tt="D" ra="20" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /][/s2If]
[s2If !is_user_logged_in()]
   //Content for people who are new to the site goes here.
   [s2Member-Pro-PayPal-Form level="2" ccaps="" desc="30 Days free / then $20 USD / Monthly (recurring charge, for ongoing access)" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="pursuitathleticperformance.com" ta="0" tp="30" tt="D" ra="20" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]
[/s2If]
Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.