가상계좌 입금 통보시 장바구니 상태 변경 코드 추가
This commit is contained in:
@ -159,7 +159,6 @@ if(!$default['de_card_test']) {
|
|||||||
$sql = " update {$g5['g5_shop_order_table']}
|
$sql = " update {$g5['g5_shop_order_table']}
|
||||||
set od_receipt_price = od_receipt_price + '$ipgm_mnyx',
|
set od_receipt_price = od_receipt_price + '$ipgm_mnyx',
|
||||||
od_receipt_time = '$tx_tm',
|
od_receipt_time = '$tx_tm',
|
||||||
od_status = '입금',
|
|
||||||
od_shop_memo = concat(od_shop_memo, \"\\n개인결제 ".$row['pp_id']." 로 결제완료 - ".$receipt_time."\")
|
od_shop_memo = concat(od_shop_memo, \"\\n개인결제 ".$row['pp_id']." 로 결제완료 - ".$receipt_time."\")
|
||||||
where od_id = '{$row['od_id']}' ";
|
where od_id = '{$row['od_id']}' ";
|
||||||
$result = sql_query($sql, FALSE);
|
$result = sql_query($sql, FALSE);
|
||||||
@ -168,8 +167,7 @@ if(!$default['de_card_test']) {
|
|||||||
// 주문서 UPDATE
|
// 주문서 UPDATE
|
||||||
$sql = " update {$g5['g5_shop_order_table']}
|
$sql = " update {$g5['g5_shop_order_table']}
|
||||||
set od_receipt_price = '$ipgm_mnyx',
|
set od_receipt_price = '$ipgm_mnyx',
|
||||||
od_receipt_time = '$tx_tm',
|
od_receipt_time = '$tx_tm'
|
||||||
od_status = '입금'
|
|
||||||
where od_id = '$order_no'
|
where od_id = '$order_no'
|
||||||
and od_tno = '$tno' ";
|
and od_tno = '$tno' ";
|
||||||
$result = sql_query($sql, FALSE);
|
$result = sql_query($sql, FALSE);
|
||||||
@ -191,6 +189,14 @@ if(!$default['de_card_test']) {
|
|||||||
$sql .= " , od_status = '입금' ";
|
$sql .= " , od_status = '입금' ";
|
||||||
$sql .= " where od_id = '$od_id' ";
|
$sql .= " where od_id = '$od_id' ";
|
||||||
sql_query($sql, FALSE);
|
sql_query($sql, FALSE);
|
||||||
|
|
||||||
|
// 장바구니 상태변경
|
||||||
|
if($info['od_misu'] == 0) {
|
||||||
|
$sql = " update {$g5['g5_shop_cart_table']}
|
||||||
|
set ct_status = '입금'
|
||||||
|
where od_id = '$od_id' ";
|
||||||
|
sql_query($sql, FALSE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* = -------------------------------------------------------------------------- = */
|
/* = -------------------------------------------------------------------------- = */
|
||||||
|
|||||||
Reference in New Issue
Block a user