23.2.0
·
2606 commits
to master
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 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.