From d738b3616c7cb28c910c6408e6cc26a3d119c8cb Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 26 Sep 2014 16:39:32 +0900 Subject: [PATCH] =?UTF-8?q?PG=20=EA=B2=B0=EC=A0=9C=EA=B8=88=EC=95=A1=20?= =?UTF-8?q?=EB=B9=84=EA=B5=90=EC=8B=9C=20=EC=A3=BC=EB=AC=B8=EA=B8=88?= =?UTF-8?q?=EC=95=A1=20=EA=B3=84=EC=82=B0=EC=BD=94=EB=93=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/orderformupdate.php | 3 ++- shop/orderformupdate.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mobile/shop/orderformupdate.php b/mobile/shop/orderformupdate.php index ade2cdf51..79434732c 100644 --- a/mobile/shop/orderformupdate.php +++ b/mobile/shop/orderformupdate.php @@ -266,6 +266,7 @@ if ($od_temp_point) } $i_price = $i_price + $i_send_cost + $i_send_cost2 - $i_temp_point - $i_send_coupon; +$order_price = $tot_od_price + $send_cost + $send_cost2 - $tot_sc_cp_price - $od_temp_point; $od_status = '주문'; if ($od_settle_case == "무통장") @@ -374,7 +375,7 @@ else // 주문금액과 결제금액이 일치하는지 체크 if($tno) { - if((int)$i_price !== (int)$pg_price) { + if((int)$order_price !== (int)$pg_price) { $cancel_msg = '결제금액 불일치'; switch($default['de_pg_service']) { case 'lg': diff --git a/shop/orderformupdate.php b/shop/orderformupdate.php index fe044c8a6..d10a8ed46 100644 --- a/shop/orderformupdate.php +++ b/shop/orderformupdate.php @@ -260,6 +260,7 @@ if ($od_temp_point) } $i_price = $i_price + $i_send_cost + $i_send_cost2 - $i_temp_point - $i_send_coupon; +$order_price = $tot_od_price + $send_cost + $send_cost2 - $tot_sc_cp_price - $od_temp_point; $od_status = '주문'; if ($od_settle_case == "무통장") @@ -368,7 +369,7 @@ else // 주문금액과 결제금액이 일치하는지 체크 if($tno) { - if((int)$i_price !== (int)$pg_price) { + if((int)$order_price !== (int)$pg_price) { $cancel_msg = '결제금액 불일치'; switch($default['de_pg_service']) { case 'lg':