Closed (fixed)
Project:
Ubercart SSL
Version:
7.x-1.01
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2011 at 15:39 UTC
Updated:
30 Nov 2012 at 10:29 UTC
With Ubercart SSL enabled and switching turned on, the AJAX on my checkout form breaks. If I disable the module or turn off switching, the form functions normally.
Log messages related to AJAX:
Originally posted here before determining it was the Ubercart SSL module.
Comments
Comment #1
satter9 commentedYes, I am having the same issue. Once I installed Ubercart SSL the calculation of shipping will cause an ajax error message. Any guidance is is appreciated.
Thanks
Nils
Comment #2
pkchoo commentedI am having the same issue. I have to use securepages instead until this gets fixed.
UC SSL was working correctly on my site, but while doing some testing, I disabled it, enabled SecurePages, disabled SecurePages again, and re-enabled UC SSL...
I noticed that the Ubercart_SSL settings was not showing up in the admin menu, though I could access it directly (www.mysite.com/admin/settings/uc_ssl). It did seem to function properly, until I received a call from the client pointing out this ajax error on the checkout page.
Any recommendations for a fix would be greatly appreciated. I would much prefer to use this module over securepages.
Thanks.
Comment #3
larynI don't have a solve, but if you turn switching off for now it seems to work for me (people just get a lot more secure pages than they would otherwise...but I may leave it this way after all).
Comment #4
ecbromley commentedLet me preface this with the fact that I'm pretty new to this and what I've done may be completely wrong....
However, I was having the same issue, so I commented out 'Exclude Ajax' => '*ajax*', from the module and now I don't receive the ajax error. Keep in mind I don't know what the reason was for excluding ajax in the first place or the ramifications of not excluding it.
Comment #5
wiherek commentedthanks for that solution.
Comment #6
saratt commentedEven I am having the same issue, so I commented out 'Exclude Ajax' => '*ajax*', which stopped the ajax error from appearing, but now I am having a different issue, the checkout button on the checkout page doesn't work (clicking on the button takes me to the same page). Login also doesnt work. I am not sure if all these issues are related though.
Comment #7
3cwebdev commentedSame issue. Having to switch to Secure Pages for now.
Comment #8
tommyallen789 commentedSimilar issues.. is frustrating as Secure Pages is causing certain problems ("TOO MANY RE-DIRECTS" and frequent cookie problems for ubercart). Whereas the Ubercart SSL module seemed to work great, but with "switching" on, it causes constant AJAX errors on the checkout page, stopping any checkouts from happening. If "switching" is OFF, it seems to work fine, BUT I have a main feature of watching an embedded Vimeo video, which will only work with HTTP (non-secure). So if "switching" is off, then some people will try and access that using HTTPS and the video will fail. So which of the 3 issues is easier to fix... not sure.
Comment #9
john harvey commentedI had the same issue but commenting out 'Exclude Ajax' => '*ajax*' appears to do the trick. Other than this, this module does exactly what it says it does. Any chance of an update on this?
Comment #10
crystaldawn commentedThese options are from the D6 version of the module. It's possible that these quirks have been resolved with D7 so I am going to disable them in the D7 version and see how things go. These were here previously because ajax was not able to communicate over ssl for some reason in D6. So as a quick fix, I added them to the excludes and they got carried over into D7. I've never had issues with it myself, but if people seem to be running with these removed, it may be time to remove them. They are now removed in the new releases.
Comment #10.0
crystaldawn commentedAdding link to original post in Ubercart issue queue.