Stripe v23.2.0 Release Notes
Release Date: 2022-11-14 // over 2 years 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 totrue
and setPaymentSheet.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.
- ๐ [Added] Added