<?php
require ('authentication_manager.php');
?>
<?php
@ require ('pay/alipay.config.php');

?>
<div class="column"> <b>注：</b><br />
  1、进行些设置前请确定您已经拥有支付宝帐户，且已经申请并开通了支付宝“商家服务”即时到帐服务。<br />
  2、相应变量含义请仔细阅读支付宝相关帮助文档。 </div>
<div class="list_title"><a class="list_title_in">支付宝收银接口设置</a></div>
<ul class="manager_menu">
  <div class="list_title_">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <th style="width:180px">变量名</th>
        <th style="width:250px">变量值</th>
        <th>变量说明</th>
      </tr>
    </table>
  </div>
  <form action="?post=pay" method="post" onsubmit="addSubmitSafe();">
    <div class="li">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="width:180px;text-align:left;">partner</td>
          <td style="width:250px;text-align:left;"><input type="text" name="partner" value="<?php echo $alipay_config['partner']; ?>" style="width:220px;" /></td>
          <td style="text-align:left;">支付宝合作身份者id，以2088开头的16位纯数字</td>
        </tr>
      </table>
    </div>
    <div class="li">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="width:180px;text-align:left;">key</td>
          <td style="width:250px;text-align:left;"><input type="text" name="key" value="<?php echo $alipay_config['key']; ?>" style="width:220px;" /></td>
          <td style="text-align:left;">安全检验码，以数字和字母组成的32位字符</td>
        </tr>
      </table>
    </div>
    <div class="li">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="width:180px;text-align:left;">seller_email</td>
          <td style="width:250px;text-align:left;"><input type="text" name="seller_email" value="<?php echo $alipay_config['seller_email']; ?>" style="width:220px;" /></td>
          <td style="text-align:left;">签约支付宝账号或卖家支付宝帐户</td>
        </tr>
      </table>
    </div>
    <div class="li">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="width:180px;text-align:left;">transport</td>
          <td style="width:250px;text-align:left;"><input type="radio" class="radio" name="transport" value="http"<?php echo $alipay_config['transport'] == 'http' ? ' checked="checked"' : ''; ?> />
            http
            <input type="radio" class="radio" name="transport" value="https"<?php echo $alipay_config['transport'] == 'https' ? ' checked="checked"' : ''; ?> />
            https</td>
          <td style="text-align:left;">访问模式,根据自己的服务器是否支持ssl访问，若支持请选择https；若不支持请选择http</td>
        </tr>
      </table>
    </div>
<div class="red_err">提交前请确定pay目录具备写权限，配置结果将写入pay/alipay.config.php文件中</div>
    <div class="li">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="width:180px;text-align:left;">&nbsp;</td>
          <td style="width:250px;text-align:left;"><button class="large" name="submit" type="submit" onclick="return confirm('确定提交吗？！')"><b>设置完毕，提交</b></button></td>
          <td style="text-align:left;">&nbsp;</td>
        </tr>
      </table>
    </div>
  </form>
</ul>
亦可自行手动修改pay目录下alipay.config.php、alipayto.php文件，进行符合你个人意愿的配置。<br />
