Skip to content

Next 15: BasisTheoryApiError #1

@ashaller2017

Description

@ashaller2017

Seems no matter how I use the new react-elements in my nextJs app I always seem to hit

BasisTheoryApiError: The API is unreachable. Please check your connection or try again later.

I have updated my CSP policies following the guide.

const { bt } = useBasisTheory(basisTheoryApiKey, { // _devMode: true, // useSameOriginApi: true, // disableTelemetry: false, });

Tried to useSameOriginApi.

i believe it is coming from the iFrame when the postMessage occurs. Can you help explain what I can do to get this to work locally or should I revert to the old basis-theory-react package which was working.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions