STPPaymentIntentStatus
enum STPPaymentIntentStatus {}
Status types for an STPPaymentIntent
-
Unknown status
Declaration
Objective-C
STPPaymentIntentStatusUnknown
Swift
case unknown = 0
-
This PaymentIntent requires a PaymentMethod or Source
Declaration
Objective-C
STPPaymentIntentStatusRequiresPaymentMethod
Swift
case requiresPaymentMethod = 1
-
Deprecated
Use STPPaymentIntentStatusRequiresPaymentMethod
This PaymentIntent requires a Source @deprecated Use STPPaymentIntentStatusRequiresPaymentMethod instead.
Declaration
Objective-C
STPPaymentIntentStatusRequiresSource = STPPaymentIntentStatusRequiresPaymentMethod
Swift
static var requiresSource: STPPaymentIntentStatus { get }
-
This PaymentIntent needs to be confirmed
Declaration
Objective-C
STPPaymentIntentStatusRequiresConfirmation
Swift
case requiresConfirmation = 2
-
The selected PaymentMethod or Source requires additional authentication steps. Additional actions found via
next_action
Declaration
Objective-C
STPPaymentIntentStatusRequiresAction
Swift
case requiresAction = 3
-
Deprecated
Use STPPaymentIntentStatusRequiresAction
The selected Source requires additional authentication steps. Additional actions found via
next_source_action
@deprecated Use STPPaymentIntentStatusRequiresAction instead.Declaration
Objective-C
STPPaymentIntentStatusRequiresSourceAction = STPPaymentIntentStatusRequiresAction
Swift
static var requiresSourceAction: STPPaymentIntentStatus { get }
-
Stripe is processing this PaymentIntent
Declaration
Objective-C
STPPaymentIntentStatusProcessing
Swift
case processing = 4
-
The payment has succeeded
Declaration
Objective-C
STPPaymentIntentStatusSucceeded
Swift
case succeeded = 5
-
Indicates the payment must be captured, for STPPaymentIntentCaptureMethodManual
Declaration
Objective-C
STPPaymentIntentStatusRequiresCapture
Swift
case requiresCapture = 6
-
This PaymentIntent was canceled and cannot be changed.
Declaration
Objective-C
STPPaymentIntentStatusCanceled
Swift
case canceled = 7