LogoLogo
  • 🧩i'mport Payment Integration Docs
    • 🚗GET STARTED
  • 🛫Setup
    • 🖥️1. Create an account
    • 🧷2. Set up PG
      • 🏢Payment gateway settings
        • ⌨️NHN KCP
        • ⌨️KG INICIS
        • ⌨️NICE Payments
        • ⌨️Toss Payments
        • ⌨️KICC
        • ⌨️Paymentwall
        • ⌨️Daou
        • ⌨️다날 설정
        • ⌨️JTNET 설정
        • ⌨️세틀뱅크 설정
        • ⌨️KG모빌리언스 설정
        • ⌨️스마트로 설정
        • ⌨️페이팔 설정
        • ⌨️엑심베이 설정
        • ⌨️블루월넛 설정
      • ⛺간편 결제사
        • ⌨️카카오페이 설정
        • ⌨️토스간편결제 설정
        • ⌨️네이버페이(결제형) 설정
        • ⌨️페이코 설정
        • ⌨️차이 설정
        • ⌨️알리페이 설정
    • ✔️3. Check required info
  • Payment window
    • 🖥️Authenticated payment
      • 📒Definition
      • 🌠1. Add i'mport library
      • 💡2. Initialize IMP object
      • 🪧3. Request payment
      • 🎁4. Process payment result
        • 🪟Iframe method
        • 🖼️Redirect method
      • 🔦5. Verify payment information
      • 🛬6. Complete payment
    • ⏰Non-authenticated payment
      • 🏍️Request billing key payment
        • 🖱️REST API
        • 🛡️PG window
      • 💳Key-in payment using card info
      • 🪧Subscription payment using billing key
    • 💸Payment cancellation (refund)
      • 💷Virtual account refund
  • Payment result
    • ⚒️Set up a webhook
  • Other Services
    • 📱Mobile identity verification
      • 📔1. Prepare for verification
      • 🥏2. Request verification
      • 🚚3. Send verification result
      • 🤹4. Get verification info
    • 🚚Integrated identity verification
      • 📒Prepare for verification
      • 🥏Request verification
      • 🚚Send verification result
      • 🤹Get verification info
    • 💳Credit card identity verification
      • 📒1. Prepare for verification
      • 🥏2. Request verification
      • 🚚3. Send verification result
      • 🤹4. Get verification info
    • 💻Generate payment URL
    • 🛩️Integrate budget handler
    • 📟Native mobile SDKs
  • TIPS
    • 🌽Tax exemption on payments
    • ✅Service launch checklist
    • 🔏Confirm Process
    • 🎼i'mport payment flow
    • 🎈Agency & Tier
    • 📦Billing key issuance by PG
    • 🏦Bank codes by PG
    • 🧾PG codes
    • 🚚Courier codes
    • 🪧What is redirection?
    • 📰PG error codes
  • Admin console
    • 🎡Admin console guide
      • Apply for online payment
      • My ID & API keys
      • Manage admin & sub-merchant accounts
      • Integrate payment
      • Payment activity
    • 💻Integrating Multiple PGs
  • API
    • 📋i'mport API overview
    • 🖇️REST API Access Token
    • 💳Payment API
      • ⌨️Cancel payment API
      • ⌨️Get payment API
      • ⌨️Get payments API
      • ⌨️Get payments by status API
      • ⌨️Get payments by order ID, status (All)
      • ⌨️Get payments by order ID, status (Top 1)
      • ⌨️Get balance API (for split payment transaction)
      • ⌨️Get payments by billing key API
      • ⌨️Save payment amount API
      • ⌨️Update payment amount API
      • ⌨️Get payment amount API
    • 📝Billing key API
      • ⌨️Request billing key API
      • ⌨️Delete billing key API
      • ⌨️Get billing key API
      • ⌨️Get billing keys API
      • ⌨️Get scheduled payments API
    • 🧭Subscription payment API
      • ⌨️Schedule payment API
      • ⌨️Cancel scheduled payment API
      • ⌨️Get scheduled payments API
      • ⌨️Get scheduled payment API
      • ⌨️Get scheduled payments by billing key API
    • 🪂Non-authenticated payment API
      • ⌨️Request non-authenticated payment (billing key) API
      • ⌨️Request non-authenticated payment (one-time) API
    • 🇺🇲🇺🇲 Overseas PG API
      • ⌨️Paymentwall delivery API
    • 👮‍♂️👮♂ Identity verification API
      • ⌨️Get identity verification result API
      • ⌨️Delete identity verification API
      • ⌨️Request identity verification API
      • ⌨️Confirm identity verification API
    • 🎫Simple payment service API
      • 🧽Kakao Pay
        • ⌨️Get order API
      • 🛩️KCP Quick Pay
        • ⌨️Delete user API
      • 🧰PAYCO
        • ⌨️Update order status API
      • 📗Naver Pay
        • ⌨️Confirm escrow order API
        • ⌨️Accrue points API
        • ⌨️Get cash receipt amount API
    • 🏦Escrow API
      • ⌨️Get delivery info API
      • ⌨️Add delivery info API
      • ⌨️Update delivery info API
    • 💵Cash receipt API
      • ⌨️Cancel cash receipt transaction API
      • ⌨️Get cash receipt API
      • ⌨️Request cash receipt API
      • ⌨️Cancel cash receipt (external) API
      • ⌨️Get cash receipt (external) API
      • ⌨️Request cash receipt (external) API
    • 🏛️Virtual account API
      • ⌨️Request virtual account API
      • ⌨️Cancel virtual account API
      • ⌨️Update virtual account API
      • ⌨️Get account holder API
    • 🍶Miscellaneous API
      • 🎽Benepia point
        • ⌨️Get points API
        • ⌨️Request point payment API
      • 🏪Convenience store payment
        • ⌨️Request barcode API
        • ⌨️Cancel barcode API
      • 🗃️Financial institution codes
        • ⌨️Get credit card codes (All) API
        • ⌨️Get credit card name API
        • ⌨️Get bank codes (All) API
        • ⌨️Get bank name API
      • 🛖PG information
        • ⌨️Get PG MIDs API
  • SDK
    • 📚Javascript SDK
      • 💿Payment request parameters
      • 📀Payment response parameters
      • 💿Identity verification request parameters
      • 📀Identity verification response parameters
      • ✏️SDK Release Notes
  • FAQ
    • ⁉️FAQ
  • 🔑Payment integration by PG
    • 🏢Payment gateways
      • ⌨️NHH KCP
      • ⌨️KG INICIS
      • ⌨️Toss Payments
      • ⌨️NICE Payments
      • ⌨️KICC
      • ⌨️Daou (PAYJOA)
        • 📍Precautions for using PAYJOA
      • ⌨️KG Mobilians
      • ⌨️Paymentwall
      • ⌨️Danal
      • ⌨️Settlebank
      • ⌨️JTNET
      • ⌨️Smartro
      • ⌨️PayPal
      • ⌨️Eximbay
      • ⌨️Blue Walnut
    • ⛺Simple payments
      • ⌨️Naver Pay (Standard)
      • ⌨️Kakao Pay
      • ⌨️PAYCO
      • ⌨️Alipay
      • ⌨️Toss
  • Korean Integration Docs
