WordPress.org

Ready to get started?Download WordPress

Forums

Paid Memberships Pro
[resolved] pmpro-addon Confirmation page trouble (2 posts)

  1. nocanvas
    Member
    Posted 9 months ago #

    The section of the plugin that deals with showing purchased pages/posts does not seem to be working, checkout page

    Is there a way to manually call this function somewhere else in my template, or does anyone else have this issue?

    Also using stripe lite plugin, could the return url not get passed to that?

    Also , would be great if the names of the purchased pages / ids could be viewable within the reports or ordering on the backend.

    Code lines 386-420 of pmpro-addon-packages.php seem to be dealing with this, but do not work.

    /*
    Update the confirmation page to have a link to the purchased page.
    */
    function pmproap_pmpro_confirmation_message($message)
    {
        if(!empty($_REQUEST['ap']))
        {
            $ap = $_REQUEST['ap'];
            $ap_post = get_post($ap);
    
            $message .= "<p class=\"pmproap_confirmation\">Continue on to <a href=\"" . get_permalink($ap_post->ID) . "\">" . $ap_post->post_title . "</a>.</p>";
        }
        return $message;
    }
    add_filter("pmpro_confirmation_message", "pmproap_pmpro_confirmation_message");

    edit- I didnt see the links in the Member Links section on the membership account page. however, still need to find a way to redirect the customer after they make the one time purchase, back to the page they were on / have a link to it on the confirmatoin page.

    http://wordpress.org/extend/plugins/paid-memberships-pro/

  2. PMPro-Lisa
    Member
    Plugin Author

    Posted 9 months ago #

    Hi nocanvas,

    That plugin's not in the .org repository yet, so issues with it have to be handled on github.

    https://github.com/strangerstudios/pmpro-addon-packages

    Thanks for your help

Reply

You must log in to post.

About this Plugin

About this Topic