checkout form and payment option is not loading checkout page in iframe
-
Hello,
I have one Woocommerc website https://wordpress-922863-4276849.cloudwaysapps.com/ this is site URL.
now I want to open this site in an iframe on another site at https://lujayninfoways.a2hosted.com/blinkifram/. I have added an iframe code to this site.
so the site is working but we are not able to fetch checkout page details due to some error in some plugin privacy.
so is there any way to open a woo-commerce site in an iframe without any conflict or any plugin restriction?
we are found this on google
If you are trying to load the cart/checkout page of your website (Ex: abc.com) on another website (Ex: xyz.com), the website abc.com will block requests from xyz.com due to the CORS policy.
WooCommerce protects the checkout page from being included in an iframe by other websites/domains. (by setting X-Frame-Options directive to SAMEORIGIN)
I wouldn’t recommend loading the checkout page this way, because even if you achieve it by modifying the CORS headers, the payment gateway might fail.so how can we solve this error?
The page I need help with: [log in to see the link]
- The topic ‘checkout form and payment option is not loading checkout page in iframe’ is closed to new replies.