개인결제 kcp 결제 오류 수정

This commit is contained in:
chicpro
2014-06-02 15:25:25 +09:00
parent 0d90a442c0
commit 4f6bfe6d72
6 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,6 @@
<?php
include_once('./_common.php');
include_once(G5_LIB_PATH.'/mailer.lib.php');
if($default['de_pg_service'] == 'lg' && !$_POST['LGD_PAYKEY'])
alert('결제등록 요청 후 주문해 주십시오.');

View File

@ -207,7 +207,7 @@ if($od['od_pg'] == 'lg') {
</ul>
</section>
<?php if ($pp['pp_settle_case'] == '가상계좌' && $default['de_card_test'] && $is_admin && $pp['pp_pg'] == 'kcp') {
<?php if ($pp['pp_settle_case'] == '가상계좌' && $pp['pp_receipt_price'] == 0 && $default['de_card_test'] && $is_admin && $pp['pp_pg'] == 'kcp') {
preg_match("/\s{1}([^\s]+)\s?/", $pp['pp_bank_account'], $matchs);
$deposit_no = trim($matchs[1]);
?>