STPIntentActionType
@objc
public enum STPIntentActionType : Int
Types of next actions for STPPaymentIntent
and STPSetupIntent
.
You shouldn’t need to inspect this yourself; STPPaymentHandler
will handle any next actions for you.
-
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
Swift
case unknown
-
The payment intent needs to be authorized by the user. We provide
STPPaymentHandler
to handle the url redirections necessary.Declaration
Swift
case redirectToURL
-
The payment intent requires additional action handled by
STPPaymentHandler
.Declaration
Swift
case useStripeSDK
-
The action type is OXXO payment. We provide
STPPaymentHandler
to display the OXXO voucher.Declaration
Swift
case OXXODisplayDetails
-
Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website.
Declaration
Swift
case alipayHandleRedirect