Stripe v23.2.0 Release Notes

Release Date: 2022-11-14 // over 1 year ago
  • 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.