Skip to content

V8 causes error with Square payment form #12151

Closed as not planned
Closed as not planned
@JLuse

Description

@JLuse

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react

SDK Version

8

Framework Version

No response

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

Reported by a customer who has mentioned the following:
upgrading to Sentry JS V8 breaks the Square payment form (square.js) because they have this line in their code:

!!(t && t.__SENTRY__ && t.__SENTRY__.hub) && !qe(e).isOlderThan(Me) || Ve(e, new je),

And isOlderThan is no longer exposed in v8.

Example in support ticket - https://sentry.zendesk.com/agent/tickets/121772

Expected Result

SDK to work with Square forms

Actual Result

Error occurs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: reactIssues related to the Sentry React SDKStale

    Type

    Projects

    Status

    Waiting for: Community

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions