Displaying contents of receipt_url within iframe

Hi There,

I have integrated with Square Terminal API and need to display the contents of a receipt_url within an iframe but it’s not allowing me . I am getting the following error when I inspect under chrome.

Is there a particular attribute of an iframe that I need to set so it will display ?


:wave: Unfortunately, the ability to display the receipt in an iFrame isn’t available but you can in a modal. :slightly_smiling_face:

Hey Bryan,

Ok… What do you mean in a Modal ?


A modal as in a dialog box/popup window that is displayed on top of the current page. :slightly_smiling_face:

Hi Bryan,

That is what I have been trying to do …

I was trying to display within an iFrame control within the popup modal dialog , setting the URL of the iframe to the receipt_url. MAybe I ned to use some other control or widget within the modal dialog??