OK.
1. When i test the demotion occurs within 10-15min frpm elapsed time. Not 24h after elapsed time.
2. When i set up a S2 installation i have to be able to test the EOT and not wait 24h! That is why i ask how you test? There must be a bets practice for this…
One thing i have to mention is that the members of my installation registers for free so PayPal is not involved.
I set the EOT by using the S2 APi like so:
// Set the membership time. When the time expires the member gets role 'subscriber'
update_user_option(get_current_user_id(), 's2member_auto_eot_time', strtotime(date('Y') . '-12-31'));// Last day of current year