Closed
Description
Steps to reproduce
- Load an M2 store inside an Iframe in IE11
- Try to add a product to the cart
Expected result
The product is added to the cart
Actual result
The product isn't added to the cart and the "Add to cart" button stays grayed out saying "Adding...".
I've tracked the problem down to the form key Validator
returning false because the request's form_key
is different from the session's.
Some additional info:
- The Iframe is on a different origin than the page that contains it. (I commented out
Header set X-Frame-Options SAMEORIGIN
in pub/.htaccess) - Both the containing page and the Magento store inside the Iframe are served via HTTPS.
- In Chrome it works fine.
I know we're doing something pretty particular here, but maybe someone can help me anyway.