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

page direction from Paypal

Simple Membership Plugin › Forums › Simple Membership Plugin › page direction from Paypal

Tagged: page, redirect

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 5 months ago by inventorgeorge.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 11, 2015 at 1:42 am #4448
    inventorgeorge
    Participant

    This is coming together, one step at a time.
    I have the payment set up and working. But when Paypal sends the user back to my site, the user is directed back to the home page. I would prefer that the user go to a thank you page. How do I control that?

    Then, after he logs in, I need to control that page redirect. Right now, he also goes to the home page.
    I am searching all through both docs and plugin settings, but I do not see where URLs are controlled.

    December 11, 2015 at 1:49 am #4450
    mbrsolution
    Moderator

    Hi in regards to your first question carry out the following. This is for members who pay for registration and return back to the website.

    Add the following function to your theme function.php file.

    add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection');
    function sam_after_registration_redirection()
    {
    $url = 'http://www.yourwebsite.com/thank-you/';//TODO - Specify the URL that you want to redirect to
    wp_redirect($url);
    }

    For your second question you can use the following add-on.

    December 11, 2015 at 2:04 am #4453
    inventorgeorge
    Participant

    Again, thank you.
    The add-on works fine. as to the first part, I will attempt to do that as you say. I have zero HTML/CSS experience, so this may become a bit of trial and error. [I will back up the file before attempting this]

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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