I want the coupon to expiry after 6 months the customer start using it, not expire on specific date

How can i create a coupon that will be expire after 6 months from the time a customer start using it.

The expiry box in the Pro Form coupon code is about specific date(2/12/2019) but what if after 2 months our affiliate give this code to other customer, Then the 6 months coupon has already 2 months expired and the customer has now 4 months remaining which we don’t want.

Exactly how is s2Member supposed to know when an affiliate gives out a coupon code? If you can answer that question, I might be able to think of some direction for you to go in. Thanks in advance.

1 Like

May be you misunderstood my question or i asked it the wrong way. As you can see in stripe there is a system in which you create a coupon and tell the system that this coupon will be expire after 6 Months(not on specific date) from the day the customer start using it. I would like the same function in s2member coupon.

I was searching around and found out something about ra-only and ta-only but not sure how to use this directive properly. Thanks

‘ra-only’ and ‘ta-only’ have nothing to do with coupons.

I didn’t misunderstand your question, but the example you gave specifically mentioned another person giving your coupon to someone and it sounded like you want the coupon to expire 6 months after that happens. Again, how is s2Member supposed to know when that happens?

In any case, creating a coupon to expire six months after the code is created will require custom code. Creating a coupon that expires six months after it is given out by someone else will require custom code AND some fancy API footwork or some other method of informing s2Member the code has been issued.

1 Like