• Resolved izulito

    (@izulito)


    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!

    https://www.ads-software.com/plugins/s2member/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi all,

    I’ve a similar problem, any word on this anyone ?

    Thank you!

    Plugin Author JasWSInc

    (@jaswsinc)

    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

    That’s a limitation in the PayPal Standard Button API unfortunately. The hack that you referenced only works with Pro-Form integrations in s2Member Pro, where you can set ANY number of days that you like. You can do this with PayPal Pro, Stripe (most popular), or Authorize.Net.

    See: https://www.s2member.com/ for more info.
    See also: https://www.s2member.com/contact/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trial Period up to 365 days’ is closed to new replies.