Hello,
We have updated s2member plugin. While our member renew an account using paypal, EOT date is 22 mar 2264.
FYI.,
We have set fixed EOT for 12/31/2019
Code:
$now = strtotime(‘now’); // The time now (in seconds).
$fixed_eot_time = strtotime('31 December '.date(‘Y’)); // Future time (in seconds).
$days_until_fixed_eot_time = round(($fixed_eot_time - $now) / DAY_IN_SECONDS);
echo do_shortcode('[s2Member-Pro-PayPal-Form modify="1" level="1" ccaps="" desc="$10 USD / One Time (for 1 year access, non-recurring)" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="www.domainname.org" ta="0" tp="0" tt="D" ra="10" rp="'.$days_until_fixed_eot_time.'" rt="D" rr="0" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" success="/thank-you/" /]');