Releases: stripe/stripe-ios-spm
Releases · stripe/stripe-ios-spm
25.2.0
25.1.1
25.1.1 2025-11-24
Financial Connections
- [Fixed] Fixes Instant Bank Payments when used in a webview flow.
25.1.0
25.1.0 2025-11-18
PaymentSheet
- [Added] Added
cardproperty toSTPPaymentMethodPreviewto expose card details (brand, country, exp_month, exp_year, funding, last4, display_brand) from ConfirmationTokens.
Financial Connections
- [Added]
StripeFinancialConnectionsSDK is now localized!
25.0.1
25.0.1 2025-11-10
PaymentSheet
- [Fixed] Fixed an issue where async APIs did not run on the main thread.
25.0.0
25.0.0 2025-11-03
This major version introduces many small breaking changes. Please see MIGRATING.md to help you migrate.
All
- [Added] You can now access the HTTP status code of failed API requests by inspecting
userInfo[STPError.httpStatusCodeKey]on the error. - [Added] You can now access the Stripe request ID of failed API requests by inspecting
userInfo[STPError.stripeRequestIDKey]on the error. - [Changed] Most delegate protocols are now marked as
@MainActor @preconcurrencyto improve support for Swift strict concurrency. This includes:STPApplePayContextDelegate,STPAuthenticationContext,STPPaymentCardTextFieldDelegate,STPCardFormViewDelegate,AddressViewControllerDelegate, andSTPAUBECSDebitFormViewDelegate.
PaymentSheet
- [Fixed] PaymentSheet, PaymentSheet.FlowController, and EmbeddedPaymentElement return errors when loading with invalid configuration instead of loading in a degraded state.
- [Added] Added async versions of all completion-block-based PaymentSheet and PaymentSheet.FlowController methods.
- [Added] CustomerSessions is now generally available.
- [Added] ConfirmationTokens is now generally available.
- [Changed] Replaced
ExternalPaymentMethodConfirmHandlerwith an async equivalent. - [Changed] Replaced
IntentConfiguration.ConfirmHandlerwith an async equivalent. - [Changed] Replaced
PaymentSheet.ApplePayConfiguration.Handlerscompletion-block basedauthorizationResultHandlerwith an async equivalent. - [Removed] Removed
PaymentSheet.reset()in favor ofPaymentSheet.resetCustomer(). - [Removed] Removed
PaymentSheet.CustomerConfiguration.ephemeralKeySecret.
Financial Connections
- [Added] Added async versions of
present(from:)andpresentForToken(from:).
CustomerSheet
- [Added] Added an async version of
present(from:). - [Added] CustomerSessions is now generally available.
STPApplePayContext
- [Added] Added async delegate methods.
- [Changed] Replaces the
ApplePayContextDelegate.didCreatePaymentMethodmethod with an async version.
Payments
- [Added]
STPPaymentHandlerandSTPAPIClientmethods with completion blocks now have async equivalents. - [Changed]
STPPaymentIntent.paymentMethodTypesandSTPSetupIntent.paymentMethodTypesnow return[STPPaymentMethodType]instead of[NSNumber]in Swift for better ergonomics. - [Changed]
STPSetupIntentConfirmParams.useStripeSDK,STPPaymentIntentConfirmParams.useStripeSDK,STPConnectAccountCompanyParams.directorsProvided,STPConnectAccountCompanyParams.ownersProvided, andSTPConnectAccountParams.tosShownAndAcceptednow usesBool?instead ofNSNumber?in Swift for better ergonomics. - [Changed] Renamed STPPaymentHandler's
confirmandhandleNextActionmethods and added async versions. - [Changed] Renamed STPPaymentIntentParams to STPPaymentIntentConfirmParams
- [Changed]
linkedAccountonSTPPaymentMethodUSBankAccounthas been renamed tofinancialConnectionsAccount. - [Changed] Changed
STPPaymentMethodType.descriptionto be more consistent. - [Removed] Removed
requiresSourceandrequiresSourceActionstatuses fromSTPPaymentIntentStatus. Also removedSTPPaymentIntentSourceActionType. - [Removed] Removed deprecated
STPPaymentIntentParams.saveSourceToCustomerproperty. UsesavePaymentMethodinstead. - [Removed] Removed
singleUsePaymentMethodSTPPaymentMethodParams initializer. - [Removed] Removed STPPaymentMethod
metadata. - [Removed] Sources are no longer supported for non-card payment methods or cards that require 3DS authentication. Please migrate to the Payment Methods API.
- [Removed] Removed Sofort. Migrate to SEPA Debit or other EU payment methods. See this page for more information.
- [Removed] Removed Giropay. Use alternative payment methods instead. See this page for more information.
24.25.0
24.25.0 2025-10-27
PaymentSheet
- [Fixed] Blocked emoji input in text fields.
CustomerSheet
- [Added] Added support for
onBehalfOfto CustomerSheet.IntentConfiguration. This parameter makes CustomerSheet use a connected account to determine the payment method that users see and whether CardBrandChoice is enabled. For more information, see the SetupIntent docs.
24.24.4
24.24.4 2025-10-20
PaymentSheet
- [Fixed] Fixed a bug with
FlowControllerandEmbeddedPaymentElementin dark mode wherepaymentOption.imagecould be a blank icon for Alma, Billie, Multibanco, Paynow, Promptpay, Satispay, and Sunbit
24.24.3
24.24.3 2025-10-13
PaymentSheet
- [Fixed] Fixed a bug where the
DoneButtonToolbarwas not tappable on devices < iOS 26 when compiled with Xcode26. - [Fixed] Fixed minor styling issues with Link UI on < iOS 26 when compiled with Xcode26.
24.24.2
24.24.2 2025-10-06
PaymentSheet
- [Improved] Improved CVC recollection UI in Link
General
- [Improved] Added automatic retry on network errors when fetching payment intents for improved resilience
24.24.1
24.24.1 2025-09-29
Connect
- [Fixed] Renamed
PrivateBetaConnecttoPreviewConnect.
PaymentSheet
- [Fixed] Fixed a navigation bar shadow bug when
appearance.navigationBarStyleisglass(iOS 26.1 fixed the underlying API).