WordPress.org

Support

Support » Plugins and Hacks » [Resolved] pmpro-addon Confirmation page trouble

[Resolved] pmpro-addon Confirmation page trouble

  • 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] pmpro-addon Confirmation page trouble’ is closed to new replies.