Stripe v16.0.0 Release Notes

Release Date: 2019-07-18 // almost 5 years ago
  • 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