Thanks for the help I think this is the way foreward.
However in this way the customer still is not automatically billed after 7 days (he has to click the Subscriber Modification button). I want him to be billed automatically after 7 days, this is what I did now:
– Configure Level 1 to allow 3 Downloads every 7 days. (he gets first 7 days for free, after he is billed 50 dollar)
– Configure Level 2 to allow 999999999 Downloads every 365 days (unlimited downloads) (Normally costs 50 dollar)
<?php if (current_user_is("s2member_level1") && S2MEMBER_CURRENT_USER_REGISTRATION_DAYS < 7){ ?>
You are in trial period
<!--This will show if the current user is a member level 1 AND they have been registered for less than 7 days, he is in the trial period and did not pay yet, and has 3 downloads for 7 days.-->
<?php } else if (current_user_is("s2member_level1") && S2MEMBER_CURRENT_USER_REGISTRATION_DAYS >= 7 { ?>
<!--This will show if the current user is a member level 1 AND they have been registered for more than 7 days, he has passed the trial period did pay 50 dollar but still has 3 downloads for 7 days. Now he gets a Subscriber Modification button to upgrade to level 2 which also costs 50 dollar (No extra costs only change in membership level)-->
Your trial period is over and you can upgrade for free to a Unlimited membership by clicking the button below
(BUTTON)
<?php } else { ?>
Some public content.
<?php } ?>
This works, however you can understand it is not a realy fancy solution as the customer is directed to Paypal to change subscription/payment details although he already paid; this is confusing.
My question: Is it possible to create a button that only changes the s2membership (from level 1 to level 2) without being redirected to Paypal and having to change payment details?
THANKS for your help!!