Powered by GitBook
On this page
  • Version 1.2.0
  • Version 1.1.8
  • Version 1.1.7
  • Version 1.1.5 and earlier versions
  1. SDK
  2. Javascript SDK

SDK Release Notes

Feature additions/changes, bug fixes, and enhancements to the i'mport JavaScript SDK.

PreviousIdentity verification response parametersNextFAQ

Last updated 2 years ago

Version 1.2.0

TBU

Version 1.1.8

Details

Changed Kakao Pay mobile payment to use redirection mode

In compliance with the iframe non-support policy of Kakao Pay SDK, Kakao Pay mobile payment is processed now via page redirection instead of iframe.In the previous version, when the Kakao Pay mobile payment process is completed after calling IMP.request_pay, the specified callback is invoked as in PC web. In mobile, Kakao Pay is now processed via redirection mode.

Added Naver Pay (Checkout) pop-up mode (redirection as default mode)

To open the Naver Pay (Checkout) window as pop-up, set popup: true when calling IMP.request_pay. The callback mode is used by default.To avoid issues, such as browser pop-up blocking, Naver Pay recommends page redirection in both PC and mobile.

  • 1.1.8 and later versions

    • PC/mobile: redirection is default, set to popup : true to enable popup mode.

  • 1.1.7 and earlier versions (popup not supported)

    • PC: pop-up (new tab) mode

    • Mobile: redirection mode

Added redirection mode for Eximbay

To redirect to a page after payment process is completed, set popup : false when calling IMP.request_pay. To avoid pop-up blocking issues in mobile app WebView, use the redirection mode.

  • 1.1.8 and later versions

    • PC/mobile: popup is default, set to popup : false to enable redirection mode.

  • 1.1.7 and earlier versions (popup not supported)

    • PC/mobile: popup mode

Multiple PG support for identity verification

Added support for multiple PG modules in identity verification due to the addition of the INICIS-Credit card identity verification method to the existing Danal-Mobile identity verification method. You can also get multiple CPIDs, one for each website, for 'Danal-Mobile identity verification', and specify a module via pg: danal.{Danal CPID}.

Danal-mobile identity verification
  IMP.certification({
    pg: "danal", // danal or danal.{Danal CPID}, other parameters omitted
    ...
    ...
  }, function(rsp) {
    if ( rsp.success ) {
      // Verification successful, return imp_uid, merchant_uid (rsp.imp_uid, rsp.merchant_uid)
    } else {
      // Verification failed, terminate
    }
  });
