Author Topic: Using SSL in an embedded store with "same page Modal Dialog"  (Read 3218 times)

Offline Philipp82

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Using SSL in an embedded store with "same page Modal Dialog"
« on: August 01, 2017, 07:35:34 AM »
Hi,

I am using abantecart as an embedded store in my website and have set it to open as "same page Modal Dialog".

I would also like to enable SSL to make sure customer data is protected. The https connection seems to work if I use the embedding options "open in new page .." and https with secure connection is shown in the browser for my account and checkout pages.

However when I use the "same page Modal Dialog" the connection is not secure, I assume because my site from which the modal dialog is opened is not using a secure connection?

I would be happy to switch over the whole site to SSL and redirect any visitors to https right away. However, if I try this then the embedded links do not work anymore at all? (i.e. if i load my page as https://... then none of the embedded links open, no matter what embedding option i choose).

Is there a way to make this work? Do I need to change the embedded links to open them from the a secure connection?

Any help would be much appreciated.

Thank you,

Philipp

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Using SSL in an embedded store with "same page Modal Dialog"
« Reply #1 on: August 02, 2017, 01:20:16 AM »
Hi.

Modern browsers block cross-origin requests.
If you set your site to HTTPS you also need to change http to https in the embed code and of course enable SSL in AbanteCart store
« Last Edit: August 03, 2017, 01:46:23 AM by Basara »

Offline Philipp82

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Re: Using SSL in an embedded store with "same page Modal Dialog"
« Reply #2 on: August 02, 2017, 12:21:14 PM »
Brilliant I have switched over everything to https (including all embedded links) and now it works!

Thank you,

Philipp

 

Powered by SMFPacks Social Login Mod