CardFormViewControllerDelegate
@objc(PAYCardFormViewControllerDelegate)
public protocol CardFormViewControllerDelegate
CardFormViewController delegate.
-
Callback when card form operation is completed.
Declaration
Swift
func cardFormViewController(_: CardFormViewController, didCompleteWith result: CardFormResult)
Parameters
result
CardFormResult
-
Callback when creating token is completed.
Declaration
Swift
func cardFormViewController(_: CardFormViewController, didProduced token: Token, completionHandler: @escaping (Error?) -> Void)
Parameters
token
token created by card form
completionHandler
completion action