Inicis-credit card identity verification
// popup : true by default in both PC/mobile
// PC : applies popup mode regardless of popup parameter setting (INICIS policy)
// Mobile : for redirection mode, set popup : false and m_redirect_url is required
IMP.certification({
    pg: "inicis", //inicis or inicis.{Inicis MID}, other parameters omitted
    m_redirect_url: "https://shop.yourservice.com/user-certificates/complete",
    ...
    ...
});

Bug Fixes

The issue of white screen being displayed when the browser's Back button is pressed while processing payment in redirection mode in Safari on iPhone

This is caused by the page being rendered by restoring the DOM element in the state before the page redirection when you return to the previous page with the Back button of the Safari browser (applicable to all PGs that use the redirection mode). The white screen issue is now resolved.

Version 1.1.7

Details

Added popup mode for PayPal

To open the payment window as pop-up, set popup: true when calling IMP.request_pay(param, callback). The callback function is called after the payment process is completed. Previous versions only support the page redirection mode.

javascript popup mode
  // Set popup : true and callback, other parameters omitted
  IMP.request_pay({
    pg: "paypal",
    popup: true,
    ...
    ...
  }, function(rsp) {
    if ( rsp.success ) {
      //Paypal payment successful, execute validation logic
    } else {
      //Paypal payment terminated or failed
    }
  });
javascript redirect mode
 // Set m_redirect_url (popup : false by default, not set explicitly)
  IMP.request_pay({
    pg: "paypal",
    m_redirect_url: "https://shop.yourservice.com/payments/complete",
    ...
    ...
  });

Added redirection mode for Danal identity verification

To redirect to a page after identity verification, set the target page's URL in m_redirect_url when calling IMP.certification. Previous versions only support the callback mode. For more information about using the redirection mode, refer to the page.

javascript (popup mode)
  // Set popup : true
  IMP.certification({
    merchant_uid : "verification transaction ID",
    popup: true
  }, function(rsp) {
    if ( rsp.success ) {
      // Verification successful
    } else {
      // Verification failed or terminated (popup closed or Cancel button clicked)
    }
  });
javascript redirect mode
  // Set m_redirect_url (popup : false by default, not set explicitly)
  IMP.certification({
    merchant_uid : "verification transaction ID"
    m_redirect_url: "https://shop.yourservice.com/payments/complete",
  });

Bug Fixes

The issue of callback not being invoked when you click the close button (X button) in the identity verification (Danal) pop-up

When you close the identity verification pop-up window or click the Cancel button on the page in the pop-up mode, the callback (handler) of IMP.certification(param, handler) is invoked. This fix implements the same behavior for when the X button is clicked.

Version 1.1.5 and earlier versions

Details

iamport.payment-1.1.5.js

<script src="https://cdn.iamport.kr/js/iamport.payment-1.1.5.js" type="text/javascript"></script>

Deployed on 2017-04-03

  • Added function to redirect to m_redirect_url when error occurs before starting the payment process after calling IMP.request_pay(param) in mobile.

Reasons for failure before starting payment process

  • Reusing an already used merchant_uid (Order ID) for payment.

  • Invalid payment request parameter.

Reasons for failure after starting payment process

  • Credit card suspended or limit exceeded.

  • Exceeded number of password errors.

iamport.payment-1.1.4.js

<script src="https://cdn.iamport.kr/js/iamport.payment-1.1.4.js" type="text/javascript"></script>

Deployed on 2016-11-14

  • Added Agency-tier feature: IMP.agency(Merchant ID, Tier Code) function

  • Added SMS mobile identity verification feature: IMP.certification() function

iamport.payment-1.1.3.js

<script src="https://cdn.iamport.kr/js/iamport.payment-1.1.3.js" type="text/javascript"></script>

Deployed on 2016-07-13

  • Code refactored and performance enhanced version of 1.1.2 version.

iamport.payment-1.1.2.js

<script src="https://cdn.iamport.kr/js/iamport.payment-1.1.2.js" type="text/javascript"></script>

Deployed on 2016-03-09

  • Enhanced method of calling multiple PG settings.

iamport.payment-1.1.1.js

<script src="https://cdn.iamport.kr/js/iamport.payment-1.1.1.js" type="text/javascript"></script>

Deployed on 2016-02-19

  • Extended PG parameter value to allow for PG + MID combination (pg : '{PG}.{MID}').

iamport.payment-1.1.0.js

<script src="https://cdn.iamport.kr/js/iamport.payment-1.1.0.js" type="text/javascript"></script>

Deployed on 2016-01-19

  • Added pg parameter to allow an account to use multiple PG modules (pg : '{PG}')

iamport.payment-1.0.0.js

<script src="https://cdn.iamport.kr/js/iamport.payment-1.0.0.js" type="text/javascript"></script>

Deployed on 2014-10-24

  • Initial stable release (Unversioned release, same as iamport.payment-1.0.0.js)

iamport.payment.js

<script src="https://cdn.iamport.kr/js/iamport.payment.js" type="text/javascript"></script>
📚
✏️
Mobile identity verification