Search
K
📒

Prepare for verification

Prepare for integrated identity verification integration.

Add the i'mport library to the target page.

Integrated identity verification is supported in i'mport JavaScript v1.1.8 or later versions.
HTML
client-side
<!-- jQuery -->
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.min.js" ></script>
<!-- iamport.payment.js -->
<script type="text/javascript" src="https://cdn.iamport.kr/js/iamport.payment-{SDK-latest version}.js"></script>
You must install jQuery 1.0 or later version.

Initialize the IMP object using the Merchant ID on the identity verification page.

JavaScript
JavaScript(ES Next)
client-side
var IMP = window.IMP; // Can be omitted
IMP.init("{Merchant ID}"); // Example: imp00000000
client-side
const IMP = window.IMP; // Can be omitted
IMP.init("{Merchant ID}"); // Example: imp00000000