#Kit-Woms-CORS-terminal
1 messages · Page 1 of 1 (latest)
We're having a CORS issue when the reader is trying to connect in the stripe server.
What is the error specifically? Where are you seeing it?
Are you using the Server-driven integration?
Or one of the SDKs?
SDK
Which SDK are you using?
Sorry, going to need you to be a little more specific. We have 3 Terminal SDKs... a JS SDK, iOS SDK, and Android SDK.
JS DSK
Thanks. And you see the error when you perform what request?
Sorry but this is the only error provided
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?
Yes when I called terminal.connecReader it triggers the CORS error
Can you share your code snippet for terminal.connectReader?
Thanks, looking
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
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.
Okay thanks.
Hey there 👋
Stepping in here
What kind of reader is it? Can you share the reader serial number?
can you share the full error message/trace?
This is the only error message provided, there is no message in preview and response tab
Not in the network tab but if you check the console tab, are you seeing any messages there?
what does your discoverReader method look like?