- This topic has 2 replies, 2 voices, and was last updated 4 years, 7 months ago by Kathy.
January 29, 2017 at 1:57 pm #24109KathyGuest
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/” 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?
KathyJanuary 29, 2017 at 2:40 pm #24110RogierKeymaster
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!January 29, 2017 at 3:40 pm #24125KathyGuest
Thank you Rogier – I will check with Mal’s and let you know what he said.
- The topic ‘http://https// Appended to Return URL’ is closed to new replies.