#aitooletc-terminal

1 messages · Page 1 of 1 (latest)

left oasisBOT
gloomy plume
#

Hmm don't think there is a way, but can you provide your code around where the timeout/disconnected error you faced?

sly sandal
gloomy plume
#

Thanks for the stacktrace. How about the code where it occurred?

sly sandal
#

Terminal.getInstance().processPayment(
paymentIntent,
object : PaymentIntentCallback {
override fun onSuccess(paymentIntent: PaymentIntent) {
onSuccess(paymentIntent)
}

                        override fun onFailure(e: TerminalException) {
                            onFailure(e)
                        }
                    },
                )
#

onfailure

gloomy plume
#

That should also test the above onFailure block

sly sandal
#

i believe we should have timeoutexception

#

btw, how do i check if the stripe terminal is rebooted manually or automatic?

left oasisBOT
#

aitooletc-terminal

gloomy plume
#

Don't think there is a way, sorry