kcp 사이트 키사용 관련 코드 수정

This commit is contained in:
chicpro
2013-10-22 17:09:47 +09:00
parent 1999939419
commit aa2294b672
4 changed files with 3 additions and 16 deletions

View File

@ -220,7 +220,7 @@ else if ($req_tx = "mod_escrow")
/* = -------------------------------------------------------------------------- = */
if ( $tran_cd != "" )
{
$c_PayPlus->mf_do_tx( $trace_no, $g_conf_home_dir, $g_conf_site_cd, "", $tran_cd, "",
$c_PayPlus->mf_do_tx( $trace_no, $g_conf_home_dir, $g_conf_site_cd, $g_conf_site_key, $tran_cd, "",
$g_conf_gw_url, $g_conf_gw_port, "payplus_cli_slib", $ordr_idxx,
$cust_ip, "3" , 0, 0, $g_conf_key_dir, $g_conf_log_dir); // 응답 전문 처리

View File

@ -67,7 +67,7 @@ if ( $req_tx == "pay" )
$c_PayPlus->mf_set_modx_data( "mod_desc", $cancel_msg ); // 변경 사유
$c_PayPlus->mf_do_tx( $tno, $g_conf_home_dir, $g_conf_site_cd,
"", $tran_cd, "",
$g_conf_site_key, $tran_cd, "",
$g_conf_gw_url, $g_conf_gw_port, "payplus_cli_slib",
$ordr_idxx, $cust_ip, "3" ,
0, 0, $g_conf_key_dir, $g_conf_log_dir);

View File

@ -2,20 +2,6 @@
include './_common.php';
include G5_LIB_PATH.'/etc.lib.php';
// 현금영수증 필드생성
$sql = " ALTER TABLE `{$g5['g5_shop_order_table']}` ADD `od_cash_no` VARCHAR( 255 ) NOT NULL ,
ADD `od_cash_receipt_no` VARCHAR( 255 ) NOT NULL ,
ADD `od_cash_app_time` VARCHAR( 255 ) NOT NULL ,
ADD `od_cash_reg_stat` VARCHAR( 255 ) NOT NULL ,
ADD `od_cash_reg_desc` VARCHAR( 255 ) NOT NULL ,
ADD `od_cash_tr_code` VARCHAR( 255 ) NOT NULL ,
ADD `od_cash_id_info` VARCHAR( 255 ) NOT NULL ";
sql_query($sql, false);
// 현금영수증 사용, 미사용 구분
$sql = " ALTER TABLE `{$g5['g5_shop_order_table']}` ADD `od_cash` TINYINT NOT NULL ";
sql_query($sql, false);
$sql = " select count(*) as cnt from {$g5['g5_shop_order_table']} where od_id = '{$_POST['ordr_idxx']}' and od_cash = 1 ";
$row = sql_fetch($sql);
if ($row['cnt']) {

View File

@ -21,6 +21,7 @@ else {
$default['de_kcp_mid'] = "SR".$default['de_kcp_mid'];
}
$g_conf_site_key = $default['de_kcp_site_key'];
$g_conf_js_url = "https://pay.kcp.co.kr/plugin/payplus{$test}_un.js";