Verification Events
Event | Description |
---|---|
onVerifyCancel | When user has canceled the verification. |
onVerifyComplete | When user has successfully completed the verification process and has been verified. |
onVerifyDone | When the user has completed the verification and closed the verification widget. |
onVerifyError | If an error occurs. See Error Codes section. |
Sample code usage:
privo.verify.addEventHandlers({
onVerify: handleVerifyEvent,
onVerifyDone: handleDoneEvent,
onVerifyCancel: handleCancelEvent,
onVerifyError: handleErrorEvent
});