这是indexloc提供的服务,不要输入任何密码
Skip to content

24.17.0

Latest
Compare
Choose a tag to compare
@davidme-stripe davidme-stripe released this 22 Jul 22:39
· 14 commits to master since this release

24.17.0 2025-07-21

PaymentSheet

  • [Fixed] EmbeddedPaymentElement now errors when configuration.rowSelectionBehavior is .immediateAction and configuration.embeddedViewDisplaysMandateText is true to ensure integrations display legal mandate text to the customer.
  • [Deprecated] Carthage is no longer officially supported. We will continue to publish binaries to the GitHub releases page for Carthage, but we will no longer test using the Carthage CLI tool.
  • [Added] Added Appearance.EmbeddedPaymentElement.Row.paymentMethodIconLayoutMargins to customize the spacing around payment method icons in EmbeddedPaymentElement payment method rows.
  • [Added] Added Appearance.EmbeddedPaymentElement.Row.titleFont to customize the font of EmbeddedPaymentElement payment method row titles.
  • [Changed] Renamed PaymentSheet.Appearance.EmbeddedPaymentElement.Row.Style.flatWithChevron to PaymentSheet.Appearance.EmbeddedPaymentElement.Row.Style.flatWithDisclosure and added an experimental disclosureImage property to customize the chevron icon displayed in EmbeddedPaymentElement payment method rows when the row style is flatWithDisclosure.
  • [Fixed] EmbeddedPaymentElementDelegate didUpdateHeight now accommodates cases where the embedded view can't change height until after didUpdateHeight is called, like inside a UITableViewCell.

AddressElement

  • [Added] SwiftUI support for AddressElement.
  • [Changed] AddressViewController now notifies its delegate when the sheet is dismissed, whether by tapping the Close button or swiping down, so AddressElement always returns the current address.

General

  • [Removed] Removed nn-NO (Norwegian Nynorsk) localization. Norwegian users can continue using nb (Norwegian Bokmål) localization.