KG 이니시스 카카오페이 간편결제 호출 옵션 추가
This commit is contained in:
@ -677,6 +677,10 @@ ul.de_pg_tab li.tab-current a{background:#2CC185;color:#fff}
|
||||
|
||||
#sodr_list .list_escrow {display:block;color:#80bc0d;text-align:center}
|
||||
#sodr_list .list_test {display:block;text-align:center;color:#ff3061}
|
||||
#sodr_list .odrpay {max-width:50px}
|
||||
|
||||
.local_sch03.local_sch [data-tooltip-text]:hover {position:relative}
|
||||
.local_sch03.local_sch [data-tooltip-text]:hover:after{line-height:20px;background-color:#000;background-color:rgba(0,0,0,0.8);-webkit-box-shadow:0 0 3px 1px rgba(50,50,50,0.4);-moz-box-shadow:0 0 3px 1px rgba(50,50,50,0.4);box-shadow:0 0 3px 1px rgba(50,50,50,0.4);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;color:#FFF;font-size:11px;content:attr(data-tooltip-text);white-space: pre;margin-bottom:10px;top:130%;left:0;padding:7px 12px;position:absolute;max-width:500px;word-wrap:break-word;z-index:9999}
|
||||
|
||||
/* 주문내역 수정 */
|
||||
.sodr_nonpay {color:#ff6600}
|
||||
|
||||
@ -117,6 +117,12 @@ if(!isset($default['de_inicis_lpay_use'])) {
|
||||
ADD `de_inicis_lpay_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_samsung_pay_use` ", true);
|
||||
}
|
||||
|
||||
// 이니시스 kakaopay 사용여부 필드 추가
|
||||
if(!isset($default['de_inicis_kakaopay_use'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}`
|
||||
ADD `de_inicis_kakaopay_use` tinyint(4) NOT NULL DEFAULT '0' AFTER `de_inicis_lpay_use` ", true);
|
||||
}
|
||||
|
||||
// 카카오페이 필드 추가
|
||||
if(!isset($default['de_kakaopay_mid'])) {
|
||||
sql_query(" ALTER TABLE `{$g5['g5_shop_default_table']}`
|
||||
@ -819,6 +825,15 @@ if( function_exists('pg_setting_check') ){
|
||||
<input type="checkbox" name="de_inicis_lpay_use" value="1" id="de_inicis_lpay_use"<?php echo $default['de_inicis_lpay_use']?' checked':''; ?>> <label for="de_inicis_lpay_use">사용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="pg_info_fld inicis_info_fld">
|
||||
<th scope="row">
|
||||
<label for="de_inicis_kakaopay_use">KG이니시스 카카오페이 사용</label>
|
||||
</th>
|
||||
<td>
|
||||
<?php echo help("체크시 KG이니시스 결제의 카카오페이를 사용합니다. <br>주문서 화면에 카카오페이(KG 이니시스 결제) 아이콘 이 출력됩니다. <br>실결제시 반드시 결제대행사 KG이니시스 항목의 상점 정보( 아이디, 키패스워드, 웹결제 사인키 )를 입력해 주세요.", 50); ?>
|
||||
<input type="checkbox" name="de_inicis_kakaopay_use" value="1" id="de_inicis_kakaopay_use"<?php echo $default['de_inicis_kakaopay_use']?' checked':''; ?>> <label for="de_inicis_kakaopay_use">사용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="pg_info_fld inicis_info_fld">
|
||||
<th scope="row">
|
||||
<label for="de_inicis_cartpoint_use">KG이니시스 신용카드 포인트 결제</label>
|
||||
|
||||
@ -160,6 +160,7 @@ $check_sanitize_keys = array(
|
||||
'de_inicis_sign_key', //KG이니시스 웹결제 사인키
|
||||
'de_samsung_pay_use', //KG이니시스 삼성페이 사용
|
||||
'de_inicis_lpay_use', //KG이니시스 Lpay 사용
|
||||
'de_inicis_kakaopay_use', //KG이니시스 카카오페이 사용
|
||||
'de_inicis_cartpoint_use', //KG이니시스 신용카드 포인트 결제
|
||||
'de_kakaopay_mid', //카카오페이 상점MID
|
||||
'de_kakaopay_key', //카카오페이 상점키
|
||||
@ -349,6 +350,7 @@ $sql = " update {$g5['g5_shop_default_table']}
|
||||
de_easy_pay_use = '{$de_easy_pay_use}',
|
||||
de_samsung_pay_use = '{$de_samsung_pay_use}',
|
||||
de_inicis_lpay_use = '{$de_inicis_lpay_use}',
|
||||
de_inicis_kakaopay_use = '{$de_inicis_kakaopay_use}',
|
||||
de_inicis_cartpoint_use = '{$de_inicis_cartpoint_use}',
|
||||
de_card_noint_use = '{$de_card_noint_use}',
|
||||
de_card_point = '{$de_card_point}',
|
||||
|
||||
@ -310,7 +310,7 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
|
||||
//$amount['미수'] = $amount['order'] - $amount['receipt'] - $amount['coupon'];
|
||||
|
||||
// 결제방법
|
||||
$s_receipt_way = $od['od_settle_case'];
|
||||
$s_receipt_way = check_pay_name_replace($od['od_settle_case'], $od);
|
||||
|
||||
if($od['od_settle_case'] == '간편결제') {
|
||||
switch($od['od_pg']) {
|
||||
@ -324,7 +324,7 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
|
||||
$s_receipt_way = 'PAYCO';
|
||||
break;
|
||||
default:
|
||||
$s_receipt_way = $row['od_settle_case'];
|
||||
$s_receipt_way = check_pay_name_replace($row['od_settle_case'], $od);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,7 +69,11 @@ if ($od_status) {
|
||||
}
|
||||
|
||||
if ($od_settle_case) {
|
||||
$where[] = " od_settle_case = '$od_settle_case' ";
|
||||
if( $od_settle_case === '간편결제' ) {
|
||||
$where[] = " od_settle_case in ('간편결제', '삼성페이', 'lpay', 'inicis_kakaopay') ";
|
||||
} else {
|
||||
$where[] = " od_settle_case = '$od_settle_case' ";
|
||||
}
|
||||
}
|
||||
|
||||
if ($od_misu) {
|
||||
@ -217,7 +221,7 @@ if( function_exists('pg_setting_check') ){
|
||||
<input type="radio" name="od_settle_case" value="신용카드" id="od_settle_case06" <?php echo get_checked($od_settle_case, '신용카드'); ?>>
|
||||
<label for="od_settle_case06">신용카드</label>
|
||||
<input type="radio" name="od_settle_case" value="간편결제" id="od_settle_case07" <?php echo get_checked($od_settle_case, '간편결제'); ?>>
|
||||
<label for="od_settle_case07">PG간편결제</label>
|
||||
<label for="od_settle_case07" data-tooltip-text="NHN_KCP 간편결제 : PAYCO 
LG유플러스 간편결제 : PAYNOW 
KG 이니시스 간편결제 : KPAY, 삼성페이, LPAY, 카카오페이(KG이니시스)">PG간편결제</label>
|
||||
<input type="radio" name="od_settle_case" value="KAKAOPAY" id="od_settle_case08" <?php echo get_checked($od_settle_case, 'KAKAOPAY'); ?>>
|
||||
<label for="od_settle_case08">KAKAOPAY</label>
|
||||
</div>
|
||||
@ -299,7 +303,7 @@ if( function_exists('pg_setting_check') ){
|
||||
$s_receipt_way = $s_br = "";
|
||||
if ($row['od_settle_case'])
|
||||
{
|
||||
$s_receipt_way = $row['od_settle_case'];
|
||||
$s_receipt_way = check_pay_name_replace($row['od_settle_case'], $row);
|
||||
$s_br = '<br />';
|
||||
|
||||
// 간편결제
|
||||
@ -315,7 +319,7 @@ if( function_exists('pg_setting_check') ){
|
||||
$s_receipt_way = 'PAYCO';
|
||||
break;
|
||||
default:
|
||||
$s_receipt_way = $row['od_settle_case'];
|
||||
$s_receipt_way = check_pay_name_replace($row['od_settle_case'], $row);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user