New: For Tap to Pay on iPhone, added autoReconnectOnUnexpectedDisconnect and autoReconnectionDelegate to the SCPLocalMobileConnectionConfiguration. When autoReconnectOnUnexpectedDisconnect 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 with SCPCardPresentDetails
expYear is a four-digit number
receiptDetails.accountType is no longer a number, and is one of default, savings, checking, or credit
Update: The SDK now requires that a NSBluetoothAlwaysUsageDescription key be present in your app's Info.plist instead of a NSBluetoothPeripheralUsageDescription key.
Update: Allow SCPCollectConfiguration.updatePaymentIntent to be true for offline enabled readers when SCPCreateConfiguration has offlineBehavior set to SCPOfflineBehaviorRequireOnline.
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 not nil in the response to confirmPaymentIntent 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.
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.SCPOfflineCardPresentDetails
is now consistent withSCPCardPresentDetails
expYear
is a four-digit numberreceiptDetails.accountType
is no longer a number, and is one ofdefault
,savings
,checking
, orcredit
NSBluetoothAlwaysUsageDescription
key be present in your app's Info.plist instead of aNSBluetoothPeripheralUsageDescription
key.SCPCollectConfiguration.updatePaymentIntent
to be true for offline enabled readers whenSCPCreateConfiguration
hasofflineBehavior
set toSCPOfflineBehaviorRequireOnline
.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.SCPErrorKeyMessage
for operations that fail due to network-related errors.SCPPaymentIntent.stripeId
was notnil
in the response toconfirmPaymentIntent
when operating offline with a smart reader.