diff --git a/adm/shop_admin/orderescrow.inc.php b/adm/shop_admin/orderescrow.inc.php new file mode 100644 index 000000000..8dc352837 --- /dev/null +++ b/adm/shop_admin/orderescrow.inc.php @@ -0,0 +1,85 @@ +mf_clear(); + +$tran_cd = "00200000"; + +// 에스크로 상태변경 +$tno_count = count($arr_tno); +for($i=0; $i<$tno_count; $i++) { + if(!$arr_tno[$i] || !$arr_corp[$i] || !$arr_numb[$i]) + continue; + + $c_PayPlus->mf_set_modx_data( "tno", $arr_tno[$i] ); + $c_PayPlus->mf_set_modx_data( "mod_type", $mod_type ); + $c_PayPlus->mf_set_modx_data( "mod_ip", $cust_ip ); + $c_PayPlus->mf_set_modx_data( "mod_desc", $mod_desc ); + + $c_PayPlus->mf_set_modx_data( "deli_numb", $arr_numb[$i] ); + $c_PayPlus->mf_set_modx_data( "deli_corp", $arr_corp[$i] ); + + $c_PayPlus->mf_do_tx( $trace_no, $g_conf_home_dir, $g_conf_site_cd, "", $tran_cd, "", + $g_conf_gw_url, $g_conf_gw_port, "payplus_cli_slib", $ordr_idxx, + $cust_ip, "3" , 0, 0, $g_conf_key_dir, $g_conf_log_dir); // 응답 전문 처리 + + $res_cd = $c_PayPlus->m_res_cd; // 결과 코드 + $res_msg = $c_PayPlus->m_res_msg; // 결과 메시지 +} + +if($locale_change) + setlocale(LC_CTYPE, $def_locale); +?> \ No newline at end of file diff --git a/adm/shop_admin/orderform.php b/adm/shop_admin/orderform.php index a80202449..433fe298b 100644 --- a/adm/shop_admin/orderform.php +++ b/adm/shop_admin/orderform.php @@ -308,6 +308,8 @@ $pg_anchor = '