This topic contains 3 replies, has 2 voices. Last updated by Cristián Lávaque 4 years, 1 month ago.
Topic Author | Topic |
---|---|
Posted: Tuesday Nov 27th, 2012 at 2:34 am #32664 | |
Hello there, I am currently testing the plugin against PayPal’s sandbox. I canceled a paying member (level 1, 2 or 3) subscription using the associated PayPal Pro form. However, when I go to the dashboard and view the users who canceled, they still have their “old” subscription level. Is this so because they still have some time left to access the site despite canceling the subscription (i.e. they subscribed for a month access with recurring fees on Nov 1st, and canceled on Nov 15th – still can access till the end of the month)? If this is the explanation, then this brings up another question: what if I need to test whether the user is currently a paying subscriber or not, AFTER they canceled the subscription? As an example, in the “My Account” module, I would only want to show the “Cancel my subscription” link if the user is currently a paying member, and I do this using PHP conditionals. However, given the s2Member behavior described above, a subscriber that canceled his membership is still considered s2Member Level 2 (as an example) until the end of his subscription term. So using current_user_is(s2member_level2) yields true, and I will show the “Cancel my subscription” link despite that there is no longer a subscription to cancel… So – is there a way to test whether a user is still considered a paying member, however his subscription status is “canceled”? this will be a great help for me. TIA. |