Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
이니시스 결제모듈 JS 파일 로드 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed May 13, 2016
1 parent 844b283 commit 0f60533
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions shop/inicis/orderform.1.php
Expand Up @@ -3,10 +3,9 @@

// 전자결제를 사용할 때만 실행
if($default['de_iche_use'] || $default['de_vbank_use'] || $default['de_hp_use'] || $default['de_card_use'] || $default['de_easy_pay_use']) {
add_javascript('<script language="javascript" type="text/javascript" src="'.$stdpay_js_url.'" charset="UTF-8"></script>', 10);
?>

<script language=javascript src="<?php echo $stdpay_js_url; ?>"></script>

<script language=javascript>
function make_signature(frm)
{
Expand Down
6 changes: 3 additions & 3 deletions shop/settle_inicis.inc.php
Expand Up @@ -15,17 +15,17 @@
$default['de_inicis_sign_key'] = 'SU5JTElURV9UUklQTEVERVNfS0VZU1RS';
}

$stdpay_js_url = 'https:/stgstdpay.inicis.com/stdjs/INIStdPay.js';
$stdpay_js_url = 'https://stgstdpay.inicis.com/stdjs/INIStdPay.js';
}
else {
$default['de_inicis_mid'] = "SIR".$default['de_inicis_mid'];

if ($default['de_escrow_use'] == 1) {
// 에스크로결제 테스트
// 에스크로결제
$useescrow = ':useescrow';
}
else {
// 일반결제 테스트
// 일반결제
$useescrow = '';
}

Expand Down

0 comments on commit 0f60533

Please sign in to comment.