Add the i'mport library to the target page.
Credit card identity verification is supported in i'mport JavaScript v1.1.7 or later versions.
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.
client-sideIMP.init("{Merchant ID}"); // Example: imp00000000