Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Email activation on plan upgrade

Simple Membership Plugin › Forums › Simple Membership Plugin › Email activation on plan upgrade

Tagged: activation auto-login

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 9 months ago by The Assurer.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 7, 2019 at 3:38 am #17286
    alt-tab
    Participant

    Hi there,

    Love the plugin and add-ons, can see a lot of thought has gone into it and it also shows in the code 🙂

    I’m trying to get a scenario working for me but am stuck.

    I want users to register before making a stripe payment. AFter the payment they will be upgraded from an initial free plan to a paid one and get access to paid content. I’ve followed the steps from your article here and it works, except I can’t get the users to activate their account by email after payment.

    So the following works right now:

    1. Register for free account
    2. Activate by email
    3. Manually Log In
    4. Redirect to Payment Page
    5. Make Payment in Stripe Pop up
    6. Redirect to paid content after successful payment

    What I want to happen is:

    1. Register for free account
    2. Auto login after registration and redirect to payment page
    3. Make Payment in Stripe Pop up
    4. Send activation email
    5. Click activation email to activate member in paid membership level
    6. Redirect to paid content

    No matter what settings I’ve tried, I can only get the activation to work the first way, by setting the activation required checkbox on the free plan. Only checking it on the paid plan doesn’t seem to do anything, and the experience is the user is activated straight away and logged in, without having to log in at all, and not getting any activation email.

    Here is my log file for the scenario that works without email activation even though it is checked on the paid plan

    
    ------------------------------------------------------------------
    [02/07/2019 3:09 AM] - SUCCESS: Member registration complete email sent to: johndoe@gmail.com. From email address value used: xyz <noreply@xyz.uk>
    [02/07/2019 3:09 AM] - SUCCESS: Auto login after registration feature is enabled in settings. Performing auto login for user: johndoe
    [02/07/2019 3:09 AM] - SUCCESS: Handling auto login request...
    [02/07/2019 3:09 AM] - SUCCESS: Auto login request completed for: johndoe
    [02/07/2019 3:09 AM] - SUCCESS: Updating the account status value of member (19) to: active
    [02/07/2019 3:09 AM] - SUCCESS: Member registration complete email sent to: johndoe@gmail.com. From email address value used: tabarruk <noreply@xyz.uk>
    [02/07/2019 3:09 AM] - SUCCESS: Admin notification email sent to: admin@xyz.uk
    [02/07/2019 3:10 AM] - SUCCESS: After login redirection addon. Checking if member need to be redirected.
    [02/07/2019 3:12 AM] - SUCCESS: Stripe Subscription IPN received. Processing request...
    [02/07/2019 3:12 AM] - SUCCESS: Sandbox payment mode is enabled. Using test API key details.
    [02/07/2019 3:12 AM] - SUCCESS: Stripe Subscription successful.
    [02/07/2019 3:12 AM] - SUCCESS: swpm_handle_subsc_signup_stand_alone(). Custom value: subsc_ref=3&user_ip=673.44.41.14&swpm_id=19, Unique reference: cus_EU1nbbIkJa4My
    [02/07/2019 3:12 AM] - SUCCESS: Modifying the existing membership profile... Member ID: 19
    [02/07/2019 3:12 AM] - SUCCESS: Setting access starts date value to: 2019-02-07
    [02/07/2019 3:12 AM] - SUCCESS: Updating the current membership level (2) of this member to the newly paid level (3)
    [02/07/2019 3:12 AM] - SUCCESS: swpm_membership_level_changed action triggered. Member ID: 19, Old Level: 2, New Level: 3
    [02/07/2019 3:12 AM] - SUCCESS: Retrieving user record for member ID: 19
    [02/07/2019 3:12 AM] - SUCCESS: Calling user role update function.
    [02/07/2019 3:12 AM] - SUCCESS: User role updated.
    [02/07/2019 3:12 AM] - SUCCESS: Member signup/upgrade completion email successfully sent to: johndoe@gmail.com
    [02/07/2019 3:12 AM] - SUCCESS: Transaction data saved.
    [02/07/2019 3:12 AM] - SUCCESS: Redirecting customer to: http://xyz.uk/members-area/?payment=done
    [02/07/2019 3:12 AM] - SUCCESS: End of Stripe Subscription IPN processing.
    
    ------------------------------------------------------------------
    

    Can anyone help or suggest things I can try or if I’m missing something? Or is this just not possible?

    February 7, 2019 at 7:34 pm #17294
    The Assurer
    Moderator

    The “complete registration” (it is NOT an “activation”) email is sent only at the time of initial registration. Any action that creates a free account, counts as “activation.” The difference between scenario 1 and 2, is that in #2, you “trust” the registered email address given is valid.

    Why do you want the member to revalidate their email address, in scenario 2?

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy