• Resolved cysote

    (@cysote)


    I have a blank wordpress install with only two plugins installed, PMPro and Profile Builder. I inserted [pmpro_checkout] into a blank page and published it, and then I attempted to load the live page. The page is giving me a Too Many Redirects error when I try to visit it on the live site. I have SSL enabled across the website.

    There’s literally nothing on my site or wordpress install, why is this page giving me infinite redirects? Can I just disable redirects for a certain page, or something? This makes no sense, it’s just some shortcode and that’s it.

    Any help would be appreciated

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi @cysote,

    Thank you for using Paid Memberships Pro.

    Please can you login to your WordPress dashboard and navigate to ‘Memberships’ > ‘Payment Settings’.

    On this settings page, scroll near the bottom, and set force SSL to ‘No’. You do not need to do this since you are already using SSL on all pages.

    Please let me know if this helps.

    Thread Starter cysote

    (@cysote)

    Hi Andrew, thanks for the quick reply.

    When I navigate to this section of the plugin, I am given this message:

    “Your Site URL starts with https:// and so PMPro will allow your entire site to be served over HTTPS.”

    There is no option to select under Force SSL.

    Do you have any other suggestions? I am a C++ programmer, so I’m not afraid of looking through and editing code if there is something I could change that could fix this, I just have no experience with html/php and haven’t had enough time to look at things myself yet.

    Thread Starter cysote

    (@cysote)

    Quick update, I’ve traced the redirect issue to line 42 in the file /paid-memberships-pro/preheaders/checkout.php. Currently trying to figure out exactly what all this code does and then how to implement a good solution still.

    Let me know if you have any ideas, Andrew. Thanks.

    Thread Starter cysote

    (@cysote)

    So the real issue here seems to be that the Pages under Page Settings in the plugin need to have a page on the site set. In this case, the Checkout code was trying to redirect the user to the Levels Page on my site, but I had not yet set which pages was “levels” under the Page Settings menu. Once I did that, it correctly redirected me from Checkout to Levels without the infinite redirect.

    So, all pages under Page Settings must have a target page, which I didn’t know at the time. Otherwise, redirect loops can happen.

    Plugin Author Andrew Lima

    (@andrewza)

    Thank you for the feedback and sharing the solution that you have found.

    Have a great day further and please feel free to open a new support thread should you have any further questions. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Too Many Redirects on Checkout page’ is closed to new replies.