Use SSL not working on 3.2.7

02.01.2012 06:32
#1
rjacques
Joomshopping forum user no avatar
Name: Roger Jacques
02.01.2012
Posts: 4
Quote
Use SSL not working on 3.2.7

We recently purchased the Authorize.net extension, and need to run the checkout over SSL.

I've done upgrade installs to 3.2.7 (from 3.1.1) so that I could check "Use SSL."

'Use SSL' however, has no effect. The URLs for the checkout don't change to https, and the post forms still have http urls.

The cert is valid, if I manually change, or rewrite, the URL, the page is secure, but the form is not.

Any advice on how to get SSL working is appreciated, as the Authorize.Net extension is of no use.


Joomla: 1.6
JoomShopping: 3.2.7
PHP: 5.3
MySQL: 5
Website Url: www.traditionalstudies.org
 
02.01.2012 09:36
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16497
Quote
Aw: Use SSL not working on 3.2.7

http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/7/286.html

 
02.01.2012 16:51
#3
rjacques
Joomshopping forum user no avatar
Name: Roger Jacques
02.01.2012
Posts: 4
Quote
Aw: Use SSL not working on 3.2.7

Thank you for you quick response.

I followed the link, translated the post, and watched the movie.

The movie shows a user updating Joomshopping to 2.3.1, on Joomla 1.5.18 However, I am already on 3.2.7, under Joomla 1.6.


Is there another update beyond 3.2.7?

 
02.01.2012 20:24
#4
rjacques
Joomshopping forum user no avatar
Name: Roger Jacques
02.01.2012
Posts: 4
Quote
Aw: Use SSL not working on 3.2.7

I did some investigation to try and see what is happening.

When I check "Use SSL" every URL on the cart page becomes an absolute URL with https, except for the "Checkout" link. The "Checkout" link becomes an absolute URL with http.

<a href="http://test.traditionalstudies.org/store/checkout/step2?check_login=1">
Checkout <img src="https://test.traditionalstudies.org/components/com_jshopping//images/arrow_right.gif" alt="Checkout"></a>

Clicking "Checkout" takes the user out of SSL, of course.


Joomla: 1.6
JoomShopping: 3.2.7
PHP: 5.3
MySQL: 5
Website Url: test.traditionalstudies.org
 
03.01.2012 09:14
#5
rjacques
Joomshopping forum user no avatar
Name: Roger Jacques
02.01.2012
Posts: 4
Quote
Aw: Use SSL not working on 3.2.7

I traced the problem to a bug in Joomla 1.6.0


In joomla/methods.php, JRoute always adds a scheme of 'http' to ssl links:

$scheme = ($ssl === 1) ? 'https' : 'http'


$ssl is a string, the comparison to 1 is always false.

Thanks for your time.

 
Copyrights MAXXmarketing GmbH. All Rights Reserved