stripe / stripe-terminal-ios

Stripe Terminal iOS SDK
https://stripe.com/docs/terminal/sdk/ios
Other
104 stars 64 forks source link

Reader connection error: Missing input parameters - `SignedTermPubKey` #326

Closed r2-pro closed 1 month ago

r2-pro commented 2 months ago

Summary

When we call SDK to connect to a reader via

- (void)connectBluetoothReader:(SCPReader *)reader
                      delegate:(id<SCPBluetoothReaderDelegate>)delegate
              connectionConfig:(SCPBluetoothConnectionConfiguration *)connectionConfig
                    completion:(SCPReaderCompletionBlock)completion NS_SWIFT_NAME(connectBluetoothReader(_:delegate:connectionConfig:completion:));

we receive error:

Screenshot 2024-09-04 at 08 59 52

Observed only on a specific reader with serial number CHB20-100015604.

Code to reproduce

Call the connect method.

iOS version

iPhone 14 Plus:17.5.1, 17.6.1

Installation method

SPM

SDK version

3.5.0

Other information

Reader object:

<SCPReader: 0x107b30120; deviceSoftwareVersion = (null); deviceType = bbpos_chipper2x; label = (null); serialNumber = CHB20-100015604; stripeId = (null); hardwareInfo = (null); batteryLevel = (null); location = <redacted>>

In the similar scenario, on a different reader, we receive different error: reader serial: CHB222047012393 error:

Screenshot 2024-09-04 at 09 11 13

Bonus question: Is there a way in the console to check events that are happening on a reader, like connection, updates, payment collection, some kind of "All Activity" timeline that we can see on payment intents?

r2-pro commented 2 months ago

@bric-stripe, @mindy-stripe any hints/ideas on that one?

dmatthews-stripe commented 2 months ago

@r2-pro are you able to reproduce this issue with the latest version of the SDK?

r2-pro commented 1 month ago

No. In general it has been observed only for particular (few) users, I wondered if maybe you have more insights in that update process logs.

dmatthews-stripe commented 1 month ago

Hi @r2-pro can you please log a ticket with support as this may be a possible device issue?

dmatthews-stripe commented 1 month ago

Hi @r2-pro , we are going to close this ticket. You can file a ticket with our support team for assistance.