Hello, I am not sure if this is an issue with this module or with ssl in general but I just noticed that the AJAX used to display the order preview on the checkout page is not working properly. After filling out the delivery and billing fields and picking a shipping method, the total order preview does not refresh. I deactivated this module and the issue goes away. Any ideas what may be causing this?

Thank you for your time.

Comments

pnigro’s picture

After doing some more testing, I have determined that the AJAX for the order total preview is working, but is not displaying all of the entries. The shipping cost is shown, but not tax. I disabled this module and both shipping cost and tax are shown. Any help would be much appreciated.

Thank you

crystaldawn’s picture

Do you have any extra modules installed like FCK Editor or TinyMCE? I've seen instances where this caused a problem with the progress bars not working right (with SSL on) but I got those fixed up in the most recent release. I cant seem to replicate it with just a plain install. There must be something else you have installed that is using clean urls when it shouldnt be. All ajax calls should go to ?q= type urls. If they dont, then they can get messy with modules like this as well as other modules such as aliasing. If you can find which module is causing it then I can add a fix for it. But currently I have no troubles with FCK editor or the ajax progress bars. So what you need to do is to leave SSL on and then just disable modules that u think could be the cause of it like FCK, TinyMCE, etc and see if it works then. Keep disabling modules until you eventually find the one that is the root of the problem and then we can look at how to get it fixed.

pnigro’s picture

Thanks for getting back to me so soon. I do not have FCK Editor or TinyMCE installed, but I do have quite a few other modules. Disabling each one would take some time so I decided to do a clean install instead with the following:

drupal 6.16
ubercart 6.x-2.2
Token 6.x-1.12
Ubercart SSL 6.x-1.6

I enabled the following modules

Cart
Conditional actions
Order
Product
Store
Payment
Taxes

I added a tax rate along with a conditional action to apply the tax when the shipping state selected is Illinois. I then created a product, added it to the cart, and proceeded to checkout. When I selected Illinois as the delivery state, the progress timer activated and the total order preview displayed the tax.

I then enabled Ubercart SSL and entered the following settings:

Secure Domain Name:
https://www.something.com

NON-Secure Domain Name:
http://www.something.com

Ubercart SSL Status:
Enabled

Ubercart Non-SSL Switch:
Enabled

I went back to the checkout page and noticed that the URL was https://www.something.com/cart/checkout. I selected Illinois as the shipping state and noticed that the progress timer was not working. I filled out the rest of the delivery address form and checked 'My billing information is the same as my delivery information' and still no progress timer. Do you have any idea what may be causing this?

Thank you for your help

pnigro’s picture

As another test, I repeated what I wrote above and instead of installing Ubercart SSL I installed Secure Pages. I used the same secure and non-secure base paths as I did for Ubercart SSL. I selected Illinois as my delivery state and the progress timer worked and the tax was displayed under total order preview. Now I am really confused.

crystaldawn’s picture

Ok, so it has to do with the ajax progress bar and taxes then it sounds like. I am going to add a tax to my default install and see what happens.

crystaldawn’s picture

I was able to reproduce this using the Tax thing you described and I've developed a fix for it that should encompass more than just fixing tax progress bars, but any progress bar that doesnt correctly use the ?q= method. The updated version will be available in a few minutes.

crystaldawn’s picture

New release is available (6.x-1.9+) that fixes this progress bar bug with Taxes and anything else that uses POST type Ajax URLs without properly using ?q= type urls

pnigro’s picture

Status: Active » Fixed

Thank you so much

crystaldawn’s picture

Be sure to use 6.x-1.9. I've added a couple more elegant ways to handle ajax calls which fixes the admin_menu stuff as well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

summit’s picture

Bookmarking, greetings, Martijn

wiherek’s picture

Version: 6.x-1.6 » 7.x-1.01

That is not fixed in the 7 version. adding an ignore field - as in Secure Pages module would help.

---
Ok, i commented out
'Exclude Ajax' => '*ajax*',
in uc_ssl.module and it works fine now.

Found that solution here http://drupal.org/node/1322392#comment-5695696

I don't know why ajax was excluded either.