查看文件: product_pay.php
大小: 1.94 KB
类型: application/octet-stream
<? //信用卡線上刷卡 ,超商取貨付款,臨櫃匯款,ATM轉帳 // if($_POST["order_pay"]=="信用卡線上刷卡"){ $webA="S1703130573"; $pay_num=$_POST["pay_num"]; $pay_money=$_POST["pay_money"]; $pay_title=$_POST["pay_title"]; $pay_name=$_POST["mem_name"]; $pay_mobile=$_POST["mem_mobile"]; $mem_mail=$_POST["mem_mail"]; $order_pay=$_POST["order_pay"]; $pay_Card_Type=0; $pay_Term=$_POST["order_pay2"]; }else{ $webA="S1703130631"; $pay_num=$_POST["pay_num"]; $pay_money=$_POST["pay_money"]; $pay_title=$_POST["pay_title"]; $pay_name=$_POST["mem_name"]; $pay_mobile=$_POST["mem_mobile"]; $mem_mail=$_POST["mem_mail"]; $order_pay=$_POST["order_pay"]; $pay_Card_Type=0; $pay_Term=$_POST["order_pay2"]; } $vdata = $webA; $vdata = $vdata."sky42656789"; $vdata = $vdata.$pay_money; $vdata = $vdata.$pay_Term; $CheckValue =strtoupper(sha1($vdata)); header('Content-Type: text/html; charset=utf-8'); $url1="https://test.esafe.com.tw/Service/Etopm.aspx"; $url2="http://www.i-lan.com.tw/mp3/esafe/response.php"; ?> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <form id="form4" method="post" action="<?= $url2?>"> <input type="hidden" name="web" value="<?=$webA ?>"> <input type="hidden" name="MN" value="<?=$pay_money ?>"> <input type="hidden" name="OrderInfo" value="<?= $pay_title ?>"> <input type="hidden" name="Td" value="<?= $pay_num ?>"> <input type="hidden" name="sna" value="<?= $pay_name ?>"> <input type="hidden" name="sdt" value="<?= $pay_mobile ?>"> <input type="hidden" name="email" value="<?= $mem_mail ?>"> <input type="hidden" name="note1" value="none"> <input type="hidden" name="note2" value="none"> <input type="hidden" name="Card_Type" value="<?= $pay_Card_Type ?>"> <input type="hidden" name="Term" value="<?= $pay_Term ?>"> <input type="hidden" name="ChkValue" value="<?= $CheckValue ?>"> </form> <script type="text/javascript"> form4.submit(); </script>
保存
取消
返回文件列表