SCPPaymentIntentStatus
Objective-C
enum SCPPaymentIntentStatus : NSUInteger {}
Swift
enum PaymentIntentStatus : UInt, @unchecked Sendable
The possible statuses for a PaymentIntent.
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-status
-
Next step: collect a payment method by calling
collectPaymentMethod
.Declaration
Objective-C
SCPPaymentIntentStatusRequiresPaymentMethod
Swift
case requiresPaymentMethod = 0
-
Next step: confirm the payment by calling
confirmPaymentIntent
.Declaration
Objective-C
SCPPaymentIntentStatusRequiresConfirmation
Swift
case requiresConfirmation = 1
-
Next step: the payment requires additional actions, such as authenticating with 3D Secure.
Note
PaymentIntents collected with the Terminal SDK should not end in the
requires_action
status. You can use theintent.originalJSON
to review thenext_action
.Declaration
Objective-C
SCPPaymentIntentStatusRequiresAction
Swift
case requiresAction = 2
-
Next step: capture the PaymentIntent on your backend via the Stripe API.
Declaration
Objective-C
SCPPaymentIntentStatusRequiresCapture
Swift
case requiresCapture = 3
-
The PaymentIntent is in the middle of full EMV processing.
Declaration
Objective-C
SCPPaymentIntentStatusProcessing
Swift
case processing = 4
-
The PaymentIntent was canceled.
Declaration
Objective-C
SCPPaymentIntentStatusCanceled
Swift
case canceled = 5
-
The PaymentIntent succeeded.
Declaration
Objective-C
SCPPaymentIntentStatusSucceeded
Swift
case succeeded = 6