Forum | Really Simple SSL

http://https// Appended to Return URL

Home Forums General issues http://https// Appended to Return URL

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24109
    Kathy
    Guest

    Hi Rogier,
    Thanks for an awesome plugin! I thought everything was working perfectly, but just discovered an issue that our customers are having when trying to add an item to the shopping cart. Here’s what is happening…after placing an item in the shopping cart, the page that displays says “Server not found”. The return URL that it is trying to load is like this, for example:
    http://https//https://michigan-made.com/kristinandcompanycandles/kristin-company-candle-soy-18-oz-apothecary/?qty=2.00⊂=31.24&shp=0.00&dis=0.00&vch=0.00&tax=0.00&tot=31.24&unt=3.75&sd= (notice the http://https// appended to the front of the URL).

    We use Mal’s eCommerce and the product listings are hand coded. The shopping cart code has this as the return value when the “Add To Cart” button is clicked:
    <input name=”return” value=”http://michigan-made.com/kristinandcompanycandles/kristin-company-candle-soy-18-oz-apothecary/&#8221; type=”hidden”>

    ….but as you can see the return page appends the http://https// to the return url which results in “Server Not Found”.

    If the http:// is removed from the value, the return page displays fine. However we have thousands of listings, so changing the value would take quite some time. Is there anything that will “fix” the return page from appending the http://https// to the return URL?

    Kathy

    #24110
    Rogier
    Keymaster

    Hi Kathy,

    The mixed content fixer does a simple replace on http:// strings to https://. It does not seem likely this can cause such a URL to be generated.

    A quick look in your sourcecode confirms this: I can see the variable that is used for the return url is in the correct format:
    <input name="return" value="https://michigan-made.com/kristinandcompanycandles/kristin-company-candle-soy-18-oz-apothecary/" type="hidden">

    This value gets posted by a form that is wrapped around it:
    <form action="https://ww11.aitsafe.com/cf/add.cfm" method="post">

    So this form posts the correct value of the URL to https://ww11.aitsafe.com/cf/add.cfm
    There, presumably a script does some processing, and returns to the posted URL.

    I think that script is not handling the https url correctly.

    If this were done on your site, you could have used a filter or something to override it. But as the processing is done on the aitsafe server, you’ll have to contact them for support. It is possible you have to change a setting on that platform that will enable it for process https URL’s.

    Let me know if this helps!

    #24125
    Kathy
    Guest

    Thank you Rogier – I will check with Mal’s and let you know what he said.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘http://https// Appended to Return URL’ is closed to new replies.

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!

Integrate with Really Simple SSL

Really Simple SSL offers a Free SSL Certificate from Let’s Encrypt. Do you want to integrate with Really Simple SSL as a hosting provider? Let us know!

Choose the answer that most closely resembles your proposed integration. Additional information can be entered below.
After sending the form. The pop-up will close automatically.