Community Support Forums — WordPress® ( Users Helping Users ) — 2011-04-12T21:29:43-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=3066 2011-04-12T21:29:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9630#p9630 <![CDATA[Re: How to set Paypal button with a fixed target expiration]]>
pwallin wrote:
It would be a one-time prepayment in full, which is equivalent to 10 monthly payments. Everyone who chooses this option will have their subscription expire on Dec 31, 2012.

Thus, if one person joins today and another joins a month from now, they will both pay the same one-time fee; and both their subscriptions will expire on the same day (Dec 31, 2012).

So I'd like to make a Paypal button for that.

Ideally I'd also like to automate a notification near the time of expiration, alerting prepaid members that their subscription will automatically renew on Jan 1, 2013, but will switch to monthly payments.

I think I can send this notification through my aWeber account if I have the prepaid members in a separate list, even though they are at the same Level 1 as those who opted to pay the regular monthly fee.

Or does S2 member have this capability? If so, would it make sense to create a Level 2 membership (for prepaids) that has identical access as Level 1? That way it would be easy to identify who gets notified on Dec 31, 2012.

I recommend the solution that I offered here.
( yes, this requires s2Member Pro, available here )

* Note. As Cristián mentioned, 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.

Statistics: Posted by Jason Caldwell — April 12th, 2011, 9:29 pm


]]>
2011-04-12T21:20:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9629#p9629 <![CDATA[Re: How to set Paypal button with a fixed target expiration]]> Thanks for bringing this to my attention Cristián.
pwallin wrote:
Thanks Cristián. With S2member Pro, do I have to use Paypal Pro? I prefer to use Paypal standard, with the enhanced recurring billing option for subscribers who don't have or want a Paypal account.

Sorry, in order to use Pro Forms in a way that does NOT require a Customer to have a PayPal account for recurring charges, you would need to have an actual PayPal Pro account. Highly recommended in general.

As described here, you do NOT need to have a PayPal Pro account to use Pro Forms. They can be used in combination with PayPal Express Checkout instead. However, this would require your Customers to have a PayPal account then, because the Express Checkout option does NOT take advantage of ERP ( Enhanced Recurring Payments ). Express Checkout is really intended as an option for Customers that prefer to pay with PayPal; and NOT as an all inclusive payment processing solution.

In other words, if you're currently paying for ERP, your next upgrade should be stepping up to PayPal Pro, and then you can ditch the ERP service all together. In fact, PayPal will not allow you to upgrade to PayPal Pro until you stop using ERP. These two services are mutually exclusive.

Sorry, but hopefully that clears up any confusion at least.

Statistics: Posted by Jason Caldwell — April 12th, 2011, 9:20 pm


]]>
2011-04-12T20:39:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9623#p9623 <![CDATA[Re: How to set Paypal button with a fixed target expiration]]> Statistics: Posted by Cristián Lávaque — April 12th, 2011, 8:39 pm


]]>
2011-04-12T20:08:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9619#p9619 <![CDATA[Re: How to set Paypal button with a fixed target expiration ]]> Statistics: Posted by pwallin — April 12th, 2011, 8:08 pm


]]>
2011-04-12T19:11:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9608#p9608 <![CDATA[Re: How to set Paypal button with a fixed target expiration]]>
pwallin wrote:
It would be a one-time prepayment in full, which is equivalent to 10 monthly payments. Everyone who chooses this option will have their subscription expire on Dec 31, 2012.

Thus, if one person joins today and another joins a month from now, they will both pay the same one-time fee; and both their subscriptions will expire on the same day (Dec 31, 2012).

So I'd like to make a Paypal button for that.


You could make a button where the trial is the time until the date you want (Dec 31, 2012) and the monthly payments kick in after that. You can use some code like the one Luc shared (thanks Luc!) to calculate the days left.

This post by Jason may help you, the difference with that example would be that you'd set the variable in the trial term attribute. viewtopic.php?f=4&t=2878&p=9025#p9025

You can customize the trial term like this when using the PayPal Pro-Forms that come with s2Member Pro. WP Admin -> s2Member -> PayPal Pro-Forms

