diff --git a/adm/shop_admin/configform.php b/adm/shop_admin/configform.php
index 2d95ad19f..d5fae9f6c 100644
--- a/adm/shop_admin/configform.php
+++ b/adm/shop_admin/configform.php
@@ -532,7 +532,6 @@ $pg_anchor = '
|
-
SR 영대문자, 숫자 혼용 3자리
|
diff --git a/adm/shop_admin/configformupdate.php b/adm/shop_admin/configformupdate.php
index cf2112315..b7de75fc7 100644
--- a/adm/shop_admin/configformupdate.php
+++ b/adm/shop_admin/configformupdate.php
@@ -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',
diff --git a/adm/shop_admin/orderform.php b/adm/shop_admin/orderform.php
index 8fbaa2b64..0356d335f 100644
--- a/adm/shop_admin/orderform.php
+++ b/adm/shop_admin/orderform.php
@@ -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 = '
원
결제대행사
@@ -551,7 +551,6 @@ $pg_anchor = '
|
원
-
결제대행사
|
@@ -570,8 +569,7 @@ $pg_anchor = '
|
원
-
- 결제대행사
+ 결제대행사
|
diff --git a/install/gnuboard5shop.sql b/install/gnuboard5shop.sql
index 43e923788..b485ba994 100644
--- a/install/gnuboard5shop.sql
+++ b/install/gnuboard5shop.sql
@@ -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',
diff --git a/install/install_db.php b/install/install_db.php
index 058c0c797..6af082fc4 100644
--- a/install/install_db.php
+++ b/install/install_db.php
@@ -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',
diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php
index 00fe4705d..53cefb5c5 100644
--- a/mobile/shop/orderform.php
+++ b/mobile/shop/orderform.php
@@ -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();
-
+
diff --git a/mobile/shop/orderinquiryview.php b/mobile/shop/orderinquiryview.php
index 1d85a3a3e..fc29a92fa 100644
--- a/mobile/shop/orderinquiryview.php
+++ b/mobile/shop/orderinquiryview.php
@@ -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'] == '가상계좌')) {
?>
diff --git a/mobile/shop/personalpayform.php b/mobile/shop/personalpayform.php
index c6772e393..f73d4639d 100644
--- a/mobile/shop/personalpayform.php
+++ b/mobile/shop/personalpayform.php
@@ -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']) {
-
+