WordPress.org

Ready to get started?Download WordPress

Forums

s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members)
[resolved] Setting up an EOT Membership subscription (6 posts)

  1. Bukco13
    Member
    Posted 1 month ago #

    I feel like the answer is probably staring me in the face because this seems like one of the basic functionalities of the s2Member plugin, but I've been searching for hours now and just can't find it.

    I'm trying to create a paid membership level on our site where paying gives you access to certain areas of the site for a year (after which your account will automatically renew). I've found the EOT settings and the Paypal button creation to enable purchase of these, but I can't seem to find how to integrate this with the user registration process. Ideally the user will fill out a form with his/her details and upon submission get taken to the Paypal checkout page. Upon payment confirmation in Paypal the user's account is created. When the user's subscription period is close to being up, then they will be notified via email that it will be renewed.

    I am currently using Gravity Forms and their User Registration add on for new users to create an account. If there isn't anyway to directly integrate into this, that's ok too. Just need someway to create this subscription system for now!

    Thanks.

    https://wordpress.org/plugins/s2member/

  2. Cristian Lavaque
    Member
    Plugin Author

    Posted 1 month ago #

    > I am currently using Gravity Forms and their User Registration add on for new users to create an account.

    You could have them register for free with that, and then once logged in, show them a PayPal button to upgrade their account. WP Admin -> s2Member -> PayPal Buttons

    If you want the payment to happen before signup, then you'll need to use the deafult wp-login.php registration, otherwise the account won't get the paid access he just paid for (Gravity Forms doesn't pick this up).

    > Ideally the user will fill out a form with his/her details and upon submission get taken to the Paypal checkout page.

    An s2Member pro-form using Express Checkout would do that.

  3. Bukco13
    Member
    Posted 1 month ago #

    Hi Christian,

    Thanks for the prompt support as always!

    Yeah, that's what I ended up doing was have people fill in the registration form through Gravity Forms, then create the confirmation text instruct them on how to complete the purchase. I then used the member level shortcode filter to show the custom Paypal button on the Welcome page ("My Profile" page) if the user is a free subscriber.

    You're definitely right about the ideal situation and the pro-form and Express Checkout sounds like it would do the trick. Taking out the extra steps would certainly make a more fluid experience. Does the s2Member pro come with any Gravity form integration? Because I think that would be a real selling point for the upgrade, particularly given how widespread Gravity Forms is.

    Also, as an aside, I was running into major problems with the Paypal button, both shortcode and manual code where I was getting an error from paypal (something about fields not being given proper values). Looked it up on your forums and it looks like it's caused by wordpress/theme/plugin content filters. Unfortunately, I couldn't change the theme or plugins, and turning off the wpautop filter didn't help either. Ended up having to put the button code in manually through the template files after the content was output and then use jquery to put the button into empty divs placed in the content after the page was loaded. Not a problem any more but just thought I'd bring it to your attention since I saw a couple threads about the problem as I was searching for a solution myself.

    Thanks again!

  4. Cristian Lavaque
    Member
    Plugin Author

    Posted 1 month ago #

    > Does the s2Member pro come with any Gravity form integration?

    None officially, I never had a copy of GF to play with. Jason may have some experience with them, though.

    > pro-form and Express Checkout sounds like it would do the trick. Taking out the extra steps would certainly make a more fluid experience.

    Yeah, it does help. The pro-form does the registration and on submit the user is taken to PayPal's site for checkout, and brought back to site after payment.

    By the way, talking about removing steps, to remove the login after registration you could try this: https://wordpress.org/plugins/wppc-registration-autologin/

    > error from paypal (something about fields not being given proper values)

    Had not heard about that one in a long time. Other than the things you mention, another to try is using raw tags around it.

    Or use a hack where the button is just a link to the shortcode outside that page. http://www.s2member.com/kb/clickbank-buttons-outside-the-site-with-s2member/ (I may write an article with the PayPal version of that, but I think you'll get the idea from it.)

    I hope that helps. :)

  5. Bukco13
    Member
    Posted 1 month ago #

    Great tip for the autologin plugin! I will definitely check that out. Thanks.

  6. Cristian Lavaque
    Member
    Plugin Author

    Posted 1 month ago #

    :)

Reply

You must log in to post.

About this Plugin

About this Topic