STPPaymentHandlerActionStatus
enum STPPaymentHandlerActionStatus {}
STPPaymentHandlerActionStatus
represents the possible outcomes of requesting an action by STPPaymentHandler
. An action could be confirming and/or handling the next action for a PaymentIntent.
-
The action succeeded.
Declaration
Objective-C
STPPaymentHandlerActionStatusSucceeded
Swift
case succeeded = 0
-
The action was cancelled by the cardholder/user.
Declaration
Objective-C
STPPaymentHandlerActionStatusCanceled
Swift
case canceled = 1
-
The action failed. See the error code for more details.
Declaration
Objective-C
STPPaymentHandlerActionStatusFailed
Swift
case failed = 2