The “Renew” button is shown on the Membership Levels page for non-recurring membership levels which have an expiration date.
If yours is a “recurring” membership then there will be no renew button
Since you have imported members, the code to display the renew button uses the member’s end date, so ensure that each member you have imported has an end date.
Thread Starter
sflwa
(@sflwa)
Pete –
1) Yes the memberships are recurring
2) Yes the memberships have an end date
3) There is no gateway transaction – So should I tell people to just enter their billing information and PMP will automatically charge the card on the renewal date??
Lets see what Jason says.
he is coming in more often now to check so he will have an answer for this…
Hopefully you can hold off for a day or two…
I’m having the same issue. I swear the ‘renewal’ button use to be there, but now I can’t find it anywhere.
I am testing with non-recurring memberships who are logged in and should be seeing ‘Renew’ as a button on the membership levels page. Instead, I just see a ‘Your Level’ button grayed out or ‘Select’ next to other alternative levels.
Did the latest update nuke the Renew button by accident? Please help!
I’m still trying to debug this, but I think the issue may be on line 225 of /paid-memberships-pro/includes/functions.php:
if( $now + ($days*3600*24) < strtotime( $level->enddate, $now ) )
This method returns false:
strtotime( $level->enddate, $now )
From what I can tell, $level->enddate is already a unix timestamp, and perhaps why the function is returning false for an error.
Thread Starter
sflwa
(@sflwa)
If you figure it out let me know as I have 2 sites with the issue right now
Hi
I have asked Jason to pop in and have a look. He will be able to give a definitive answer to all this..
Please bear with us until he can get here to help..
if you have ticked the “Notify me of follow-up posts via email” at the bottom you will be notify as soon as some one ( Jason) makes a new update in this post.
This is the fix from what I can tell.
Change that line to this:
if( $now + ($days*3600*24) > $level->enddate )
This checks to see if the membership expiration date is within the membership length. ie. If the expiration date is within 1 year, it’ll return true and show the ‘Renew’ option.
I hacked the plugin until a fix is released b/c my site is live and needs it too.
xzistance3 is right on this one. I’ve patched this here (https://github.com/strangerstudios/paid-memberships-pro/commit/63d32259d0eda09cb895c4c42bdf57ee230def63) and it will go out in v1.8.6.5 soon (maybe today).
How do members renew when I have their membership set to auto-renew but the auto-renew fails because the user’s card has expired. Is there a link for this scenario? Or do they simply re-purchase a membership? Will this create a new account for them or update the status of their existing account?
Thanks!
John Glynn