KCP 웹표준 모듈 적용

This commit is contained in:
chicpro
2016-04-21 12:01:23 +09:00
parent b36df4d691
commit 39dae2e214
9 changed files with 75 additions and 147 deletions

View File

@ -23,6 +23,18 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
/* ============================================================================== */
?>
<?php
/* ============================================================================== */
/* = POST 형식 체크부분 = */
/* = -------------------------------------------------------------------------- = */
if ( $_SERVER['REQUEST_METHOD'] != 'POST' )
{
echo('잘못된 경로로 접속하였습니다.');
exit;
}
/* ============================================================================== */
?>
<?php
/* ============================================================================== */
/* = 01. 지불 요청 정보 설정 = */
@ -87,7 +99,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$commid = ""; // 통신사 코드
$mobile_no = ""; // 휴대폰 번호
/* = -------------------------------------------------------------------------- = */
$tk_shop_id = $_POST[ "tk_shop_id" ]; // 가맹점 고객 아이디
$shop_user_id = $_POST[ "shop_user_id" ]; // 가맹점 고객 아이디
$tk_van_code = ""; // 발급사 코드
$tk_app_no = ""; // 상품권 승인 번호
/* = -------------------------------------------------------------------------- = */
@ -199,7 +211,7 @@ if ( $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); // 응답 전문 처리
$cust_ip, $g_conf_log_level , 0, 0, $g_conf_key_dir, $g_conf_log_dir); // 응답 전문 처리
$res_cd = $c_PayPlus->m_res_cd; // 결과 코드
$res_msg = $c_PayPlus->m_res_msg; // 결과 메시지