PG 모바일 쿠폰 사용 오류 수정

This commit is contained in:
chicpro
2015-06-04 11:39:07 +09:00
parent 2c35a21128
commit a5323c49d6
6 changed files with 28 additions and 24 deletions

View File

@ -64,12 +64,7 @@ $exclude = array('res_cd', 'P_HASH', 'P_TYPE', 'P_AUTH_DT', 'P_AUTH_NO', 'P_HPP_
echo '<form name="forderform" method="post" action="'.$order_action_url.'" autocomplete="off">'.PHP_EOL;
foreach($data as $key=>$value) {
if(in_array($key, $exclude))
continue;
echo '<input type="hidden" name="'.$key.'" value="'.$value.'">'.PHP_EOL;
}
echo make_order_field($data, $exclude);
echo '<input type="hidden" name="res_cd" value="'.$PAY['P_STATUS'].'">'.PHP_EOL;
echo '<input type="hidden" name="P_HASH" value="'.$hash.'">'.PHP_EOL;

View File

@ -50,12 +50,7 @@ $exclude = array('res_cd', 'P_HASH', 'P_TYPE', 'P_AUTH_DT', 'P_VACT_BANK');
echo '<form name="forderform" method="post" action="'.$order_action_url.'" autocomplete="off">'.PHP_EOL;
foreach($data as $key=>$value) {
if(in_array($key, $exclude))
continue;
echo '<input type="hidden" name="'.$key.'" value="'.$value.'">'.PHP_EOL;
}
echo make_order_field($data, $exclude);
echo '<input type="hidden" name="res_cd" value="'.$PAY['P_STATUS'].'">'.PHP_EOL;
echo '<input type="hidden" name="P_HASH" value="'.$hash.'">'.PHP_EOL;

View File

@ -222,12 +222,7 @@ if($enc_data != '' && $enc_info != '' && $tran_cd != '') {
echo '<form name="forderform" method="post" action="'.$order_action_url.'" autocomplete="off">'.PHP_EOL;
foreach($data as $key=>$value) {
if(in_array($key, $exclude))
continue;
echo '<input type="hidden" name="'.$key.'" value="'.$value.'">'.PHP_EOL;
}
echo make_order_field($data, $exclude);
foreach($_POST as $key=>$value) {
echo '<input type="hidden" name="'.$key.'" value="'.$value.'">'.PHP_EOL;

View File

@ -52,12 +52,7 @@ $exclude = array('res_cd', 'LGD_PAYKEY');
echo '<form name="forderform" method="post" action="'.$order_action_url.'" autocomplete="off">'.PHP_EOL;
foreach($data as $key=>$value) {
if(in_array($key, $exclude))
continue;
echo '<input type="hidden" name="'.$key.'" value="'.$value.'">'.PHP_EOL;
}
echo make_order_field($data, $exclude);
echo '<input type="hidden" name="res_cd" value="'.$LGD_RESPCODE.'">'.PHP_EOL;
echo '<input type="hidden" name="LGD_PAYKEY" value="'.$LGD_PAYKEY.'">'.PHP_EOL;

View File

@ -2,6 +2,8 @@
include_once('./_common.php');
include_once(G5_LIB_PATH.'/mailer.lib.php');
//print_r2($_POST); exit;
$page_return_url = G5_SHOP_URL.'/orderform.php';
if(get_session('ss_direct'))
$page_return_url .= '?sw_direct=1';