- New: For Tap to Pay on iPhone, added
autoReconnectOnUnexpectedDisconnect
andautoReconnectionDelegate
to theSCPLocalMobileConnectionConfiguration
. WhenautoReconnectOnUnexpectedDisconnect
is enabled, the SDK will attempt to restore connection upon any unexpected disconnect to your local mobile reader. See Stripe documentation for details. - Update: Formatting on certain fields exposed in
SCPOfflineCardPresentDetails
is now consistent withSCPCardPresentDetails
expYear
is a four-digit numberreceiptDetails.accountType
is no longer a number, and is one ofdefault
,savings
,checking
, orcredit
- Update: The SDK now requires that a
NSBluetoothAlwaysUsageDescription
key be present in your app's Info.plist instead of aNSBluetoothPeripheralUsageDescription
key. - Update: Allow
SCPCollectConfiguration.updatePaymentIntent
to be true for offline enabled readers whenSCPCreateConfiguration
hasofflineBehavior
set toSCPOfflineBehaviorRequireOnline
. - Update: Added new
SCPErrorReaderMissingEncryptionKeys
. Returned in a rare condition where the reader is missing the required keys to encrypt payment method data. The reader will disconnect if this error is hit. Reconnecting to the reader should re-install the keys. - Update: More descriptive error messages in
SCPErrorKeyMessage
for operations that fail due to network-related errors. - Fixes a bug where
SCPPaymentIntent.stripeId
was notnil
in the response toconfirmPaymentIntent
when operating offline with a smart reader. - Fixes a rare bug where Bluetooth readers could get into a state where they would no longer accept payments and needed to be replaced.