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™

How do I limit coupon to the FIRST payment only

s2Member Plugin. A Membership plugin for WordPress®.

How do I limit coupon to the FIRST payment only

Postby undergroundtalent » October 11th, 2011, 1:11 am

Hey There,

I am trying to apply a coupon - e.g couponname|25%|12/20/2011

It is working but what it's doing is giving 25% off ONGOING.

What I really need is for it to provide 25% of the initial payment and then charge the full rate on ongoing.

How do I do that?

Thanks

Michelle :)
User avatar
undergroundtalent
Registered User
Registered User
 
Posts: 10
Joined: September 25, 2011
Location: Australia

Re: How do I limit coupon to the FIRST payment only

Postby Eduan » October 11th, 2011, 6:41 am

The initial payment would be the trial? Or am I mistaken?
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: How do I limit coupon to the FIRST payment only

Postby Cristián Lávaque » October 11th, 2011, 2:22 pm

Yes, it's called trial (free) or initial (paid).

Michelle, the coupons documentation mentions an attribute you can set so the discount is only applied to the trial amount. WP Admin -> s2Member -> Pro Coupon Codes -> ta-only

I hope this 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

Re: How do I limit coupon to the FIRST payment only

Postby undergroundtalent » October 23rd, 2011, 6:01 pm

Hey Guys

Thanks so much for your help on this (sorry I didn't respond and say thank you earlier I have been swamped with another music project - 2500 original song entries for a song contest we're running here in Oz!).

I had actually tried the ta-only tag but it wasn't working. So then I went back and had another look after your comments and it turned out that I just needed to update the ta shortcode in the forms to reflect correctly.

However, when I updated it to the same amount as the RA, it says that your TA amount cannot be the same as your Regular Amount.

The way I have got around it for now is to make the amount 1 cent less, that way it takes the 25% off the regular amount for 1 year and then the full amount for every year beyond that.

The form code is then as follows:
[s2Member-Pro-PayPal-Form level="3" ccaps="" desc="Working Professional - $120AUD Inc. $10.90 GST (Annual recurring charge)" ps="undergroundtalent" lc="" cc="AUD" dg="0" ns="1" custom="www.underground-talent.com" ta="119.99" tp="1" tt="Y" ra="120.00" rp="1" rt="Y" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="1" default_country_code="" captcha="0" success="/success/" /]

And the coupon short code is as follows:
catapult|25%|12/20/2011|ta-only

So if anyone is having this issue that's a possible solution. Hope this helps others :D
User avatar
undergroundtalent
Registered User
Registered User
 
Posts: 10
Joined: September 25, 2011
Location: Australia

Re: How do I limit coupon to the FIRST payment only

Postby Eduan » October 23rd, 2011, 6:11 pm

Hey thanks!
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron