STPPaymentIntentActionType

enum STPPaymentIntentActionType {}

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

  • Deprecated

    Use STPIntentActionTypeUnknown instead

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

    Declaration

    Objective-C

    STPPaymentIntentActionTypeUnknown = 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

    STPPaymentIntentActionTypeRedirectToURL = STPIntentActionTypeRedirectToURL

    Swift

    case redirectToURL = 1