Skip to content

23.2.0

Compare
Choose a tag to compare
@jaimepark-stripe jaimepark-stripe released this 14 Nov 22:31
· 0 commits to main since this release

23.2.0 2022-11-14

PaymentSheet

  • [Added] Added AddressViewController, a customizable view controller that collects local and international addresses for your customers. See https://stripe.com/docs/elements/address-element?platform=ios.
  • [Added] Added PaymentSheet.Configuration.allowsPaymentMethodsRequiringShippingAddress. Previously, to allow payment methods that require a shipping address (e.g. Afterpay and Affirm) in PaymentSheet, you attached a shipping address to the PaymentIntent before initializing PaymentSheet. Now, you can instead set this property to true and set PaymentSheet.Configuration.shippingDetails to a closure that returns your customers' shipping address. The shipping address will be attached to the PaymentIntent when the customer completes the checkout.
  • [Fixed] Fixed user facing error messages for card related errors.
  • [Fixed] Fixed setup_future_usage value being set when there's no customer.