ThreeDSecureProcessHandlerType
public protocol ThreeDSecureProcessHandlerType
Handler for 3DSecure process.
-
Start 3DSecure process Delegate will be released once the process is finished.
Declaration
Swift
@available(*, deprecated, message: "Use startThreeDSecureProcess(viewController:delegate:resourceId:﹚ instead.") func startThreeDSecureProcess(viewController: UIViewController, delegate: ThreeDSecureProcessHandlerDelegate, token: Token)Parameters
viewControllerthe viewController which will present SFSafariViewController.
delegateThreeDSecureProcessHandlerDelegate
tokenToken
-
Start 3DSecure process with resourceID Delegate will be released once the process is finished.
Declaration
Swift
func startThreeDSecureProcess(viewController: UIViewController, delegate: ThreeDSecureProcessHandlerDelegate, resourceId: String)Parameters
viewControllerthe viewController which will present SFSafariViewController.
delegateThreeDSecureProcessHandlerDelegate
resourceIdID of the resource(card, charge, token, etc.)
-
Complete 3DSecure process.
Declaration
Swift
func completeThreeDSecureProcess(url: URL) -> BoolParameters
urlredirect URL
View on GitHub