de_card_pg 필드 제거
This commit is contained in:
@ -532,7 +532,6 @@ $pg_anchor = '<ul class="anchor">
|
||||
<th scope="row"><label for="de_kcp_mid">KCP SITE CODE</label></th>
|
||||
<td>
|
||||
<?php echo help("KCP 에서 받은 SR 로 시작하는 영대문자, 숫자 혼용 총 5자리 SITE CODE 를 입력하세요.\n만약, 사이트코드가 SR로 시작하지 않는다면 KCP에 사이트코드 변경 요청을 하십시오. 예) SRZ89"); ?>
|
||||
<input type="hidden" name="de_card_pg" value="kcp">
|
||||
<span class="sitecode">SR</span> <input type="text" name="de_kcp_mid" value="<?php echo $default['de_kcp_mid']; ?>" id="de_kcp_mid" class="frm_input" size="2" maxlength="3" style="font:bold 15px Verdana;"> 영대문자, 숫자 혼용 3자리
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -98,7 +98,6 @@ $sql = " update {$g5['g5_shop_default_table']}
|
||||
de_card_test = '$de_card_test',
|
||||
de_card_use = '$de_card_use',
|
||||
de_card_point = '$de_card_point',
|
||||
de_card_pg = '$de_card_pg',
|
||||
de_settle_min_point = '$de_settle_min_point',
|
||||
de_settle_max_point = '$de_settle_max_point',
|
||||
de_settle_point_unit = '$de_settle_point_unit',
|
||||
|
||||
@ -76,11 +76,12 @@ if ($od['mb_id'] == "") {
|
||||
$qstr = "sort1=$sort1&sort2=$sort2&sel_field=$sel_field&search=$search&page=$page";
|
||||
|
||||
// PG사를 KCP 사용하면서 테스트 상점아이디라면
|
||||
$pg_url = 'http://admin8.kcp.co.kr';
|
||||
if ($default['de_card_test']) {
|
||||
// 로그인 아이디 / 비번
|
||||
// 일반 : test1234 / test12345
|
||||
// 에스크로 : escrow / escrow913
|
||||
$g5['g5_shop_cardpg']['kcp'] = "http://testadmin8.kcp.co.kr";
|
||||
$pg_url = 'http://testadmin8.kcp.co.kr';
|
||||
}
|
||||
|
||||
// 상품목록
|
||||
@ -515,7 +516,6 @@ $pg_anchor = '<ul class="anchor">
|
||||
<input type="text" name="od_receipt_price" value="<?php echo $od['od_receipt_price']; ?>" id="od_receipt_price" class="frm_input" size="10"> 원
|
||||
<?php
|
||||
if ($od['od_settle_case'] == '계좌이체' || $od['od_settle_case'] == '가상계좌') {
|
||||
$pg_url = $g5['g5_shop_cardpg'][$default['de_card_pg']];
|
||||
?>
|
||||
<a href="<?php echo $pg_url; ?>" target="_blank">결제대행사</a>
|
||||
<?php } ?>
|
||||
@ -551,7 +551,6 @@ $pg_anchor = '<ul class="anchor">
|
||||
<th scope="row"><label for="od_receipt_price"><?php echo $od['od_settle_case']; ?> 결제액</label></th>
|
||||
<td>
|
||||
<input type="text" name="od_receipt_price" value="<?php echo $od['od_receipt_price']; ?>" id="od_receipt_price" class="frm_input"> 원
|
||||
<?php $pg_url = $g5['g5_shop_cardpg'][$default['de_card_pg']];?>
|
||||
<a href="<?php echo $pg_url; ?>" target="_blank">결제대행사</a>
|
||||
</td>
|
||||
</tr>
|
||||
@ -570,8 +569,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
<th scope="row" class="sodr_sppay"><label for="od_receipt_price">신용카드 결제액</label></th>
|
||||
<td>
|
||||
<input type="text" name="od_receipt_price" value="<?php echo $od['od_receipt_price']; ?>" id="od_receipt_price" class="frm_input" size="10"> 원
|
||||
<?php $card_url = $g5['g5_shop_cardpg'][$default['de_card_pg']]; ?>
|
||||
<a href="<?php echo $card_url; ?>" target="_blank">결제대행사</a>
|
||||
<a href="<?php echo $pg_url; ?>" target="_blank">결제대행사</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -258,7 +258,6 @@ CREATE TABLE IF NOT EXISTS `g5_shop_default` (
|
||||
`de_card_test` int(11) NOT NULL DEFAULT '0',
|
||||
`de_card_use` int(11) NOT NULL DEFAULT '0',
|
||||
`de_card_point` int(11) NOT NULL DEFAULT '0',
|
||||
`de_card_pg` varchar(255) NOT NULL DEFAULT '',
|
||||
`de_settle_min_point` int(11) NOT NULL DEFAULT '0',
|
||||
`de_settle_max_point` int(11) NOT NULL DEFAULT '0',
|
||||
`de_settle_point_unit` int(11) NOT NULL DEFAULT '0',
|
||||
|
||||
@ -270,7 +270,6 @@ if($g5_shop_install) {
|
||||
de_cart_keep_term = '15',
|
||||
de_card_point = '0',
|
||||
de_point_days = '7',
|
||||
de_card_pg = 'kcp',
|
||||
de_kcp_mid = '',
|
||||
de_send_cost_case = '차등',
|
||||
de_send_cost_limit = '20000;30000;40000',
|
||||
|
||||
@ -23,9 +23,8 @@ set_session('ss_order_id', $od_id);
|
||||
|
||||
$s_cart_id = $tmp_cart_id;
|
||||
$order_action_url = G5_HTTPS_MSHOP_URL.'/orderformupdate.php';
|
||||
if (file_exists('./settle_'.$default['de_card_pg'].'.inc.php')) {
|
||||
include './settle_'.$default['de_card_pg'].'.inc.php';
|
||||
}
|
||||
|
||||
require './settle_kcp.inc.php';
|
||||
|
||||
// 결제등록 요청시 사용할 입금마감일
|
||||
$ipgm_date = date("Ymd", (G5_SERVER_TIME + 86400 * 5));
|
||||
@ -813,7 +812,7 @@ ob_end_clean();
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
<!-- <?php if ($default[de_card_use] || $default[de_iche_use]) { echo "결제대행사 : $default[de_card_pg]"; } ?> -->
|
||||
<!-- <?php if ($default['de_card_use'] || $default['de_iche_use']) { echo "결제대행사 : KCP"; } ?> -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@ -320,7 +320,7 @@ include_once(G5_MSHOP_PATH.'/_head.php');
|
||||
}
|
||||
|
||||
// 현금영수증 발급을 사용하는 경우에만
|
||||
if ($default['de_taxsave_use'] && $default['de_card_pg'] == 'kcp') {
|
||||
if ($default['de_taxsave_use']) {
|
||||
// 미수금이 없고 현금일 경우에만 현금영수증을 발급 할 수 있습니다.
|
||||
if ($misu_price == 0 && $od['od_receipt_price'] && ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '계좌이체' || $od['od_settle_case'] == '가상계좌')) {
|
||||
?>
|
||||
|
||||
@ -14,9 +14,8 @@ $g5['title'] = $pp['pp_name'].'님 개인결제';
|
||||
include_once(G5_MSHOP_PATH.'/_head.php');
|
||||
|
||||
$action_url = G5_HTTPS_MSHOP_URL.'/personalpayformupdate.php';
|
||||
if (file_exists('./settle_'.$default['de_card_pg'].'.inc.php')) {
|
||||
include './settle_'.$default['de_card_pg'].'.inc.php';
|
||||
}
|
||||
|
||||
require './settle_kcp.inc.php';
|
||||
|
||||
// 결제등록 요청시 사용할 입금마감일
|
||||
$ipgm_date = date("Ymd", (G5_SERVER_TIME + 86400 * 5));
|
||||
@ -264,7 +263,7 @@ if($default['de_escrow_use']) {
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
<!-- <?php if ($default[de_card_use] || $default[de_iche_use]) { echo "결제대행사 : $default[de_card_pg]"; } ?> -->
|
||||
<!-- <?php if ($default['de_card_use'] || $default['de_iche_use']) { echo "결제대행사 : KCP"; } ?> -->
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
@ -30,9 +30,8 @@ $od_id = get_uniqid();
|
||||
set_session('ss_order_id', $od_id);
|
||||
$s_cart_id = $tmp_cart_id;
|
||||
$order_action_url = G5_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
if (file_exists('./settle_'.$default['de_card_pg'].'.inc.php')) {
|
||||
include './settle_'.$default['de_card_pg'].'.inc.php';
|
||||
}
|
||||
|
||||
require './settle_kcp.inc.php';
|
||||
?>
|
||||
|
||||
<?php
|
||||
@ -1058,7 +1057,7 @@ function get_intall_file()
|
||||
<!-- } 에스크로 안내 끝 -->
|
||||
<?php } ?>
|
||||
|
||||
<!-- <?php if ($default[de_card_use] || $default[de_iche_use]) { echo "결제대행사 : $default[de_card_pg]"; } ?> -->
|
||||
<!-- <?php if ($default['de_card_use'] || $default['de_iche_use']) { echo "결제대행사 : KCP"; } ?> -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@ -30,9 +30,8 @@ if($od['od_cancel_price'] > 0 || $ct['od_count1'] != $ct['od_count2']) {
|
||||
|
||||
// PG 결제 취소
|
||||
if($od['od_tno']) {
|
||||
if (file_exists('./settle_'.$default['de_card_pg'].'.inc.php')) {
|
||||
include './settle_'.$default['de_card_pg'].'.inc.php';
|
||||
}
|
||||
require './settle_kcp.inc.php';
|
||||
|
||||
$_POST['tno'] = $od['od_tno'];
|
||||
$_POST['req_tx'] = 'mod';
|
||||
$_POST['mod_type'] = 'STSC';
|
||||
|
||||
@ -333,7 +333,7 @@ if(openwin != null) {
|
||||
}
|
||||
|
||||
// 현금영수증 발급을 사용하는 경우에만
|
||||
if ($default['de_taxsave_use'] && $default['de_card_pg'] == 'kcp') {
|
||||
if ($default['de_taxsave_use']) {
|
||||
// 미수금이 없고 현금일 경우에만 현금영수증을 발급 할 수 있습니다.
|
||||
if ($misu_price == 0 && $od['od_receipt_price'] && ($od['od_settle_case'] == '무통장' || $od['od_settle_case'] == '계좌이체' || $od['od_settle_case'] == '가상계좌')) {
|
||||
?>
|
||||
|
||||
@ -19,9 +19,8 @@ $g5['title'] = $pp['pp_name'].'님 개인결제';
|
||||
include_once('./_head.php');
|
||||
|
||||
$action_url = G5_HTTPS_SHOP_URL.'/personalpayformupdate.php';
|
||||
if (file_exists('./settle_'.$default['de_card_pg'].'.inc.php')) {
|
||||
include './settle_'.$default['de_card_pg'].'.inc.php';
|
||||
}
|
||||
|
||||
require './settle_kcp.inc.php';
|
||||
|
||||
// 개인결제 체크를 위한 hash
|
||||
$hash_data = md5($pp['pp_id'].$pp['pp_price'].$pp['pp_time']);
|
||||
|
||||
Reference in New Issue
Block a user