pwallin wrote:
Ideally I'd also like to automate a notification near the time of expiration, alerting prepaid members that their subscription will automatically renew on Jan 1, 2013, but will switch to monthly payments.

I think I can send this notification through my aWeber account if I have the prepaid members in a separate list, even though they are at the same Level 1 as those who opted to pay the regular monthly fee.

Or does S2 member have this capability? If so, would it make sense to create a Level 2 membership (for prepaids) that has identical access as Level 1? That way it would be easy to identify who gets notified on Dec 31, 2012.


Yeah, I'd do the notification with a server list like AWeber, s2Member doesn't have a built-in notification like that when near an EOT right now. WP Admin -> s2Member -> API / List Servers


I hope that helps. :)

Statistics: Posted by Cristián Lávaque — April 12th, 2011, 7:11 pm


]]>
2011-04-11T12:03:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9487#p9487 <![CDATA[Re: How to set Paypal button with a fixed target expiration]]>
If you enable the pro forms you see an extra option in the s2member option menu.

~ Luc

Statistics: Posted by lucjager — April 11th, 2011, 12:03 pm


]]>
2011-04-11T11:57:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9486#p9486 <![CDATA[Re: How to set Paypal button with a fixed target expiration ]]>
And where would I find the pro forms? (Sorry for my ignorance. I'm new at this.)

Statistics: Posted by pwallin — April 11th, 2011, 11:57 am


]]>
2011-04-11T10:14:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9485#p9485 <![CDATA[Re: How to set Paypal button with a fixed target expiration]]>
1. Install the php execution plugin
2. add this above the pro forms in s2member:

Code:
<?php
$now 
strtotime("now");
$fixed_time strtotime("31 December 2012");
$days_until_fixed_time round(($fixed_time $now) / ($seconds_in_one_day 86400));
?>


And use this code for the fixed date: Note place it in the rp="" and change tt="D" -> for days

Code:
<?php echo $days_until_fixed_time?>


//*****Example*******\\
Code:
[s2Member-Pro-PayPal-Form level="2" ccaps="" desc="your decription" ps="paypal" cc="EUR" ns="1" custom="yourdomain.nl" ta="0" tp="0" tt="D" ra="0.01" rp="<?php echo $days_until_fixed_time; ?>" rt="D" rr="BN" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]

Statistics: Posted by lucjager — April 11th, 2011, 10:14 am


]]>
2011-04-11T05:45:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9465#p9465 <![CDATA[Re: How to set Paypal button with a fixed target expiration ]]>
Thus, if one person joins today and another joins a month from now, they will both pay the same one-time fee; and both their subscriptions will expire on the same day (Dec 31, 2012).

So I'd like to make a Paypal button for that.

Ideally I'd also like to automate a notification near the time of expiration, alerting prepaid members that their subscription will automatically renew on Jan 1, 2013, but will switch to monthly payments.

I think I can send this notification through my aWeber account if I have the prepaid members in a separate list, even though they are at the same Level 1 as those who opted to pay the regular monthly fee.

Or does S2 member have this capability? If so, would it make sense to create a Level 2 membership (for prepaids) that has identical access as Level 1? That way it would be easy to identify who gets notified on Dec 31, 2012.

Statistics: Posted by pwallin — April 11th, 2011, 5:45 am


]]>
2011-04-10T22:43:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9444#p9444 <![CDATA[Re: How to set Paypal button with a fixed target expiration ]]>

I'm not sure if you want this to be a monthly payment or a payment in full until that date. Could you confirm?

Statistics: Posted by Cristián Lávaque — April 10th, 2011, 10:43 pm


]]>
2011-04-09T19:31:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3066&p=9425#p9425 <![CDATA[How to set Paypal button with a fixed target expiration date]]>
I have set up my Paypal button for the monthly payment option.

Is there a way to create a Paypal button for the prepayment option? The price would be the same, whether someone signs up next week or 3 months from now. But all such subscriptions will expire on Dec 31, 2012.

If this is possible, I'll need to send out a notification in Nov 2012 to all prepayment subscribers, to renew at the 2013 rate in January 2013. Is there an automated way to do this?

Thanks.
Pauline

Statistics: Posted by pwallin — April 9th, 2011, 7:31 pm


]]>