Page 1 of 1

Specific Time Frame Membership Options?

PostPosted: July 3rd, 2010, 5:03 pm
by snelson2678
How do I create a PayPal Button that Charges $97 for an initial 3 month period and then $37 a month thereafter? Can this be done in s2Member?

Re: Specific Time Frame Membership Options?

PostPosted: July 7th, 2010, 3:59 pm
by Jason Caldwell
Great question. s2Member will support a "paid" initial period, instead of just a free trial period. However, you'll need to use the full Button Code, instead of the Shortcode format. You can just change the a1,p1,t1 variables.

What you do is set the a1,p1,t1 variables in the Button Code. These are, (A)mount for Period1, (P)eriod for Period 1, and (T)erm for Period 1.

Period #1 will last for (3) (M)onths, and cost $97 initially:
Code: Select all
<input type="hidden" name="a1" value="97.00" />
<input type="hidden" name="p1" value="3" />
<input type="hidden" name="t1" value="M" />

Period #2 is recurring, and will be 37.00 every (1) (M)onth
Code: Select all
<input type="hidden" name="a3" value="37.00" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="M" />

Here is the full Button Code example, just to be thorough:
Code: Select all
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="example@example.com" />
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
<!-- Instant Payment Notification & Return Page Details -->
<input type="hidden" name="notify_url" value="http://www.example.com/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value="http://www.example.com" />
<input type="hidden" name="return" value="http://www.example.com/?s2member_paypal_return=1" />
<input type="hidden" name="rm" value="2" />
<!-- Configures All Of The Checkout Fields -->
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="custom" value="www.example.com" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="page_style" value="paypal" />
<input type="hidden" name="item_name" value="Subscription description." />
<input type="hidden" name="item_number" value="1" />
<!-- Customizes Prices, Payments & Billing Cycle -->
<input type="hidden" name="src" value="1" />
<input type="hidden" name="sra" value="1" />
<input type="hidden" name="a1" value="97.00" />
<input type="hidden" name="p1" value="3" />
<input type="hidden" name="t1" value="M" />
<input type="hidden" name="a3" value="37.00" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="M" />
<!-- Displays The PayPal® Image Button -->
<input type="image" alt="PayPal®" style="border:0;" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" />
</form>