Releases: stripe/stripe-ios-spm
Releases · stripe/stripe-ios-spm
23.4.0
23.4.0 2023-02-21
PaymentSheet
- [Added] Adds support for setting up PayPal using a SetupIntent or a PaymentIntent w/ setup_future_usage=off_session. Note: PayPal is in beta.
23.3.4
23.3.4 2023-02-13
Financial Connections
- [Changed] Polished Financial Connections UI.
23.3.3
23.3.3 2023-01-30
Payments
- [Changed] Updated image asset for AFFIN bank.
Financial Connections
- [Fixed] Double encoding of GET parameters.
23.3.2
23.3.2 2023-01-09
- [Changed] Using Tuist to generate Xcode projects. From now on, only release versions of the SDK will include Xcode project files, in case you want to build a non release revision from source, you can follow these instructions to generate the project files. For Carthage users, this also means that you will only be able to depend on release versions.
PaymentSheet
- [Added]
PaymentSheetError
now conforms toCustomDebugStringConvertible
and has a more useful description when no payment method types are available. - [Changed] Customers can now re-enter the autocomplete flow of
AddressViewController
by tapping an icon in the line 1 text field.
23.3.1
23.3.1 2022-12-12
- [Fixed] Fixed a bug where 3 decimal place currencies were not being formatted properly.
PaymentSheet
- [Fixed] Fixed an issue that caused animations of the card logos in the Card input field to glitch.
- [Fixed] Fixed a layout issue in the "Save my info" checkbox.
CardScan
23.3.0
23.3.0 2022-12-05
PaymentSheet
- [Added] Added logos of accepted card brands on Card input field.
- [Fixed] Fixed erroneously displaying the card scan button when card scanning is not available.
Financial Connections
- [Changed] FinancialConnectionsSheet methods now require to be called from non-extensions.
- [Changed] BankAccountToken.bankAccount was changed to an optional.
23.2.0
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.
23.1.1
23.1.1 2022-11-07
Payments
- [Fixed] Fixed an issue with linking the StripePayments SDK in certain configurations.
23.1.0
23.1.0 2022-10-31
CardScan
- [Added] Added a README.md for the
CardScanSheet
integration.
PaymentSheet
- [Added] Added parameters to customize the primary button and Apple Pay button labels. They can be found under
PaymentSheet.Configuration.primaryButtonLabel
andPaymentSheet.ApplePayConfiguration.buttonType
respectively.
23.0.0
23.0.0 2022-10-24
Payments
- [Changed] The
Stripe
module is now split betweenStripePaymentSheet
,StripePayments
, andStripePaymentsUI
. Some manual changes may be required. Migration instructions are available at https://stripe.com/docs/mobile/ios/sdk-23-migration. - [Changed] The minimum iOS version is now 13.0. If you'd like to deploy for iOS 12.0, please use Stripe SDK 22.8.4.
- [Changed] STPPaymentCardTextField's
cardParams
parameter has been deprecated in favor ofpaymentMethodParams
, making it easier to include the postal code from the card field. If you need to access theSTPPaymentMethodCardParams
, use.paymentMethodParams.card
.
PaymentSheet
- [Fixed] Fixed a validation issue where cards expiring at the end of the current month were incorrectly treated as expired.
- [Fixed] Fixed a visual bug in iOS 16 where advancing between text fields would momentarily dismiss the keyboard.