Stripe v21.9.0 Release Notes
Release Date: 2021-10-18 // over 2 years ago-
PaymentSheet
π This release adds several new features to PaymentSheet, our drop-in UI integration:
π More supported payment methods
π The list of supported payment methods depends on your integration. π If youβre using a PaymentIntent, we support:
- Card
- SEPA Debit, bancontact, iDEAL, sofort
If youβre using a PaymentIntent with
setup_future_usage
or a SetupIntent, we support:- Card
- Apple/GooglePay
π§ Note: To enable SEPA Debit and sofort, set
PaymentSheet.configuration.allowsDelayedPaymentMethods
totrue
on the client. π These payment methods can't guarantee you will receive funds from your customer at the end of the checkout because they take time to settle. Don't enable these if your business requires immediate payment (e.g., an on-demand service). See https://stripe.com/payments/payment-methods-guidePre-fill billing details
π§ PaymentSheet collects billing details like name and email for certain payment methods. Pre-fill these fields to save customers time by setting
PaymentSheet.Configuration.defaultBillingDetails
.πΎ Save payment methods on payment
This is currently only available for cards + Apple/Google Pay.
PaymentSheet supports PaymentIntents with
setup_future_usage
set. This property tells us to save the payment method for future use (e.g., taking initial payment of a recurring subscription). When set, PaymentSheet hides the 'Save this card for future use' checkbox and always saves.π SetupIntent support
This is currently only available for cards + Apple/Google Pay.
π Initialize PaymentSheet with a SetupIntent to set up cards for future use without charging.
Smart payment method ordering
When a customer is adding a new payment method, PaymentSheet uses information like the customers region to show the most relevant payment methods first.
Other changes
- Postal code collection for cards is now limited to US, CA, UK
- π Fixed SwiftUI memory leaks Issue #1881
- β Added "hint" for error messages
- β Adds many new localizations. The SDK now localizes in the following languages: bg-BG,ca-ES,cs-CZ,da,de,el-GR,en-GB,es-419,es,et-EE,fi,fil,fr-CA,fr,hr,hu,id,it,ja,ko,lt-LT,lv-LV,ms-MY,mt,nb,nl,nn-NO,pl-PL,pt-BR,pt-PT,ro-RO,ru,sk-SK,sl-SI,sv,tk,tr,vi,zh-Hans,zh-Hant,zh-HK
- π
Stripe
andStripeIdentity
now requireStripeUICore
. SeeMIGRATING.md
for more info.