Releases: stripe/stripe-ios
Releases · stripe/stripe-ios
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).
24.24.0
24.24.0 2025-09-22
Connect
- [Added] Payments and Payouts embedded components are available to use in public preview.
PaymentSheet
- [Added] Added
Appearance.applyLiquidGlass(), a convenience method that changes the values of various properties on theAppearanceobject used by PaymentSheet, PaymentSheet.FlowController, EmbeddedPaymentElement, CustomerSheet, and AddressViewController to match Liquid Glass when building with Xcode 26 or later and running on iOS 26. This includesappearance.cornerRadius,appearance.borderWidth,appearance.navigationBarStyle,colors.background,navigationBarStyle, and others. This feature is in public preview while we gather feedback and is subject to change. Please use https://github.com/stripe/stripe-ios/issues to file feedback!
- [Added] Appearance.navigationBarStyle. Setting to
.glasswill change the sheet navigation bar to a glassy appearance when building with Xcode 26 or later and running on iOS 26. CallingAppearance.applyLiquidGlass()will set this value to.glass. - [Changed]
appearance.cornerRadiusis now nullable. Below iOS 26, Whennil, the corner radius is 6.0 (ie unchanged from the current default). On iOS 26+, multiple rounder corner configurations are used to match Liquid Glass design. - [Fixed] Improved the cancellation UX when paying with Amazon Pay, Revolut Pay, P24, Twint, Swish, and 3DS2 card.
24.23.3
24.23.3 2025-09-17
StripeCryptoOnramp
- [Added] Additional APIs and improvements to support the development of the React Native StripeCryptoOnramp SDK.
24.23.2
24.23.2 2025-09-16
PaymentSheet
- [Fixed] Fixed an issue with the Liquid Glass keyboard toolbar where tapping on the sheet immediately above the keyboard didn't have an effect.
24.23.1
24.23.1 2025-09-08
StripeCryptoOnramp
- [Added] Additional APIs and improvements to support the development of the React Native StripeCryptoOnramp SDK.