Constants

The following constants are available globally.

Error Codes

  • A value for code indicating the provided payment method failed authentication.

    Declaration

    Objective-C

    extern NSString
        *const _Nonnull STPSetupIntentLastSetupErrorCodeAuthenticationFailure

    Swift

    let STPSetupIntentLastSetupErrorCodeAuthenticationFailure: String
  • All Stripe iOS errors will be under this domain.

    Declaration

    Objective-C

    extern NSString *const _Nonnull StripeDomain

    Swift

    let StripeDomain: String

userInfo keys

STPCardErrorCodeKeys