<?php 
              //Epay
              $epayClientMerchID     = $this->merid;        //您的epay.net.cn 商户号
              $epayClientMerchPwd    = $this->ikey;         //您的epay.net.cn 商户密码
			  $epayClientOrderNum    = $this->orderid;      //订单号，保证不重复
              $epayClientOrderAmount = $this->amount;       //该订单的金额(注意：单位为分,所以要转换为分时的数值),如当前订单的金额为0.01元
              $clientMD5PrivateKey = "123456";              //epay.net.cn 分配给您的md5加密key,您可以登陆客户管理端获得之
            
               $lnkStr=trim($epayClientMerchID).":".trim($epayClientMerchPwd).":".trim($epayClientOrderNum).":".trim($epayClientOrderAmount)+":"+trim($clientMD5PrivateKey);

			//对串联起来的值MD5加密就是signature 域的值
              $strCountSignature = md5($lnkStr);
								
				$hiddenString = "<Input Type=hidden Name=\"epayClientMerchID\" id=epayClientMerchID value=\"".$this->merid."\">";
				$hiddenString.= "<Input Type=hidden Name=\"epayClientMerchPwd\" id=epayClientMerchPwd value=\"".$this->ikey."\">";
				$hiddenString.= "<Input Type=hidden Name=\"epayClientOrderNum\" id=epayClientOrderNum value=\"".$this->orderid."\">";
				$hiddenString.= "<Input Type=hidden Name=\"epayClientOrderAmount\" id=epayClientOrderAmount value=\"".$this->amount."\">";
				$hiddenString.= "<Input Type=hidden Name=\"signature\" id=signature value=\"".$orderdate."\">";
				$this->action = "http://www.epay.net.cn/pay/pay.aspx";
				$hiddenString="<form target=_blank method=post action=".$this->action.">".$hiddenString."<input type=submit  value='立即通过".$this->pcenter."在线支付'  name=submit></form>";
                
?>