Using SSL in an embedded store with "same page Modal Dialog"

Started by Philipp82, August 01, 2017, 07:35:34 AM

Previous topic - Next topic

Philipp82

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

Basara

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

Philipp82

Brilliant I have switched over everything to https (including all embedded links) and now it works!

Thank you,

Philipp

Forum Rules Code of conduct
AbanteCart.com 2010 -