#domhacking

1 messages ยท Page 1 of 1 (latest)

ashen pumiceBOT
slate knoll
#

Hello! Are there any more details in the error object?

left gate
#

No : {code: "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", message: "Unexpected failure"}
code: "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR"
message: "Unexpected failure"

#

Hi btw ๐Ÿ™‚

slate knoll
#

That's unfortunately not much to go on. ๐Ÿ˜… What Terminal SDK are you using, and what version?

left gate
#

This is on android with react native

#

"@stripe/stripe-terminal-react-native": "^0.0.1-beta.11",

#

Do you need any info?

slate knoll
#

Can you share the code that's throwing this error?

left gate
#

Yes

#

This is wha i am seeing in the logs when I press to connect to a reader

#

[Stripe terminal]: didFinishDiscoveringReaders {}
StripeConfig.js:41 onFinishDiscoveringReaders success
StripeTerminalProvider.tsx:83 [Stripe terminal]: didChangeConnectionStatus connecting
StripeTerminalProvider.tsx:83 [Stripe terminal]: didChangeConnectionStatus connected
StripeTerminalProvider.tsx:83 [Stripe terminal]: didChangeConnectionStatus notConnected
StripeConfig.js:56 connectBluetoothReader error: {code: "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", message: "Unexpected failure"}
StripeConfig.js:65 handleConnectReader result1 {error: {โ€ฆ}}
StripeConfig.js:67 handleConnectReader result2 {error: {โ€ฆ}}

slate knoll
#

So the discovery process succeeds and the reader you're passing to connectBluetoothReader contains the expected reader?

left gate
#

It looks like it

slate knoll