#paul_unexpected
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1278912391861501984
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, what kind of terminal reader that you are trying to connect to?
any really. In our test mode, we have a couple s700.
The App i'm building , is for the s700.
I'm also discovering on our live account. There we have a handful of BBPOS WisePOS E
OK, are these readers upgraded to the latest firmware?
yeah. I keep the one I have here updated.
on 0.0.1-beta.19 - on our live account, I get the s700 and the 10+ BBPOS WisePOS E back instantly.
And you don't get the same results with 0.0.1-beta.20 ?
nope, it searches for a minute or so, then returns empty []
const { error: discoverReadersError } = await discoverReaders({
discoveryMethod: "internet",
simulated: false,
});
^^ this just seems to hang on beta.20
Do you see any errors?
https://reactnative.dev/docs/0.73/native-debugging Do you see any errors in native logs?
no errors
[14:30:47] I | ReactNativeJS ▶︎ '[Stripe terminal]: didUpdateDiscoveredReaders', []
similar to the verbose logs from StripeTerminalProvider
looks to hit a 1min timeout:
connection token returns at:
[14:29:47] I | ReactNativeJS ▶︎ 'Connection token response', 'pst_live_YWNjdF8xSkY1V1RJUGlxakxLZlpnLHZUSjI5WExBYUdEWTdHbjF0VnNtcng1alFacUxHMnM_00HqItJOcB'
So, the difference in the logs between beta19 and beta20 is it double fires the connection token request:
[14:29:47] I | ReactNativeJS ▶︎ 'Connection token response', 'pst_live_YWNjdF8xSkY1V1RJUGlxakxLZlpnLHBFZG1FQlhUTjV4eWc3S2JlS2dwUzh3bXVNN0VJVmU_004SsmQrpn'
[14:29:47] I | ReactNativeJS ▶︎ 'Connection token response', 'pst_live_YWNjdF8xSkY1V1RJUGlxakxLZlpnLHZUSjI5WExBYUdEWTdHbjF0VnNtcng1alFacUxHMnM_00HqItJOcB'
in beta20, it doubles up the connection token. and then nothing is returned on the didUpdateDiscoveredReaders
in beta19, there's only 1 connection token request, and then didUpdateDiscoveredReaders returns with the readers....
[14:37:46] I | ReactNativeJS ▶︎ 'Connection token response', 'pst_live_YWNjdF8xSkY1V1RJUGlxakxLZlpnLG13T3NTc2lOcU1YY0c2QVVuSzdBV09rVHViOTIwbHE_000pQ4YJc9'
[14:37:46] I | ReactNativeJS ▶︎ '[Stripe terminal]: didUpdateDiscoveredReaders', [ { settingsVersion: null,
│ macKeyProfileId: null,
│ hardwareVersion: 'unknown',
│ availableUpdate: null,
Hello! give us a while to get back to you