Repository navigation
Releases
Releases · stripe/stripe-ios
27.0.0
27.0.0 2026-11-30
This major version introduces several breaking changes. Please see MIGRATING.md to help you migrate.
General
- [Changed] The SDK now uses Stripe API version
2026-09-30.endiveinstead of2020-08-27. Your server can keep using its current API version. Parameters that you pass inadditionalAPIParametersmust be valid for2026-09-30.endive. - [Changed]
allResponseFieldson API objects, such asSTPPaymentIntent, now reflects API version2026-09-30.endive. Compared to2020-08-27, some fields are removed or renamed, and some values are different. For example,cancellation_reasonisexpiredinstead ofautomaticwhen an authorization expires. If you read values fromallResponseFields, review the API changelog.
PaymentSheet
- [Added] Added
allowedPaymentMethodTypesandexcludedPaymentMethodTypestoPaymentSheet.IntentConfiguration. If your server creates the PaymentIntent or SetupIntent withallowed_payment_method_typesorexcluded_payment_method_types, set the matching property to the same list. - [Changed]
PaymentSheet.IntentConfiguration.Mode.paymentnow requires an explicitcaptureMethod. Pass the capture method of the PaymentIntent your server creates. If you didn't previously setcaptureMethod, pass.automatic. - [Deprecated] Deprecated External Payment Methods in favor of Custom Payment Methods. See the CPM integration guide.
- [Changed] Added
@MainActorisolation toPaymentSheetandPaymentSheet.FlowController. Initialize and access these objects from the main actor. - [Removed] Removed public access to
PaymentSheetError. - [Deprecated] Deprecated
PaymentSheet.Configuration.allowsPaymentMethodsRequiringShippingAddressandEmbeddedPaymentElement.Configuration.allowsPaymentMethodsRequiringShippingAddress. This configuration no longer has an effect. Payment methods that require a shipping address are always allowed. - [Changed] Klarna no longer displays a country dropdown with PaymentIntents when
billingDetailsCollectionConfiguration.addressis.never. - [Changed] In some rare cases where PaymentSheet, PaymentSheet.FlowController, and EmbeddedPaymentElement fail to load properly, they will now fully fail instead of initializing with a limited set of payment methods.
- [Added] Added Mobile Checkout Elements (private preview), a new integration powered by the Checkout Sessions API. See https://docs.stripe.com/payments/mobile/checkout-sessions
- [Added] Added support for Stripe balance (private preview) in PaymentSheet, PaymentSheet.FlowController, and EmbeddedPaymentElement, for payments and setting up future payments. Customers choose which of their financial accounts to pay from. Requires
PaymentSheet.Configuration.customerto use a CustomerSession. - [Fixed] Fixed an issue where closing the Pix instructions page canceled the payment while the customer was still completing it.
- [Fixed] Fixed an issue where EmbeddedPaymentElement didn't show the approval screen for BLIK, MB WAY and Bizum payments.
- [Fixed] Fixed an issue where adding a bank account in native Link or signing out of Link could fail when the configured API client used a different publishable key from
STPAPIClient.shared.
CustomerSheet
- [Added] Added
allowedPaymentMethodTypesandexcludedPaymentMethodTypestoCustomerSheet.IntentConfiguration. If your server creates the SetupIntent withallowed_payment_method_typesorexcluded_payment_method_types, pass the same list. - [Changed] Added
@MainActorisolation toCustomerSheet. Initialize and access from the main actor. - [Removed] Removed public access to
CustomerSheetError.
Payments
- [Changed] For failed Bancontact, EPS, iDEAL, Klarna, and Przelewy24 payments,
STPPaymentIntentLastPaymentError.codenow returns specific codes, such aspayment_method_customer_decline, instead ofpayment_intent_authentication_failure. For failed Bancontact and iDEAL setups,STPSetupIntentLastSetupError.codereturns the specific codes instead ofsetup_intent_authentication_failure.STPPaymentHandlernow reports these failures withSTPPaymentHandlerErrorCode.paymentErrorCodeinstead of.notAuthenticatedErrorCode, and PaymentSheet shows customers a different error message. Errors from confirming some TWINT and Zip payments also have the specific codes instead ofpayment_intent_authentication_failure. Expired Klarna payments returnpayment_intent_payment_attempt_expiredinstead ofpayment_intent_payment_attempt_failed. - [Changed] For failed BLIK payments,
declineCodeonSTPPaymentIntentLastPaymentErrorandSTPSetupIntentLastSetupErrornow returns specific values, such ascode_invalid, instead ofgeneric_decline. - [Changed] When you set
STPAPIClient.stripeAccountand use a platform's publishable key,fingerprintonSTPPaymentMethodUSBankAccount,STPPaymentMethodSEPADebit,STPPaymentMethodBacsDebit, andSTPPaymentMethodAUBECSDebit, and in theacss_debithash ofSTPPaymentMethod.allResponseFields, is now scoped to the platform instead of the connected account. - [Changed] Marked
STPPaymentHandlerActionStatusas@frozen, allowing exhaustive switches over.succeeded,.canceled, and.failed.
CryptoOnramp (Alpha)
- [Added] Added the optional
linkCardBrandAcceptanceparameter toCryptoOnrampCoordinator.create(...)to allow or block card brands in the Link UI. Defaults to accepting all supported brands. - [Changed] If you install with Swift Package Manager, enable the
Identitypackage trait. CryptoOnramp depends on StripeIdentity, which requires it. See MIGRATING.md. - [Fixed] Fixed a build failure with Xcode 27.0 when linking StripeCryptoOnramp.
Financial Connections
- [Changed] Updated Link-branded Financial Connections flows, including Instant Debits, to the new Link design system.
Identity
- [Changed] If you install with Swift Package Manager, StripeIdentity now requires the
Identitypackage trait. See MIGRATING.md.
PaymentsUI
- [Fixed] Fixed
STPPaymentCardTextField.cornerRadiusreturning the previous value after it was set.
StripeIssuing
- [Changed]
STPIssuingCardEphemeralKeyProvidernow receives2026-09-30.endiveas theapiVersionto use when creating an ephemeral key.
26.16.1
26.16.1 2026-11-09
PaymentSheet
- [Changed] Changed the title shown above the card entry form from "Add card" to "Add a card".
26.16.0
26.16.0 2026-11-02
PaymentSheet
- [Added] The Link auth flow now natively supports email OTP and multi-factor authentication (MFA) enabled accounts.
- [Added] Added
returnURLtoLinkConfiguration, allowingLinkControllerusers to let customers authenticate in their banking app and then return to the merchant's app. Without areturnURL, bank authentication happens in a secure webview presented in the merchant's app (private preview). - [Fixed] Fixed a horizontal layout bug that caused the sheet to freeze when the bottom form insets were less than the bottom safe area.
- [Fixed] Fixed an issue introduced in 26.14.0 where customers couldn't interact with 3D Secure authentication challenges shown in the native Link sheet.
Identity
- [Added] Added support for 3D face capture in StripeIdentity.
- [Fixed] Fixed release archives failing to link MediaPipe for x86_64 simulators. Prebuilt
StripeIdentityandStripeCryptoOnrampframeworks support arm64 simulators only; other SDK frameworks retain arm64 and x86_64 simulator support. Swift Package Manager integrations with theIdentitytrait enabled also require arm64 simulators. - [Added] Added the
Identitypackage trait for Swift Package Manager. It links MediaPipe from stripe/identity-ios-mediapipe, which StripeIdentity uses for 3D face capture. To enable it, checkIdentityin the Traits menu forstripe-ios-spmunder your project's Package Dependencies (Xcode 26.4 or later), or addtraits: [.defaults, "Identity"]to thestripe-ios-spmdependency in yourPackage.swift. Without the trait, StripeIdentity works as before. CocoaPods installs include MediaPipe through theStripeMediaPipepod.
26.15.1
26.15.1 2026-10-26
General
- [Removed] CocoaPods support. Migrate your integration to Swift Package Manager. For more information and help migrating, see MIGRATING-COCOAPODS.md.
- [Fixed] Fixed an issue where slow Apple Pay availability checks could cause React Native apps to hang during SDK initialization. See stripe-react-native#2567.
26.15.0
26.15.0 2026-10-19
CryptoOnramp (Alpha)
- [Changed] Apple Pay card previews now include the card funding type (Credit, Debit, or Prepaid), falling back to Card when unavailable, matching Link's formatting.
- [Changed] Renamed
CryptoOnrampCoordinator.fulfillKYCRequirement(from:)tofulfillKYCRequirements(from:)andFulfillKYCRequirementResulttoFulfillKYCRequirementsResult.
Identity
- [Changed] Test-mode verification sessions now upload placeholder document and selfie images instead of users' images.
26.14.0
26.14.0 2026-10-12
General
- [Removed] Removed the "test mode" badge from all UI surfaces.
PaymentSheet
- [Added] Added TrueMoney API bindings and PaymentSheet support for payments and setup.
- [Added] Added Touch 'n Go API bindings and PaymentSheet support for payments and setup.
- [Added] Added Mondu API bindings and PaymentSheet support for PaymentIntents.
- [Added] Added Naira Wallet API bindings and PaymentSheet support for PaymentIntents.
- [Added] Added Naira USSD API bindings and PaymentSheet support for PaymentIntents.
- [Added] Added Naira bank transfer API bindings and PaymentSheet support for PaymentIntents.
- [Fixed] Fixed a potential crash when canceling redirect payment methods such as Afterpay/Clearpay.
- [Added] Added QRIS API bindings and PaymentSheet support for PaymentIntents.
- [Added] Added GCash API bindings and PaymentSheet support for payments and setup.
- [Added] Added Naira card API bindings and PaymentSheet support for PaymentIntents.
CryptoOnramp (Alpha)
- [Fixed] If the customer's KYC region changes after Apple Pay is collected before authentication, token creation now throws
PaymentMethodKYCRegionChangedError(payment_method_kyc_region_changed). Collect Apple Pay again and retry token creation only after successful collection.
26.13.0
26.13.0 2026-10-05
PaymentSheet
- [Fixed] Fixed a potential crash when using certain card brands in PaymentSheet.
- [Fixed] Fixed Apple Pay failing to open for fractional amounts in COP, HUF, IDR, LAK, LBP, PKR, and RSD.
Payments
- [Fixed] Amounts in LBP are now displayed correctly.
CryptoOnramp (Alpha)
- [Added] Added optional
email,phone, andrawPhonefields toKycInfo, populated from Apple Pay billing or shipping contact information when requested. All values are for prefill only.phoneis normalized to E.164 using the billing address's country when possible, and is otherwisenil;rawPhonealways carries the wallet's original, unnormalized value. Names fall back to shipping contact values when billing values are missing or blank. CreatingKycInfofrom an Apple Pay payment still requires a usable name or billing address; email or phone alone is insufficient. - [Changed] Apple Pay can now be presented via
CryptoOnrampCoordinator.collectPaymentMethod(type:from:)before the user authenticates with Link.createCryptoPaymentToken()still requires an authenticated user. - [Added] Added an optional
countryHintparameter toCryptoOnrampCoordinator.create(...), used to help select a merchant of record for a customer who does not yet have an established KYC region. - [Added] Added
STPAPIClient.CryptoOnrampAPIError.missingLinkSessionKeyto report when a Link session key is unavailable. - [Added] Added
CryptoOnrampCoordinator.fulfillKYCRequirement(from:)to retrieve additional KYC requirements and present document collection when needed.
PaymentSheet
- [Added] Added MoMo API bindings and PaymentSheet support for PaymentIntents.
- [Added] Added GoPay API bindings and PaymentSheet support for PaymentIntents.
- [Added] Added ShopeePay API bindings and PaymentSheet support for PaymentIntents.
26.12.1
26.12.1 2026-09-28
Financial Connections
- [Fixed] Preserved
no_eligible_accountsinonEventerror callbacks instead of reporting it asunexpected_error. - [Fixed] Recorded native
onEventemissions with the session context for diagnostics.
Payments
- [Added] Added API bindings for Pix.
PaymentSheet
- [Added] Added support for Pix payments.
26.12.0
26.12.0 2026-09-21
CryptoOnramp (Alpha)
- [Removed] Removed public exposure of
StripeCryptoOnramp.Image, includingImage.linkIconSquare. - [Added] Added
CryptoOnrampCoordinator.presentTermsAndConditionsIfNeeded(from:)andpresentTermsOfServiceIfNeeded(from:)to present and record acceptance of current partner terms when required. Both methods returnPartnerTermsResult.
StripeCore
- [Added] Added
additionalHeaderssupport to theSTPAPIClientGET, POST, and DELETE APIs exposed through theSTPSPI.
PaymentSheet
- [Fixed] Fixed card funding warnings not appearing after scanning a card.
26.11.0
26.11.0 2026-09-14
General
- [Added] Added support for Welsh.
Payments
- [Added] Added API bindings for Scalapay.
PaymentSheet
- [Added] Added support for Scalapay.