Skip to content

Consider window.parent when iframe URL is a blob URL #244

Open
@Sidsector9

Description

@Sidsector9

We are trying to load Digital Wallets inside an iframe which has its src set to a blob URL.
Due to this, Square throws the following error:

WebSdkEmbedError: Web Payments SDK can only be embedded on sites that use HTTPS and have a secure context

Is it possible to consider window.parent when checking for protocol when the src of the iframe is a blob URL?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions