Skip to content

Releases: stripe/stripe-ios

Version 11.0.0

29 Jun 22:47
v11.0.0
Compare
Choose a tag to compare
  • We've greatly simplified the integration for STPPaymentContext. See MIGRATING.md.
  • As part of this new integration, we've added a new class, STPCustomerContext, which will automatically prefetch your customer and cache it for a brief interval. We recommend initializing your STPCustomerContext before your user enters your checkout flow so their payment methods are loaded in advance. If in addition to using STPPaymentContext, you create a separate STPPaymentMethodsViewController to let your customer manage their payment methods outside of your checkout flow, you can use the same instance of STPCustomerContext for both.
  • We've added a shippingAddress property to STPUserInformation, which you can use to pre-fill your user's shipping information.
  • STPPaymentContext will now save your user's shipping information to their Stripe customer object. Shipping information will automatically be pre-filled from the customer object for subsequent checkouts.
  • Fixes nullability annotation for [STPFile stringFromPurpose:]. See MIGRATING.md.
  • Adds description implementations to all public models, for easier logging and debugging.
  • The card autofill via SMS feature of STPPaymentContext has been removed. See MIGRATING.md.

Version 10.2.0

19 Jun 21:32
v10.2.0
Compare
Choose a tag to compare
  • We've added a paymentCountry property to STPPaymentContext. This affects the countryCode of Apple Pay payments, and defaults to "US". You should set this to the country your Stripe account is in.
  • paymentRequestWithMerchantIdentifier: has been deprecated. See MIGRATING.md
  • If the card.io framework is present in your app, STPPaymentContext and STPAddCardViewController will show a "scan card" button.
  • STPAddCardViewController will now attempt to auto-fill the users city and state from their entered Zip code (United States only)
  • Polling for source object updates is deprecated. Check https://stripe.com/docs for the latest best practices on how to integrate with the sources API using webhooks.
  • Fixes a crash in STPCustomerDeserializer when both data and error are nil.
  • paymentMethodsViewController:didSelectPaymentMethod: is now optional.
  • Updates the example apps to use Alamofire.

Version 10.1.0

05 May 22:35
v10.1.0
Compare
Choose a tag to compare
  • Adds STPRedirectContext, a helper class for handling redirect sources.
  • STPAPIClient now supports tokenizing a PII number and uploading images.
  • Updates STPPaymentCardTextField's icons to match Elements on the web. When the card number is invalid, the field will now display an error icon.
  • The alignment of the new brand icons has changed to match the new CVC and error icons. If you use these icons via STPImageLibrary, you may need to adjust your layout.
  • STPPaymentCardTextField's isValid property is now KVO-observable.
  • When creating STPSourceParams for a SEPA debit source, address fields are now optional.
  • STPPaymentMethodsViewControllerDelegate now has a separate paymentMethodsViewControllerDidCancel: callback, differentiating from successful method selections. You should make sure to also dismiss the view controller in that callback
  • Because collecting some basic data on tokenization helps us detect fraud, we've removed the ability to disable analytics collection using [Stripe disableAnalytics].

Version 10.0.1

16 Mar 18:08
v10.0.1
Compare
Choose a tag to compare
  • Fixes a bug where card sources didn't include the card owner's name.
  • Fixes an issue where STPPaymentMethodsViewController didn't reload after adding a new payment method.

Version 10.0.0

08 Mar 21:41
v10.0.0
Compare
Choose a tag to compare
  • Adds support for creating, retrieving, and polling Sources. You can enable any payment methods available to you in the Dashboard.
  • Updates the Objective-C example app to include example integrations using several different payment methods.
  • Updates STPCustomer to include STPSource objects in its sources array if a customer has attached sources.
  • Removes methods deprecated in Version 6.0.
  • Fixes property declarations missing strong/nullable identifiers.

Version 9.4.0

06 Feb 21:12
Compare
Choose a tag to compare
v9.4.0

Version 9.3.0

06 Jan 20:25
Compare
Choose a tag to compare
v9.3.0

Version 9.2.0

15 Nov 16:28
Compare
Choose a tag to compare
v9.2.0

Shipping collection

Version 9.1.0

02 Nov 21:17
Compare
Choose a tag to compare
v9.1.0

Version 9.0.0

05 Oct 18:38
Compare
Choose a tag to compare
v9.0.0