📒1. Prepare for verification

Prepare for credit card verification integration.

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.

<!-- 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.

var IMP = window.IMP; // Can be omitted
IMP.init("{Merchant ID}"); // Example: imp00000000

Last updated