[Skip to main content](#vessel-content)

#   "accept terms and conditions" affects https

##

- **[ricm](/forum/user/13668-ricm "View ricm's Profile")**
- [![ricm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13668-ricm "View ricm's Profile") Topic Author
- [ Offline](/forum/user/13668-ricm)

Less More

- Posts: 36
- Thank you received: 0
-
-

13 years 6 months ago -  13 years 6 months ago [\#99715](#99715) by [ricm](/forum/user/13668-ricm "View ricm's Profile")  *["accept terms and conditions" affects https](/forum/3-bug-report/80545-accept-terms-and-conditions-affects-https#99715 "When a user clicks the &quot;Please accept the terms and conditions before proceeding&quot; link during checkout the https padlock changes to a warning on both chrome and firefox:  There are no other links on that page (e.g. in modules) to cause this: if the user does not view the T&amp;Cs the padlock remains unaffected. It looks as though the popup is using http.  I came across this whilst trying to change the popup to jcepopup to retain style formatting and thought it was something I had done. I removed the override completely, cleared the browser chache and noticed the original modal box did this too.  Hikashop starter 2.1.2 as at 17 April.  Exactly the same thing happens when the user clicks &quot;New&quot; (address).  Regards, Ric  Additional note: In chrome, inspecting the element reveals the link as:  On inspection this resolves to:  ... which is definitely https. Most curious.")* was created by *[ricm](/forum/user/13668-ricm "View ricm's Profile")*

When a user clicks the "Please accept the terms and conditions before proceeding" link during checkout the https padlock changes to a warning on both chrome and firefox:

[ ![2013-04-18&#95;092648.png](/forum/attachment/9709) ](/forum/attachment/9709 "...-18&#95;092648.png")

[ ![2013-04-18&#95;092734.png](/forum/attachment/9710) ](/forum/attachment/9710 "...-18&#95;092734.png")

There are no other links on that page (e.g. in modules) to cause this: if the user does not view the T&amp;Cs the padlock remains unaffected. It looks as though the popup is using http.

I came across this whilst trying to change the popup to jcepopup to retain style formatting and thought it was something I had done. I removed the override completely, cleared the browser chache and noticed the original modal box did this too.

Hikashop starter 2.1.2 as at 17 April.

Exactly the same thing happens when the user clicks "New" (address).

Regards,
Ric

Additional note: In chrome, inspecting the element reveals the link as:
Code:

&lt;a href="/index.php/component/content/article?id=107&amp;amp;tmpl=component" class="modal" rel="{handler: 'iframe', size: {x: 450, y: 480}}" target="_blank"&gt;Please accept the terms and conditions before proceeding&lt;/a&gt;

On inspection this resolves to:
Code:

https://somedomain.com/index.php/component/content/article?id=107&amp;tmpl=component

... which is definitely https. Most curious.

- [ ![2013-04-18&#95;092648.png](/forum/attachment/9709) ](/forum/attachment/9709 "...-18&#95;092648.png") [ ](/forum/attachment/9709?download=1 "...-18&#95;092648.png")
- [ ![2013-04-18&#95;092734.png](/forum/attachment/9710) ](/forum/attachment/9710 "...-18&#95;092734.png") [ ](/forum/attachment/9710?download=1 "...-18&#95;092734.png")

Last edit: 13 years 6 months ago by [ricm](/forum/user/13668-ricm "View ricm's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MDU0NS1hY2NlcHQtdGVybXMtYW5kLWNvbmRpdGlvbnMtYWZmZWN0cy1odHRwcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

13 years 6 months ago [\#99752](#99752) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["accept terms and conditions" affects https](/forum/3-bug-report/80545-accept-terms-and-conditions-affects-https#99752 "When a user clicks the &quot;Please accept the terms and conditions before proceeding&quot; link during checkout the https padlock changes to a warning on both chrome and firefox:  There are no other links on that page (e.g. in modules) to cause this: if the user does not view the T&amp;Cs the padlock remains unaffected. It looks as though the popup is using http.  I came across this whilst trying to change the popup to jcepopup to retain style formatting and thought it was something I had done. I removed the override completely, cleared the browser chache and noticed the original modal box did this too.  Hikashop starter 2.1.2 as at 17 April.  Exactly the same thing happens when the user clicks &quot;New&quot; (address).  Regards, Ric  Additional note: In chrome, inspecting the element reveals the link as:  On inspection this resolves to:  ... which is definitely https. Most curious.")*

If you have the "no ssl outside checkout" plugin published, unpublish it and try again.

It could be why you don't get the HTTPS when displaying the T&amp;C popup since it is not a HikaShop checkout page but a joomla article and thus not considered as a checkout page by that pugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MDU0NS1hY2NlcHQtdGVybXMtYW5kLWNvbmRpdGlvbnMtYWZmZWN0cy1odHRwcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ricm](/forum/user/13668-ricm "View ricm's Profile")**
- [![ricm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13668-ricm "View ricm's Profile") Topic Author
- [ Offline](/forum/user/13668-ricm)

Less More

- Posts: 36
- Thank you received: 0
-
-

13 years 6 months ago [\#99788](#99788) by [ricm](/forum/user/13668-ricm "View ricm's Profile")  Replied by *[ricm](/forum/user/13668-ricm "View ricm's Profile")* on topic *["accept terms and conditions" affects https](/forum/3-bug-report/80545-accept-terms-and-conditions-affects-https#99788 "When a user clicks the &quot;Please accept the terms and conditions before proceeding&quot; link during checkout the https padlock changes to a warning on both chrome and firefox:  There are no other links on that page (e.g. in modules) to cause this: if the user does not view the T&amp;Cs the padlock remains unaffected. It looks as though the popup is using http.  I came across this whilst trying to change the popup to jcepopup to retain style formatting and thought it was something I had done. I removed the override completely, cleared the browser chache and noticed the original modal box did this too.  Hikashop starter 2.1.2 as at 17 April.  Exactly the same thing happens when the user clicks &quot;New&quot; (address).  Regards, Ric  Additional note: In chrome, inspecting the element reveals the link as:  On inspection this resolves to:  ... which is definitely https. Most curious.")*

Yes I had that plugin enabled. I did what you suggested and the whole page now appears encrypted.

The downside is that the rest of the site assumess SSL. Is there a way of refrehing the checkout page or some other way to allow either popup to display without disabling the extremely useful "HikaShop no SSL outside checkout" plugin? Or allowing that plugin to ignore those two specific "articles"?

Thanks
Ric

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MDU0NS1hY2NlcHQtdGVybXMtYW5kLWNvbmRpdGlvbnMtYWZmZWN0cy1odHRwcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

13 years 6 months ago -  13 years 6 months ago [\#99790](#99790) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["accept terms and conditions" affects https](/forum/3-bug-report/80545-accept-terms-and-conditions-affects-https#99790 "When a user clicks the &quot;Please accept the terms and conditions before proceeding&quot; link during checkout the https padlock changes to a warning on both chrome and firefox:  There are no other links on that page (e.g. in modules) to cause this: if the user does not view the T&amp;Cs the padlock remains unaffected. It looks as though the popup is using http.  I came across this whilst trying to change the popup to jcepopup to retain style formatting and thought it was something I had done. I removed the override completely, cleared the browser chache and noticed the original modal box did this too.  Hikashop starter 2.1.2 as at 17 April.  Exactly the same thing happens when the user clicks &quot;New&quot; (address).  Regards, Ric  Additional note: In chrome, inspecting the element reveals the link as:  On inspection this resolves to:  ... which is definitely https. Most curious.")*

Change the line:
if ($app-&gt;isAdmin()) return true;

to: Code:

if ($app-&gt;isAdmin() &#124;&#124; $_REQUEST['tmpl']=='component') return true;

in the file plugins/system/nossloutsidecheckout/nossloutsidecheckout.php and that should do what you want.

Last edit: 13 years 6 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MDU0NS1hY2NlcHQtdGVybXMtYW5kLWNvbmRpdGlvbnMtYWZmZWN0cy1odHRwcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ricm](/forum/user/13668-ricm "View ricm's Profile")**
- [![ricm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13668-ricm "View ricm's Profile") Topic Author
- [ Offline](/forum/user/13668-ricm)

Less More

- Posts: 36
- Thank you received: 0
-
-

13 years 6 months ago [\#99797](#99797) by [ricm](/forum/user/13668-ricm "View ricm's Profile")  Replied by *[ricm](/forum/user/13668-ricm "View ricm's Profile")* on topic *["accept terms and conditions" affects https](/forum/3-bug-report/80545-accept-terms-and-conditions-affects-https#99797 "When a user clicks the &quot;Please accept the terms and conditions before proceeding&quot; link during checkout the https padlock changes to a warning on both chrome and firefox:  There are no other links on that page (e.g. in modules) to cause this: if the user does not view the T&amp;Cs the padlock remains unaffected. It looks as though the popup is using http.  I came across this whilst trying to change the popup to jcepopup to retain style formatting and thought it was something I had done. I removed the override completely, cleared the browser chache and noticed the original modal box did this too.  Hikashop starter 2.1.2 as at 17 April.  Exactly the same thing happens when the user clicks &quot;New&quot; (address).  Regards, Ric  Additional note: In chrome, inspecting the element reveals the link as:  On inspection this resolves to:  ... which is definitely https. Most curious.")*

I did that and the result is the same: defaulting to non-SSL on both "new" address and "accept T&amp;Cs".

Caution to anyone else trying this: if the code is cut and pasted, the "greater-than" symbol in "$app-&gt;isAdmin" might become "$app-&amp;gt;isAdmin". Just watch out for that.

Ric

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MDU0NS1hY2NlcHQtdGVybXMtYW5kLWNvbmRpdGlvbnMtYWZmZWN0cy1odHRwcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

13 years 6 months ago [\#99799](#99799) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["accept terms and conditions" affects https](/forum/3-bug-report/80545-accept-terms-and-conditions-affects-https#99799 "When a user clicks the &quot;Please accept the terms and conditions before proceeding&quot; link during checkout the https padlock changes to a warning on both chrome and firefox:  There are no other links on that page (e.g. in modules) to cause this: if the user does not view the T&amp;Cs the padlock remains unaffected. It looks as though the popup is using http.  I came across this whilst trying to change the popup to jcepopup to retain style formatting and thought it was something I had done. I removed the override completely, cleared the browser chache and noticed the original modal box did this too.  Hikashop starter 2.1.2 as at 17 April.  Exactly the same thing happens when the user clicks &quot;New&quot; (address).  Regards, Ric  Additional note: In chrome, inspecting the element reveals the link as:  On inspection this resolves to:  ... which is definitely https. Most curious.")*

The forum stripped the code. Try again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MDU0NS1hY2NlcHQtdGVybXMtYW5kLWNvbmRpdGlvbnMtYWZmZWN0cy1odHRwcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ricm](/forum/user/13668-ricm "View ricm's Profile")**
- [![ricm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13668-ricm "View ricm's Profile") Topic Author
- [ Offline](/forum/user/13668-ricm)

Less More

- Posts: 36
- Thank you received: 0
-
-

13 years 6 months ago [\#99801](#99801) by [ricm](/forum/user/13668-ricm "View ricm's Profile")  Replied by *[ricm](/forum/user/13668-ricm "View ricm's Profile")* on topic *["accept terms and conditions" affects https](/forum/3-bug-report/80545-accept-terms-and-conditions-affects-https#99801 "When a user clicks the &quot;Please accept the terms and conditions before proceeding&quot; link during checkout the https padlock changes to a warning on both chrome and firefox:  There are no other links on that page (e.g. in modules) to cause this: if the user does not view the T&amp;Cs the padlock remains unaffected. It looks as though the popup is using http.  I came across this whilst trying to change the popup to jcepopup to retain style formatting and thought it was something I had done. I removed the override completely, cleared the browser chache and noticed the original modal box did this too.  Hikashop starter 2.1.2 as at 17 April.  Exactly the same thing happens when the user clicks &quot;New&quot; (address).  Regards, Ric  Additional note: In chrome, inspecting the element reveals the link as:  On inspection this resolves to:  ... which is definitely https. Most curious.")*

Hello Nicolas,

You were spot-on! The code was indeed stripped; I'd spotted the one change but not the other.

The fix works: neither popup causes the page to fall out of SSL.

This might be a good inclusion in the standard release? It would certainly retain consistency of SSL throughout the checkout sequence.

I really appreciate your focused insight.

Best,
Ric

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MDU0NS1hY2NlcHQtdGVybXMtYW5kLWNvbmRpdGlvbnMtYWZmZWN0cy1odHRwcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

13 years 6 months ago [\#99812](#99812) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *["accept terms and conditions" affects https](/forum/3-bug-report/80545-accept-terms-and-conditions-affects-https#99812 "When a user clicks the &quot;Please accept the terms and conditions before proceeding&quot; link during checkout the https padlock changes to a warning on both chrome and firefox:  There are no other links on that page (e.g. in modules) to cause this: if the user does not view the T&amp;Cs the padlock remains unaffected. It looks as though the popup is using http.  I came across this whilst trying to change the popup to jcepopup to retain style formatting and thought it was something I had done. I removed the override completely, cleared the browser chache and noticed the original modal box did this too.  Hikashop starter 2.1.2 as at 17 April.  Exactly the same thing happens when the user clicks &quot;New&quot; (address).  Regards, Ric  Additional note: In chrome, inspecting the element reveals the link as:  On inspection this resolves to:  ... which is definitely https. Most curious.")*

It will of course be in next version.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84MDU0NS1hY2NlcHQtdGVybXMtYW5kLWNvbmRpdGlvbnMtYWZmZWN0cy1odHRwcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.201 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
