stripe / stripe-terminal-android

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

The selected reader requires a software update before it can be used to collect payments offline #500

Closed OliverYang0305 closed 3 weeks ago

OliverYang0305 commented 2 months ago

Summary

We are encountering the error "The selected reader requires a software update before it can be used to collect payments offline" when using the Stripe M2 device connected via USB on an Android device. However, the firmware of the Stripe M2 is already up to date.

Code to reproduce

Android version

Android 9.0

Impacted devices (Android devices or readers)

M2 SN: STRM26229011013 Firmware versions: 2.01.00.21-SZZZ_Prod_US_v10-481001

SDK version

Android SDK: com.stripe:stripeterminal:3.4.0

Other information

2024-09-12 16:36:02.449 [StripePayUtil]:connectUSBReader:STRM26229011013 2024-09-12 16:36:02.452 [OnReaderDiscoverCallBack@2f73427]:discover onSuccess 2024-09-12 16:36:02.454 [TerminalInitListener@70e06e6]:onConnectionStatusChange:CONNECTING 2024-09-12 16:36:03.103 [StripePayUtil]:Usb detached:UsbDevice[mName=/dev/bus/usb/001/008,mVendorId=5538,mProductId=257,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=BBPOS LIMITED,mProductName=STRM26229011013,mVersion=0.02,mSerialNumber=null,mConfigurations=[ UsbConfiguration[mId=1,mName=null,mAttributes=224,mMaxPower=50,mInterfaces=[ UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=3,mSubclass=0,mProtocol=0,mEndpoints=[ UsbEndpoint[mAddress=129,mAttributes=3,mMaxPacketSize=8,mInterval=1] UsbEndpoint[mAddress=1,mAttributes=3,mMaxPacketSize=8,mInterval=1]]]] 2024-09-12 16:36:03.422 [StripePayUtil]:Usb attached:UsbDevice[mName=/dev/bus/usb/001/009,mVendorId=5538,mProductId=257,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=BBPOS LIMITED,mProductName=STRM26229011013,mVersion=0.02,mSerialNumber=null,mConfigurations=[ UsbConfiguration[mId=1,mName=null,mAttributes=224,mMaxPower=50,mInterfaces=[ UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=3,mSubclass=0,mProtocol=0,mEndpoints=[ UsbEndpoint[mAddress=129,mAttributes=3,mMaxPacketSize=8,mInterval=1] UsbEndpoint[mAddress=1,mAttributes=3,mMaxPacketSize=8,mInterval=1]]]] 2024-09-12 16:36:03.424 [StripePayUtil]:readerReconnect():STRM26229011013 2024-09-12 16:36:03.426 [StripePayUtil]:no disconnect event 2024-09-12 16:36:03.428 [StripePayUtil]:Connecting with USB, please wait 2024-09-12 16:36:03.961 [TerminalInitListener@70e06e6]:onConnectionStatusChange:NOT_CONNECTED 2024-09-12 16:36:03.966 [StripePayUtil]:connectReader onFailure com.stripe.stripeterminal.external.models.TerminalException: The selected reader requires a software update before it can be used to collect payments offline.

dmatthews-stripe commented 2 months ago

@OliverYang0305 are you able to test this with v3.9.3 and see if you are able to reproduce?

dmatthews-stripe commented 3 weeks ago

Hi @OliverYang0305 , we will be closing this ticket out. Please feel free to open a new ticket if you are experiencing any further issues.