#than-jack_error
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/1242299223517429881
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I don't think you need connection token when integrating tap-to-pay on a mobile app. Are you following along this integrawtion guide https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=react-native&reader-type=tap-to-pay ?
Hi Jack, yes, I'm following this guideline. However, I see that there is one part mentioning about the connection endpoint setup here https://docs.stripe.com/terminal/payments/setup-integration?terminal-sdk-platform=react-native#connection-token
Ah right, sorry my mistake, connection tokens are not required for server-driven integration.
Can you check if your endpoint is returning valid connection token to your mobile app?
Yes, this issue only happens randomly. And I suspect there is some issue regarding to the network connectivity
When this issue happen, how can I deal with this?
Have you trouble shoot your network?
Hi Jack, it happens on a phone of my tester, I'm not quite sure if he lost 100% of the Internet connectivity or the his Internet connection was just in poor condition
Can you put some logs in your app and see if your app receive valid connection token when this error occurs?
Yes, please wait me a minute
Couldn't fetch connection token. Please check your tokenProvider method
16:00:52
[Stripe terminal]: didChangeConnectionStatus notConnected
16:00:52
onDidChangeConnectionStatus, notConnected
16:00:53
connectLocalMobileReader error: { code: 'NETWORK_ERROR.CONNECTION_TOKEN_PROVIDER_ERROR',
message: 'Execution error while retrieving connection token' }
Here is the logs of what happening to my app when the token connection issue occurred