Shopify buy button code refused to connect at checkout

Hi,

I created a shopify buy button and copy and pasted the code to our wix website using a html code widget. Everything works well I add a product to my cart but once I’m ready to checkout I get a error stating refused to connect to our shopify store.

Anyone might be able to point me to what’s going on here. As it always worked before this.

Thanks

Tim

Hello @Tim902AdG ,

I hope you are well!

When the Buy Button script tries to open https://yourstore.myshopify.com/checkout, that checkout page cannot load inside the iframe due to Shopify’s security headers (X-Frame-Options: DENY / SAMEORIGIN).

Check if there is iframe: false code available.