Skip to content

Version 11.0.0

Compare
Choose a tag to compare
@bdorfman-stripe bdorfman-stripe released this 29 Jun 22:47
· 5542 commits to master since this release
v11.0.0
  • 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.