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

  1. nocanvas
    Posted 3 years 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)
            $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.


  2. PMPro-Lisa
    Posted 3 years ago #

    Hi nocanvas,

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


    Thanks for your help

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Paid Memberships Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic