🥏2. Request verification
Call the credit card identity verification window.
The credit card identity verification window can be invoked in the following two modes:
Popup (Default)
Opens the identity verification popup window. When verification is complete, post-processing is performed through the
callback
function specified as the second argument ofIMP.certification
.
Redirection (applicable in mobile environment only)
Redirects to the identity verification page by setting
param.popup
tofalse
(default)
in a mobile environment. When verification is complete, the page is redirected back to the URL specified byparam.m_redirect_url
.To use the popup (default) mode, set
param.popup
totrue
.In environments where popups are blocked, such as WebView, it is recommended to set
popup
tofalse
.
The following example calls the JavaScript SDK IMP.certification function to open the credit card identity verification window.
Last updated