STPPaymentIntentSourceActionType

enum STPPaymentIntentSourceActionType {}

Types of Source Actions from a STPPaymentIntent, when the payment intent status is STPPaymentIntentStatusRequiresSourceAction.

@deprecated UseSTPPaymentIntentActionType instead.

  • Deprecated

    Use STPIntentActionTypeUnknown instead

    This is an unknown source action, that’s been added since the SDK was last updated. Update your SDK, or use the nextSourceAction.allResponseFields for custom handling.

    Declaration

    Objective-C

    STPPaymentIntentSourceActionTypeUnknown = STPIntentActionTypeUnknown

    Swift

    case unknown = 0
  • Deprecated

    Use STPIntentActionTypeRedirectToURL instead

    The payment intent needs to be authorized by the user. We provide STPRedirectContext to handle the url redirections necessary.

    Declaration

    Objective-C

    STPPaymentIntentSourceActionTypeAuthorizeWithURL =
        STPIntentActionTypeRedirectToURL

    Swift

    case authorizeWithURL = 1