Recurring payment with ending date

If I want to setup a recurring membership for 12 months how do I setup the code? I do have s2member pro

thansk

Just go to the section on Pro forms for your preferred payment processor, and follow the instructions for generating a shortcode.

The descrptiion in the code says
desc="$10 USD / Monthly (recurring charge, for ongoing access)" how I can setup the code for the recurring for 1 year only.

It only says that because that’s what you selected. Just change the Monthly (recurring ... setting in the shortcode generator to Yearly (recurring ...

No it’s not what I want. I want to be able to charge monthly recurring for 1 year.
thanks

OK, now I understand. You’ll need to write some custom code for that.

Can you tell me how?

No. Frankly, I wouldn’t use an s2Member form to try to get what you want. This is really the territory of specialist forms plugins.

Hello, you have a PM.

Hi Agnes, use the ‘rrt’ tag, as explained here:

2 Likes

Hi,
As it is the same subject I think it is a good idea to post here.
I try to set my payment.
I would like the first payment to be 1.49 for 2 days (trial) and then 0.50 for 3 days (recurring payment).

Here is my code:
[s2Member-Pro-Stripe-Form level=“2” ccaps="" desc=“2 Days @ $1.49 / then $0.5 EUR / Daily (recurring charge, for 3 days)” cc=“EUR” custom=“mycustom” ta=“1.49” tp=“2” tt=“D” ra=“0.5” rp=“1” rt=“D” rr=“1” rrt=“3” coupon="" accept_coupons=“0” default_country_code=“US” captcha=“0” /]

The first payment is fine but the recurring payment is still running after 5 days. I thought with rrt=“3” I was supposed to have only 3 payment but I obviously missed something.
If anyone can help I would appreciate.
Thank you