Skip to content

Releases: stripe/stripe-ios

Version 16.0.1

25 Jul 22:30
v16.0.1
Compare
Choose a tag to compare

16.0.1 2019-07-25

  • Migrates Stripe3DS2.framework to libStripe3DS2.a, resolving an issue with App Store validation. #1246
  • Fixes a crash in STPPaymentHandler. #1244

Version 16.0.0

19 Jul 01:25
Compare
Choose a tag to compare

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 by STPIntentAction * Deprecates STPPaymentIntentAction, replaced by STPIntentAction
    • Deprecates STPPaymentIntentActionType, replaced by STPIntentActionType * Deprecates STPPaymentIntentActionType, replaced by STPIntentActionType
    • Deprecates STPPaymentIntentActionRedirectToURL, replaced by STPIntentActionTypeRedirectToURL * Deprecates STPPaymentIntentActionRedirectToURL, replaced by STPIntentActionTypeRedirectToURL
  • 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

17 Apr 22:38
v15.0.1
Compare
Choose a tag to compare
  • Adds configurable support for JCB (Apple Pay). #1158
  • Updates sample apps to use PaymentIntents and PaymentMethods where available. #1159
  • Changes STPPaymentMethodCardParams expMonth and expYear property types to NSNumber * to fix a bug using Apple Pay. #1161

Version 15.0.0

19 Mar 22:35
Compare
Choose a tag to compare
  • 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

Version 14.0.0

14 Nov 20:56
Compare
Choose a tag to compare

14.0.0 2018-11-14

  • Changes STPPaymentCardTextField, which now copies the cardParams property. See MIGRATING.md for more details. #1031
  • Renames STPPaymentIntentParams.returnUrl to STPPaymentIntentParams.returnURL. #1037
  • Removes STPPaymentIntent.returnUrl and adds STPPaymentIntent.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 the didFinish delegate method. #1020

Version 13.2.0

14 Aug 16:38
Compare
Choose a tag to compare
  • 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 to example-ios-backend #1008

Version 13.1.0

13 Jul 23:48
Compare
Choose a tag to compare
  • Adds STPPaymentIntent to support PaymentIntents. #985, #986, #987, #988
  • Reduce NSURLSession memory footprint. #969
  • Fixes invalid JSON error when deleting Card from a Customer. #992

Version 13.0.3

12 Jun 00:45
v13.0.3
Compare
Choose a tag to compare

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 to STPBillingAddressFields #964
  • Fixes crash in STPColorUtils.perceivedBrightnessForColor #954
  • Applies recommended project changes for Xcode 9.4 #963
  • Fixes [Stripe handleStripeURLCallbackWithURL:url] incorrectly returning NO #962

Version 13.0.2

24 May 23:13
v13.0.2
Compare
Choose a tag to compare

13.0.2 2018-05-24

  • Makes iDEAL name parameter optional, also accepts empty string as nil #940
  • Adjusts scroll view content offset behavior when focusing on a text field #943

Version 13.0.1

17 May 22:18
v13.0.1
7c6de72
Compare
Choose a tag to compare

13.0.1 2018-05-17

  • Fixes an issue in STPRedirectContext causing some redirecting sources to fail in livemode due to prematurely dismissing the SFSafariViewController during the initial redirects. #937