Window.parent.postmessage is not working when URL direct happens

Using window.parent.postmessage(“message”, “*”) is not working when do the URL redirection. We are using the base URL and if we try to execute the post message from the base URL it’s working fine. But we have another two URL’s and if we redirect to base URL it’s not working just gives an undefined message in the console. Unable to debug or track the request.

Could someone help to fix this issue?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.