Trial Period up to 365 days
-
Hey Guys.
First of all thank you for awesome plugin. Really love it.
My customer wants to have following scenario:
When somebody subscribes to a membership, first he pays 10$ subscription fee. In the end of the year, he is charged 30$ yearly fee. So basically, subscription fee is one time payment.
Yearly fee will be charged on the January 1st of every year.
Here is an example:
User 1 registers on May 15th 2014. He pays 10$. On January 1st of 2014 he will be charged 30$(yearly fee). On January 1st 2016 he will be charged 30$ again and so on.User 2 registers on November 3rd 2014. He pays 10$. On January 1st of 2014 he will be charged 30$(yearly fee). On January 1st 2016 he will be charged 30$ again and so on.
I wrote a php code in s2-hacks.php file. I followed this post:
https://www.s2member.com/forums/topic/date-based-eot-instead-of-fixed-duration/
Had to modify it a little bit though.
Now when somebody registers his tp attribute is set to the number of days left till the end of the year. However, it seems that PayPal doesnt let to have more than certain amount of days and gives me an error:
Invalid first trial period. You must specify valid values for the A1, P1, and T1 parameters for a subscription.Is there anyway to overcome this problem?
PS. I am using free version of S2member. Do I need to update to S2member pro to get tp limit up to 365 days?
Thanks in advance!
- The topic ‘Trial Period up to 365 days’ is closed to new replies.