• wordcrunch


    Expect to spend some time figuring out how to configure the plugin especially if you have requirements that are not exactly supported out of the box. Some of this is related to payment gateway requirements/procedures and beyond the control of the plugin authors, to be fair.

    • This topic was modified 12 months ago by wordcrunch. Reason: Support received. Issues resolved
Viewing 4 replies - 1 through 4 (of 4 total)
  • leoravera


    I can’t say anything about their support because I never had serious issues with the plugin, but I wonder what you mean with “we paid good money” since s2member is a one-time fee plugin and all other membership plugins cost twice his price, just for one year.

    Anyway good luck, I hope you will find the plugin right for your project.

    Plugin Author Cristián Lávaque


    Hi wordcrunch.

    The forum post you’re referring to was actually resolved via our helpdesk, that’s why it didn’t have a reply in the forum, as the original poster explained to you a moment ago. https://forums.wpsharks.com/t/fixed-subscription-renewal-date-with-1-year-term/3773

    I don’t find any post of yours in the forums, though, so I can’t answer your question there. I see you just joined a week ago. Could you point me to your question?

    I see that you want to set a fixed date for subscription renewal. That can be done for the first renewal, but not following ones. Regular terms in a subscription can’t be changed, so if you say it’s monthly, it renews monthly.

    What can be changed is the initial term (it’s the trial term, but you’re charging for it). This one can be 3 days if you want, and then the regular ones kick in. So if your fix date is in 2 weeks, you can make that initial term 14 days, and then the regular ones start from there (monthly or whatever you set it to).

    To adjust that initial term dynamically, you would need a bit of PHP that calculates the difference between the current time and the fixed date you want, and adjusts your s2 shortcode for the payment in the trial attributes of the shortcode.

    So you could do something like…

    $fixed_date     = 'March 20th';
    $amount_per_day = '0.50';
    $initial_period = ceil((strtotime($fixed_date) - time()) / DAY_IN_SECONDS);
    $initial_amount = ceil($initial_period * $amount_per_day);
    // Now configure your shortcode with the trial term and amount you calculated above.
    // The shortcode here has been abbreviated for clarity in this regard.
    echo do_shortcode('[s2Member-PayPal-Button ... ta="'.$initial_amount.'" ... tp="'.$initial_period.'" ... /]');

    It’s like this because payment gateways don’t let you change the regular term, that is established when the subscription gets created. We can use the trial term to play with this at the very beginning of the subscription, but not afterwards.

    I hope that makes sense and helps you. Let me know if you have other questions. 🙂

    Thread Starter wordcrunch


    Ok. Perhaps I jumped the gun, it felt like there was no way to get any kind of support – others working on the project have tried in the past to no avail but I don’t have their exact support request history. I’ll remove the review. Thanks for getting back to me!

    Plugin Author Cristián Lávaque


    No problem! I’m glad I could help.

    Let me know again in the future if you need help. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Learning curve, but adequate’ is closed to new replies.