Page 1 of 1

PayPal Recurring ~ 2 Trial Periods?

PostPosted: April 26th, 2011, 1:23 pm
by hollybret
I would like to set up my membership rates at $197 per year, plus a one-time joining fee of $25. However, for the first 2 weeks, I'd like to offer a charter member rate of $97 per year, plus the $25 joining fee, with a recurring rate of $197 after the first year.

I can set this up as a button on Paypal directly, by saying I want the first trial period to be $25 for 1 day, then a 2nd trial period of $97 for 1 year, with a rate of $197/yr after that.

In s2Member, however, I only see one trial period option. How can I configure this?

Thanks!

Re: PayPal Recurring ~ 2 Trial Periods?

PostPosted: April 26th, 2011, 9:04 pm
by Cristián Lávaque
Hi!

Good question. s2Member's button generator doesn't support that, but I believe you could use PayPal's generated button if you want. Just generate a button with s2Member, then add the missing fields from PayPal's and run some tests.

Let me know if that helps. :)

Re: PayPal Recurring ~ 2 Trial Periods?

PostPosted: April 26th, 2011, 9:24 pm
by hollybret
Thanks, I tried that but the code that PayPal's buttons spit out are entirely different. Would there be a way to generate a button on PayPal and then incorporate that into the s2Member shortcode? Thanks for your help!

Re: PayPal Recurring ~ 2 Trial Periods?

PostPosted: April 26th, 2011, 10:28 pm
by Cristián Lávaque
Well, not into the shortcode, but you can work with the full code that the button generator also provides (right after the shortcode).

Although the forms are very different, you could recognize the input fields and see which you need to make it work the way you want.

Why don't you generate the button in PayPal and post it here so I take a look at it? Maybe I can help you a bit with that. viewtopic.php?f=36&t=2780

Re: PayPal Recurring ~ 2 Trial Periods?

PostPosted: April 26th, 2011, 10:45 pm
by hollybret
Here you go:

Code: Select all

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="W5SJUX7GG486N">
<input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/en_US/i/scr/pixel.gif" width="1" height="1">
</form>


Thanks!

Re: PayPal Recurring ~ 2 Trial Periods?

PostPosted: April 26th, 2011, 11:06 pm
by Cristián Lávaque
I see. They stored the parameters on their side and your form just has a reference to that:

Code: Select all
<input type="hidden" name="hosted_button_id" value="W5SJUX7GG486N">


Does it give you an option to output the full code of the button so we can look at all the parts?

Re: PayPal Recurring ~ 2 Trial Periods?

PostPosted: April 27th, 2011, 5:38 am
by hollybret
Unfortunately, no, PayPal does not. The only thing I could find is generic about the HTML variables:
https://merchant.paypal.com/us/cgi-bin/ ... 8A6HI00JQU

I appreciate any help you can provide!

Re: PayPal Recurring ~ 2 Trial Periods?

PostPosted: April 27th, 2011, 4:10 pm
by Cristián Lávaque
Found this thread on using buttons created in PayPal, that should help you with this. :)

viewtopic.php?f=4&t=309

Let me know if it helps.

Re: PayPal Recurring ~ 2 Trial Periods?

PostPosted: April 27th, 2011, 5:10 pm
by hollybret
Thanks very much. I'll give that a try.