Skip to content

Releases: stripe/stripe-terminal-ios

v2.23.1

08 Aug 17:18
v2.23.1
731a796
Compare
Choose a tag to compare
  • Built with Xcode 14.3, Swift version 5.8.
  • Fixes a regression in 2.21.0 where the SDK could get stuck running discoverReaders if connectBluetoothReader failed and the discovery cancelable was canceled in the connect completion block.

v2.23.0

31 Jul 20:13
v2.23.0
3d5d8af
Compare
Choose a tag to compare
  • Built with Xcode 14.3, Swift version 5.8.
  • Support for CVM PIN transactions when using Tap to Pay on iPhone. See Tap to Pay on iPhone docs for specifics on supported countries and payment methods.
  • Fixes a bug where connecting to an internet reader after being connected to a Bluetooth reader could error with "ConnectionToken has already been redeemed".
  • Provides additional debugging information when an Apple Built-In reader fails to prepare. See the new SCPErrorKeyPrepareFailedReason error key.
  • Fixes a regression where SCPErrorUnexpectedSdkError would be returned when connecting to a reader without discoverReaders running. Now returns a specific error, SCPErrorMustBeDiscoveringToConnect.

v2.22.0

05 Jul 21:04
Compare
Choose a tag to compare
  • Built with Xcode 14.3, Swift version 5.8.
  • Tap to Pay on iPhone now returns card read results immediately by default on iOS 16.4+ to reduce transaction time.
  • Fixes #229: connectedReader and connectionStatus is now correctly set when the disconnectReader completion block is run when using the simulated Bluetooth reader.
  • Fixes #232: didReportBatteryLevel now correctly reports batteryLevel as a float between 0 and 1 as documented.

v2.21.0

05 Jun 20:53
v2.21.0
92f0a3d
Compare
Choose a tag to compare
  • Built with Xcode 14.1, Swift version 5.7.1.
  • Fixes a bug where collectPaymentMethod could have failed with "Transaction is cancelled by the user" shortly after calling collectPaymentMethod.
  • Reduces the latency of subsequent attempts to connect to an Apple Built-In reader.
  • Fixes a crash if the discoverReaders cancelable was canceled in didUpdateDiscoveredReaders after connectReader failed connecting to the reader.
  • Added a new simulated test card .visaUsCommonDebit SCPSimulatedCardType.
  • Fixes a bug where processPayment could result in an error stating "This PaymentIntent could not be updated because it has a status of succeeded" on slow networks.
  • Fixes a crash if the reader disconnects during the /confirm API request as part of processPayment.

v2.20.2

24 May 16:14
v2.20.2
09f1fc5
Compare
Choose a tag to compare
  • Fixes a regression in 2.20.0 where retrieveSetupIntent would fail with an API error stating "The provided key 'pss_test_*****************' does not have the required permissions for this endpoint"

v2.20.1

18 May 20:32
Compare
Choose a tag to compare

2.20.1 2023-05-16

  • Fixes a latent bug where closing and reopening the app several times leads to increased CPU usage.

v2.20.0

02 May 19:36
Compare
Choose a tag to compare
  • Fixes a possible crash if a Bluetooth reader disconnects while connectBluetoothReader is running.
  • Fixes a bug where a PaymentIntent created with captureMethod set to automatic may, under poor network conditions, have a status of requires_capture, when it should have had a status of succeeded.
  • Added error SCPErrorConnectionTokenProviderTimedOut. Returned when the SCPConnectionTokenProvider does not call the provided completion block within 60 seconds.
  • Throws an error when attempting to use the simulated .eftposAuDebit card with an unsupported PaymentIntent capture method. Use this card with the capture method set to SCPCaptureMethodAutomatic or SCPCardPresentCaptureMethodManualPreferred.
  • Added SCPReaderDisplayMessageCardRemovedTooEarly sent when a card is removed too early during a contact payment.
  • Fixes a bug where the SDK would fail processPayment with SCPErrorDeclinedByStripeAPI if the WisePad 3 timed out in between collectPaymentMethod and processPayment. This will now error with SCPErrorCardReadTimedOut.
  • Fixes a bug where SCPReaderEventCardInserted could be announced multiple times for a single card insert.

v2.19.1

10 Apr 18:06
Compare
Choose a tag to compare
  • Fixes an issue where the SDK could get stuck in an "AlreadyConnectedToReader" state when using Tap to Pay on iPhone.

v2.19.0

03 Apr 21:05
Compare
Choose a tag to compare

v2.18.1

15 Mar 16:38
v2.18.1
521df35
Compare
Choose a tag to compare
  • Fixes an issue where the SDK may report a failure during processPayment when using a WisePad 3 and the reader times out waiting for the /confirm response from the Stripe API. The SDK will now will report success if the PaymentIntent status moved to requires_capture or succeeded.