PAYCO 간편결제 추가 중

This commit is contained in:
chicpro
2015-09-03 18:28:52 +09:00
parent c1db06d6a1
commit 91ee9d03fe
7 changed files with 35 additions and 5 deletions

View File

@ -62,6 +62,8 @@
$comm_vat_mny = $_POST[ "comm_vat_mny" ]; // 부가세
$comm_free_mny = $_POST["comm_free_mny" ]; // 비과세금액
$payco_direct = $_POST["payco_direct" ]; // PAYCO 결제창 호출
/*
* 기타 파라메터 추가 부분 - Start -
*/
@ -99,6 +101,10 @@
$pay_method = 'VCNT';
$ActionResult = 'vcnt';
break;
case '간편결제':
$pay_method = 'CARD';
$ActionResult = 'card';
break;
default:
$pay_method = '';
$ActionResult = '';
@ -242,6 +248,8 @@ if($enc_data != '' && $enc_info != '' && $tran_cd != '') {
<input type="hidden" name="buyr_mail" value="<?php echo $buyr_mail; ?>">
<input type="hidden" name="ipgm_date" value="<?php echo $ipgm_date; ?>">
<input type="hidden" name="payco_direct" value="<?php echo $payco_direct; ?>"> <!-- PAYCO 결제창 호출 -->
<!-- 필수 사항 -->
<!-- 요청 구분 -->

View File

@ -18,6 +18,7 @@ if(!($default['de_iche_use'] || $default['de_vbank_use'] || $default['de_hp_use'
<input type="hidden" name="buyr_mail" value="">
<input type="hidden" name="ipgm_date" value="<?php echo $ipgm_date; ?>">
<input type="hidden" name="settle_method" value="">
<input type="hidden" name="payco_direct" value=""> <!-- PAYCO 결제창 호출 -->
<!-- 주문번호 -->
<input type="hidden" name="ordr_idxx" value="<?php echo $od_id; ?>">
<!-- 결제등록 키 -->