stripe / stripe-terminal-android

Stripe Terminal Android SDK
https://stripe.dev/stripe-terminal-android/
Other
94 stars 46 forks source link

Tap to Pay on LocalMobile failed to connect with Local Mobile reader #407

Closed ajithv11 closed 7 months ago

ajithv11 commented 11 months ago

Hi Team,

On some of our device, Tap to pay failed to connect with the local mobile reader with the error Failed to generate key pair The error occur on the following code snippet given below

val config = ConnectionConfiguration.LocalMobileConnectionConfiguration(MYLOCATIONID);
Terminal.getInstance().connectLocalMobileReader(firstReader, config, object : ReaderCallback {

    override fun onSuccess(reader: Reader) {
        // Success will do further tap process
    }

    override fun onFailure(e: TerminalException) {
        Log.d("TapLOG", "Local Reader Connection :: "+ e.errorMessage); 
        // On Some device failed with error `Local Reader Connection :: Failed to generate key pair`
    }
});

From the code it seems like a connectivity issue with local mobile reader, Could you please let me know how this happens for certain devices only? My stripe terminal SDK version is 3.1.0

Thank You

chr-stripe commented 11 months ago

Hi @ajithv11, can you use the bug report template to provide more information about which devices you're running into this issue on?

billfinn-stripe commented 7 months ago

I'm going to close this issue due to inactivity. Feel free to reopen using the bug report template if it still persists.