Skip to content

Version 15.0.0

Compare
Choose a tag to compare
@csabol-stripe csabol-stripe released this 19 Mar 22:35
· 5248 commits to master since this release
  • Renames all former references to 'PaymentMethod' to 'PaymentOption'. See MIGRATING.md for more details. #1139
    • Renames STPPaymentMethod to STPPaymentOption
    • Renames STPPaymentMethodType to STPPaymentOptionType
    • Renames STPApplePaymentMethod to STPApplePayPaymentOption
    • Renames STPPaymentMethodTuple to STPPaymentOptionTuple
    • Renames STPPaymentMethodsViewController to STPPaymentOptionsViewController
    • Renames all properties, methods, comments referencing 'PaymentMethod' to 'PaymentOption'
  • Rewrites STPaymentMethod and STPPaymentMethodType to match the Stripe API. #1140.
  • Adds [STPAPI createPaymentMethodWithParams:completion:], which creates a PaymentMethod. #1141
  • Adds paymentMethodParams and paymentMethodId to STPPaymentIntentParams. You can now confirm a PaymentIntent with a PaymentMethod. #1142
  • Adds paymentMethodTypes to STPPaymentIntent.
  • Deprecates several Source-named properties, based on changes to the Stripe API. #1146
    • Deprecates STPPaymentIntentParams.saveSourceToCustomer, replaced by savePaymentMethod
    • Deprecates STPPaymentIntentsStatusRequiresSource, replaced by STPPaymentIntentsStatusRequiresPaymentMethod
    • Deprecates STPPaymentIntentsStatusRequiresSourceAction, replaced by STPPaymentIntentsStatusRequiresAction
    • Deprecates STPPaymentIntentSourceAction, replaced by STPPaymentIntentAction
    • Deprecates STPPaymentSourceActionAuthorizeWithURL, replaced by STPPaymentActionRedirectToURL
    • Deprecates STPPaymentIntent.nextSourceAction, replaced by nextAction
  • Added new localizations for the following languages #1050
    • Danish
    • Spanish (Argentina/Latin America)
    • French (Canada)
    • Norwegian
    • Portuguese (Brazil)
    • Portuguese (Portugal)
    • Swedish
  • Deprecates STPEphemeralKeyProvider, replaced by STPCustomerEphemeralKeyProvider. We now allow for ephemeral keys that are not customer #1131
  • Adds CVC image for Amex cards #1046
  • Fixed STPPaymentCardTextField.nextFirstResponderField to never return nil #1059
  • Improves return key functionality for STPPaymentCardTextField, STPAddCardViewController #1059
  • Add postal code support for Saudi Arabia #1127
  • CVC field updates validity if card number/brand change #1128