Releases: stripe/stripe-ios
Releases · stripe/stripe-ios
Version 16.0.2
- Adds API to let users set a default payment option for Standard Integration #1252
- Removes querying the Advertising Identifier (IDFA).
- Adds customizable UIStatusBarStyle to STDSUICustomization.
Version 16.0.1
Version 16.0.0
16.0.0 2019-07-18
- Migrates STPPaymentCardTextField.cardParams property type from STPCardParams to STPPaymentMethodCardParams * Migrates STPPaymentCardTextField.cardParams property type from STPCardParams to STPPaymentMethodCardParams
- STPAddCardViewController: * STPAddCardViewController:
- Migrates addCardViewController:didCreateSource:completion: and addCardViewController:didCreateToken:completion: to addCardViewController:didCreatePaymentMethod:completion * Migrates addCardViewController:didCreateSource:completion: and addCardViewController:didCreateToken:completion: to addCardViewController:didCreatePaymentMethod:completion
- Removes managedAccountCurrency property - there’s no equivalent parameter necessary for PaymentMethods. * Removes managedAccountCurrency property - there’s no equivalent parameter necessary for PaymentMethods.
- STPPaymentOptionViewController now shows, adds, removes PaymentMethods instead of Source/Tokens. * STPPaymentOptionViewController now shows, adds, removes PaymentMethods instead of Source/Tokens.
- STPCustomerContext, STPBackendAPIAdapter: * STPCustomerContext, STPBackendAPIAdapter:
- Removes selectDefaultCustomerSource:completion: - Users must explicitly select their Payment Method of choice. * Removes selectDefaultCustomerSource:completion: - Users must explicitly select their Payment Method of choice.
- Migrates detachSourceFromCustomer:completion:, attachSourceToCustomer:completion to detachPaymentMethodFromCustomer:completion:, attachPaymentMethodToCustomer:completion: * Migrates detachSourceFromCustomer:completion:, attachSourceToCustomer:completion to detachPaymentMethodFromCustomer:completion:, attachPaymentMethodToCustomer:completion:
- Adds listPaymentMethodsForCustomerWithCompletion: - the Customer object doesn’t contain attached Payment Methods; you must fetch it from the Payment Methods API. * Adds listPaymentMethodsForCustomerWithCompletion: - the Customer object doesn’t contain attached Payment Methods; you must fetch it from the Payment Methods API.
- STPPaymentContext now uses the new Payment Method APIs listed above instead of Source/Token, and returns the reworked STPPaymentResult containing a PaymentMethod. * STPPaymentContext now uses the new Payment Method APIs listed above instead of Source/Token, and returns the reworked STPPaymentResult containing a PaymentMethod.
- Migrates STPPaymentResult.source to paymentMethod of type STPPaymentMethod * Migrates STPPaymentResult.source to paymentMethod of type STPPaymentMethod
- Deprecates STPPaymentIntentAction* types, replaced by STPIntentAction*. #1208 * Deprecates STPPaymentIntentAction* types, replaced by STPIntentAction*. #1208
- Deprecates
STPPaymentIntentAction
, replaced bySTPIntentAction
* DeprecatesSTPPaymentIntentAction
, replaced bySTPIntentAction
- Deprecates
STPPaymentIntentActionType
, replaced bySTPIntentActionType
* DeprecatesSTPPaymentIntentActionType
, replaced bySTPIntentActionType
- Deprecates
STPPaymentIntentActionRedirectToURL
, replaced bySTPIntentActionTypeRedirectToURL
* DeprecatesSTPPaymentIntentActionRedirectToURL
, replaced bySTPIntentActionTypeRedirectToURL
- Deprecates
- Adds support for SetupIntents. See https://stripe.com/docs/payments/cards/saving-cards#saving-card-without-payment
- Adds support for 3DS2 authentication. See https://stripe.com/docs/mobile/ios/authentication
Version 15.0.1
Version 15.0.0
- Renames all former references to 'PaymentMethod' to 'PaymentOption'. See MIGRATING.md for more details. #1139
- Renames
STPPaymentMethod
toSTPPaymentOption
- Renames
STPPaymentMethodType
toSTPPaymentOptionType
- Renames
STPApplePaymentMethod
toSTPApplePayPaymentOption
- Renames
STPPaymentMethodTuple
toSTPPaymentOptionTuple
- Renames
STPPaymentMethodsViewController
toSTPPaymentOptionsViewController
- Renames all properties, methods, comments referencing 'PaymentMethod' to 'PaymentOption'
- Renames
- Rewrites
STPaymentMethod
andSTPPaymentMethodType
to match the Stripe API. #1140. - Adds
[STPAPI createPaymentMethodWithParams:completion:]
, which creates a PaymentMethod. #1141 - Adds
paymentMethodParams
andpaymentMethodId
toSTPPaymentIntentParams
. You can now confirm a PaymentIntent with a PaymentMethod. #1142 - Adds
paymentMethodTypes
toSTPPaymentIntent
. - Deprecates several Source-named properties, based on changes to the Stripe API. #1146
- Deprecates
STPPaymentIntentParams.saveSourceToCustomer
, replaced bysavePaymentMethod
- Deprecates
STPPaymentIntentsStatusRequiresSource
, replaced bySTPPaymentIntentsStatusRequiresPaymentMethod
- Deprecates
STPPaymentIntentsStatusRequiresSourceAction
, replaced bySTPPaymentIntentsStatusRequiresAction
- Deprecates
STPPaymentIntentSourceAction
, replaced bySTPPaymentIntentAction
- Deprecates
STPPaymentSourceActionAuthorizeWithURL
, replaced bySTPPaymentActionRedirectToURL
- Deprecates
STPPaymentIntent.nextSourceAction
, replaced bynextAction
- Deprecates
- Added new localizations for the following languages #1050
- Danish
- Spanish (Argentina/Latin America)
- French (Canada)
- Norwegian
- Portuguese (Brazil)
- Portuguese (Portugal)
- Swedish
- Deprecates
STPEphemeralKeyProvider
, replaced bySTPCustomerEphemeralKeyProvider
. 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
Version 14.0.0
14.0.0 2018-11-14
- Changes
STPPaymentCardTextField
, which now copies thecardParams
property. See MIGRATING.md for more details. #1031 - Renames
STPPaymentIntentParams.returnUrl
toSTPPaymentIntentParams.returnURL
. #1037 - Removes
STPPaymentIntent.returnUrl
and addsSTPPaymentIntent.nextSourceAction
, based on changes to the Stripe API. #1038 - Adds
STPVerificationParams.document_back
property. #1017 - Fixes bug in
STPPaymentMethodsViewController
where selected payment method changes back if it wasn't dismissed in thedidFinish
delegate method. #1020
Version 13.2.0
- Fixes crash in
STPAddCardViewController
with some prefilled billing addresses #1004 - Fixes
STPPaymentCardTextField
layout issues on small screens #1009 - Fixes hidden text fields in
STPPaymentCardTextField
from being read by VoiceOver #1012 - Updates example app to add client-side metadata
charge_request_id
to requests toexample-ios-backend
#1008
Version 13.1.0
Version 13.0.3
13.0.3 2018-06-11
- Fixes payment method label overlapping the checkmark, for Amex on small devices #952
- Adds EPS and Multibanco support to
STPSourceParams
#961 - Adds
STPBillingAddressFieldsName
option toSTPBillingAddressFields
#964 - Fixes crash in
STPColorUtils.perceivedBrightnessForColor
#954 - Applies recommended project changes for Xcode 9.4 #963
- Fixes
[Stripe handleStripeURLCallbackWithURL:url]
incorrectly returningNO
#962