IamportValidation.fromCertificationData constructor

IamportValidation.fromCertificationData(
  1. String userCode,
  2. CertificationData data,
  3. Function callback
)

Implementation

IamportValidation.fromCertificationData(
    String userCode, CertificationData data, Function callback) {
  if (data.popup == true) {
    isValid = false;
    errorMessage = '해당 모듈은 팝업 방식을 지원하지 않습니다.';
    return;
  }
}