Search Engine: Elastic

Article ID: 131890, created on Dec 11, 2017, last review on Dec 11, 2017

  • Applies to:
  • Operations Automation 7.2
  • Business Automation 7.2

Symptoms

Azure screen is not loaded when online store is shown in a frame of CCP (Home > System > Settings > Customer CP > Target(CCP v1) - correct link setup as described in https://kb.odin.com/en/131730 > Main Frame)

In browser debug console an error can be seen:

DOMException: Blocked a frame with origin "https://store.domain.com" from accessing a cross-origin frame.

where https://store.domain.com is a link to the store, while link of the control panel is based on different domain, e.g. https://controlpanel.com

Cause

The redirect is blocked by the browser, which does not support the redirect from one domainname to a different one in a frame.

Resolution

Change the configuration.

  1. On the brand currently used enable store: System > Settings > Brands > brand and set the link to control.panel/store
  2. Change the url in BA: Home > System > Customer CP > New Subscription (CCP v1), use https://control.panel/store/index.php?redirect=HOME&operationType=login&Token=@@User_Token@ instead of https://store.domain.com/index.php?redirect=HOME&operationType=login&Token=@@User_Token@

It does not break anything on https://store.domain.com/, it will still continue working as before, just a different url https://control.panel/store/ (with the same content) will be loaded when buying new subscription from CCP. This is the only correct way to load the store in a frame.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 31987597efff5a3a9ce779cc203bbe5e 5356b422f65bdad1c3e9edca5d74a1ae 1941880841f714e458ae4dc3d9f3062d ef171e3fccb12bd8e09076a7b49212c0 b2c3b33425dfc50c7d41a2efaa7f84f3

Email subscription for changes to this article
Save as PDF