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 to true 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-guide

    Pre-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 and StripeIdentity now require StripeUICore. See MIGRATING.md for more info.