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™

7+ day Trial

s2Member Plugin. A Membership plugin for WordPress®.

7+ day Trial

Postby totomobile » May 31st, 2011, 12:16 pm

Hi there, is it possible to offer a trial period which is more than 7 days without selecting weeks?
The reason is our client has already printed promotional materials which have a 15 day trial but we are not allowed to select this when creating a paypal pro form as it states you must choose weeks if it is 7+ days.

Is this a PayPal limitation or can I just change the tp="7" to tp="15" to get around this (in the code below)?

[s2Member-Pro-PayPal-Form level="1" ccaps="" desc="7 Days free / then $0.01 USD / Monthly ( recurring charge, for ongoing access )" ps="paypal" cc="USD" ns="1" custom="" ta="0" tp="7" tt="D" ra="0.01" rp="1" rt="M" rr="1" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

thanks
T
User avatar
totomobile
Registered User
Registered User
 
Posts: 20
Joined: September 22, 2010

Re: 7+ day Trial

Postby totomobile » May 31st, 2011, 5:36 pm

We did a test with 15 and it seems to work fine and paypal understands the code. This is what is shown in PayPal:

Payment type Initial Payment
Amount due $0.00 USD
Amount received $0.00 USD
Payment type Trial Period
Payment cycle Every 15 Days
Total cycles 1
Cycles remaining 1
...

So with that in mind, is there some other reason for the javascript on the form generator page which limits the number of days to 7?
User avatar
totomobile
Registered User
Registered User
 
Posts: 20
Joined: September 22, 2010

Re: 7+ day Trial

Postby Cristián Lávaque » May 31st, 2011, 6:09 pm

I saw Jason reply this before:

Jason Caldwell wrote:[...] this *could* be made to work with PayPal Buttons too, but it gets really hairy, because with a PayPal Button, you're limited by restrictions to the number of days calculated in the rp="" Attribute. If that goes over 7 days, you have to change rt="" ( Recurring Term ) to W for weeks, or M for months, or Y for years. In other words, with Pro Forms, you can calculate everything in days, making it much easier to integrate this; but with Buttons, you'd need to calculate it out in very advanced ways.


So I'm guessing the pro-form just got the buttons JS for that to avoid confusion, or in case PayPal decided to be picky, or maybe to make it easier for people to set long periods (easier to say in weeks/months than days).

Anyway, I'm glad you tried it and it worked fine for you. :)
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: No registered users and 3 guests

cron