Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Renew membership workflow
- This topic has 7 replies, 2 voices, and was last updated 13 years, 3 months ago by jomo5280.
-
AuthorPosts
-
August 24, 2011 at 2:09 pm #4141jomo5280Member
I have e-Member & e-Store working nicely with a 3 month “FREE” membership, whereas to gain access our prospective members take a quiz which shows them the sign up form on completion. Is there a way, after their membership expires, (using allow user sign-in with expired accounts) that i could redirect them to yet another one of our quizzes and they could hit a button (or something) that would re-activate (auto-renew) their account? (shortcode or php)
thanks!
August 24, 2011 at 9:31 pm #35845jomo5280MemberI guess i am just looking for the existing code that “if they make a paypal payment it renews their membership” so i can re-use to make it a user initiated button on a hidden page?
Again, thank you for your support and assistance. Both e-Store and e-Member are working awesome for us so far!
August 25, 2011 at 1:46 am #35846adminKeymasterYou can create a payment button and hook it to any membership level like you did for your other payment buttons. Then place this button on a page “Renew Membership” or something like that and use the URL of that page in the “Membership renewal Page” field in eMember settings.
Now your expired members will get a message that tells them to renew their membership and clicking on that message will bring them to this renew membership page where they can make a payment to reactivate their account.
August 25, 2011 at 9:46 am #35847jomo5280MemberThanks Key Master
The member won’t make an actual payment to renew – rather just complete a quiz we have made and then “allow” access to Renew. So I was just seeing if I could us the same functionally of making a payment to renew (but really not making a payment) and tricking system to think so to renew membership. I realize we would prob need to do it via php.
Thanks again.
August 26, 2011 at 12:42 am #35848adminKeymasterI added the following shortcode:
[wp_eMember_renew_membership_for_free]
This shortcode displays a “Renew” button that lets the logged in user to renew his/her membership account for free. Can be helpful when you want to offer some of your special members to be able to renew without actually paying for the membership.
Get a new build from here to use this shortcode:
August 26, 2011 at 2:42 am #35849jomo5280MemberAwesome! which file(s) did you modify that added that functionality?
(just so i know when i download the new build so i can incorporate with my existing revisions)
thanks!!
August 26, 2011 at 4:10 am #35850adminKeymasterwp_eMember1.php
August 26, 2011 at 4:16 am #35851jomo5280Membercool. looks like i have an older build – v6.7.1 – which is considerably different than the files you updated.
will it work if i add:
add_shortcode(‘wp_eMember_renew_membership_for_free’, ‘wp_eMember_renew_membership_for_free_handler’);
and the function:
function wp_eMember_renew_membership_for_free_handler($atts){
(and the rest of the function code)
am i missing anything?
again thanks for your help!
-
AuthorPosts
- You must be logged in to reply to this topic.