No SSL when leaving checkout/login

01.05.2012 11:31
#1
aze1234
Joomshopping forum user no avatar
Name: Aron
27.04.2012
Posts: 8
Quote
No SSL when leaving checkout/login

Hello,

I am trying to decide if JoomShopping is right for my webshop and so far all looked very good. It's easy to install, update and configure.
Unfortunately, there is one problem which I don't know how to solve. Could you tell me if it's possible to set this up correctly?

Background:
SSL is installed and working
I proceed to checkout and Joomshopping switches to https (SSL) correctly.

Problem:
When I leave the checkout phase I am still using https (SSL) and not switching back to http.

Is this default behaviour or could it be set up otherwise?


Joomla: Joomla! 2.5.4 Stable [ Ember ] 2-April-2012 14:00 GMT
JoomShopping: 5.3.10-1ubuntu3
PHP: Version 3.6.1
MySQL: 5.5.22-0ubuntu1
Website Url: only localhost for now
 
01.05.2012 12:39
#2
Dr.Rivera
Joomshopping forum user no avatar
Name: Jürgen
13.09.2010
Posts: 2251
Quote
Aw: No SSL when leaving checkout/login

Hello,

I´m not sure, but maybe it could help this plugin:

http://extensions.joomla.org/extensions/site-management/url-redirection/11326


It is a litte bit work to integrate all URLs in the list, but the advantage is, that the shop is not completely https (I think it is than faster as the whole website is ssl).

So if the site after buy not in this list, you do not see https, I hope so.

Or the problem is in the cache?


Greetings


Letzte Änderung: 01.05.2012 12:41

Nicht ganz aktuell, aber vielleicht doch noch für einige hilfreich, das E-Book Joomshopping.
Bei Amazon (kindl) und xinxii (ePub):

http://www.amazon.de/JoomShopping-Joomla-Shop-Online-Shop-ebook/dp/B005L9D8MC

http://www.xinxii.com/joomshopping-der-joomla-shop-p-339561.html
 
01.05.2012 12:49
#3
aze1234
Joomshopping forum user no avatar
Name: Aron
27.04.2012
Posts: 8
Quote
Aw: No SSL when leaving checkout/login

That was a quick answer. Thank you.

I will try out the plugin. There are actually quite a few page URLs to copy into the use SSL section as it is a multilanguage shop.
I was hoping for an easier way it could be set up out of Joomshopping, but I guess that's wishful thinking :-)

Anyway, thank you again. The plugin really looks promising...

 
02.05.2012 08:15
#4
aze1234
Joomshopping forum user no avatar
Name: Aron
27.04.2012
Posts: 8
Quote
Aw: No SSL when leaving checkout/login

I've got it working now.
It's a two pronged solution.

1) I used the plugin suggested by Dr. Rivera (http://extensions.joomla.org/extensions/site-management/url-redirection/11326). In this plugin I basically set only 2 things: the default Joomla Login Menu items to enable and the whole com_jshopping to ignore. All other menut items will now automatically always use http rather than https (SSL).

2) I made a change to Joomshopping itself. In components/com_jshopping/lib/functions.php I changed the default value of function SEFLink from $SSL=0 to $SSL=-1. This changed the behaviour of the function called inside to force either https (SSL) or http. With 0 the behaviour is either force https (SSL) or do not change anything.


The solution now works very well for me as I have said. My question is, would this be something that is useful for others too? And if yes, would it be possible to have a configurabel parameter in Joomshopping to select $SSL=0 or $SSL=-1 behaviour from the configuration panel?

Thanks,
Aron

 
Copyrights MAXXmarketing GmbH. All Rights Reserved