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™

Payment Terms

s2Member Plugin. A Membership plugin for WordPress®.

Payment Terms

Postby mekipstrob » June 26th, 2011, 2:05 pm

Hello All.

I am trying to make the term of recurring payments be only 8 months (a monthly charge for a term of 8 months... not indefinite). I am also trying to pro-rate the billing amount based on when someone signs up. Example: It is a flat fee for for 8 months ($80 ... 8 x $10 payments) and if they sign up with only 6 months left the total would be still be $80 ( 6 x $13.33 payments).

I am wondering where I should hook into the on plugin to add these new payment options.

Thank you in advance for your help and advice.
User avatar
mekipstrob
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2011

Re: Payment Terms

Postby Cristián Lávaque » June 26th, 2011, 7:21 pm

You can change the shortcode values dynamically, this thread may help: viewtopic.php?f=36&t=1604
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: Payment Terms

Postby mekipstrob » June 27th, 2011, 11:26 am

That link is helpful and I understand the how to modify the shortcodes with php.

Is there documentation somewhere that describes what each hidden s2member form value in the paypal button code does? ra, a1, a3, p1, p3 etc.... pretty much every listed under the "<!-- Customizes Prices, Payments & Billing Cycle -->" section of the button code so that I can change these subscription variables.
User avatar
mekipstrob
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2011

Re: Payment Terms

Postby mekipstrob » June 27th, 2011, 11:31 am

i need to modify the values of these hidden input fields but need to know what each stands for:

<!-- Customizes Prices, Payments & Billing Cycle -->
<!--<input type="hidden" name="amount" value="0.01" />-->
<input type="hidden" name="src" value="1" />
<input type="hidden" name="srt" value="" />
<input type="hidden" name="sra" value="1" />
<input type="hidden" name="a1" value="0.00" />
<input type="hidden" name="p1" value="0" />
<input type="hidden" name="t1" value="D" />
<input type="hidden" name="a3" value="0.01" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="M" />
User avatar
mekipstrob
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2011

Re: Payment Terms

Postby Cristián Lávaque » June 27th, 2011, 4:52 pm

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: Payment Terms

Postby mekipstrob » June 27th, 2011, 5:36 pm

Thanks Cristian! Exactly what I was looking for.
User avatar
mekipstrob
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2011

Re: Payment Terms

Postby Cristián Lávaque » June 28th, 2011, 12:07 am

:)
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


Return to s2Member Plugin

Who is online

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

cron