• Resolved niteshpandit

    (@niteshpandit)


    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]

Viewing 1 replies (of 1 total)
  • Hey there, @niteshpandit! Thanks for contacting us.

    To achieve that you would need fairly complex code customization.

    While we can’t provide support for code customization as per our support policy, we do our best to offer advice and direct you to appropriate resources.

    You can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there too.

    I’m going to leave it open for a bit to see if anyone is able to chime in and help you out further.

    Please let us know if there’s anything else we can do to help.

    Have a wonderful day!

Viewing 1 replies (of 1 total)
  • The topic ‘checkout form and payment option is not loading checkout page in iframe’ is closed to new replies.