#timroejr_terminal
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/1240586766252245074
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi
Have you had a chance to use the official quickstart ?
https://docs.stripe.com/terminal/quickstart?integration-country=GB&platform=android
Yes, I went through this as well, I continue to get the same error in the Logcat.
Can you share the exaclt configuration you are using with that quickstart ? country/platform?
Yes. S700, Android SDK, Node backend, Kotlin Frontend. Attempting to modify our old app that used M2 Readers and rewrite it to be simpilier and work on device with the S700 using Apps on device.
United States.
In the Quickstart, it uses bluetooth discovery:
private val discoveryConfig =
DiscoveryConfiguration.BluetoothDiscoveryConfiguration(isSimulated = true/false)
I invite yout o update your integration according to that.
Or you can use Internet Discovery:
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=internet#discover-readers
timroejr_terminal
I tried Bluetooth and that didn't work. Let me try internet right now. Based on what I read in the documentation, it needs to be HandoffConfiguartion for my setup, and when I do that, I get that error thrown to me.
๐ taking over for my colleague. Let me catch up.
thank you! no rush.
an update, based on what @real iris said.
when using the Internet Configuration, I am then met with this error:
class=TerminalSession com.stripe.stripeterminal.external.models.TerminalException: You must disconnect from reader before starting a new connection.
it seems that you have already established a connection (maybe with via bluetooth) with this reader
oh well wait, that might've just been my fault, silly me.
okay, so the InternetConfiguration worked. I guess my only concern would be, will this still be supported for Apps on device? I know that the sample application and other references in the documentation reference the Handoff configuration, should i be using the internet configuration?
yes apps on device work with the internet configuration
okay great. I will give this a go in development. appreciate the help. have a great evening!