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™

Specific Time Frame Membership Options?

s2Member Plugin. A Membership plugin for WordPress®.

Specific Time Frame Membership Options?

Postby snelson2678 » July 3rd, 2010, 5:03 pm

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?
User avatar
snelson2678
Registered User
Registered User
 
Posts: 8
Joined: July 2, 2010

Re: Specific Time Frame Membership Options?

Postby Jason Caldwell » July 7th, 2010, 3:59 pm

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>
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests

cron