Version 11.0.0
bdorfman-stripe
released this
29 Jun 22:47
·
5864 commits
to master
since this release
- 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 yourSTPCustomerContext
before your user enters your checkout flow so their payment methods are loaded in advance. If in addition to usingSTPPaymentContext
, you create a separateSTPPaymentMethodsViewController
to let your customer manage their payment methods outside of your checkout flow, you can use the same instance ofSTPCustomerContext
for both. - We've added a
shippingAddress
property toSTPUserInformation
, 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.