#Kit-Woms-CORS-terminal

1 messages · Page 1 of 1 (latest)

pulsar vale
#

Hi there! Tell me more about the issue specifically.

median gate
#

We're having a CORS issue when the reader is trying to connect in the stripe server.

pulsar vale
#

What is the error specifically? Where are you seeing it?

#

Are you using the Server-driven integration?

#

Or one of the SDKs?

median gate
#

SDK

pulsar vale
#

Which SDK are you using?

median gate
#

Terminal DSK

#

SDK I mean

pulsar vale
#

Sorry, going to need you to be a little more specific. We have 3 Terminal SDKs... a JS SDK, iOS SDK, and Android SDK.

median gate
#

JS DSK

pulsar vale
#

Thanks. And you see the error when you perform what request?

median gate
#

Sorry but this is the only error provided

pulsar vale
#

Okay but what is triggering that error? What step in your flow are you specifically hitting that error? You said "when the reader is trying to connect to in the Stripe server"... is that specifically when you are calling terminal.connectReader?

median gate
#

Yes when I called terminal.connecReader it triggers the CORS error

pulsar vale
#

Can you share your code snippet for terminal.connectReader?

median gate
pulsar vale
#

Thanks, looking

median gate
#

I think this is not a code issue. Because we have another branch that uses the same feature and their is no error when connecting to the reader

#

Is there any steps or network troublehsoot I need to go through?

#

By the way we are using Windos11 if it helps

pulsar vale
#

Thanks yeah the code looks fine.

#

I'm not too familiar with what could cause the CORS issue here, let me check with a colleague.

median gate
#

Okay thanks.

meager escarp
#

Hey there 👋
Stepping in here
What kind of reader is it? Can you share the reader serial number?

median gate
#

I don't have a serial number, but I think it s a verifone?

#

Verifone P400

meager escarp
#

can you share the full error message/trace?

median gate
#

This is the only error message provided, there is no message in preview and response tab

meager escarp
#

Not in the network tab but if you check the console tab, are you seeing any messages there?

median gate
meager escarp
#

what does your discoverReader method look like?

median gate