<?php
//PayPal
$hiddenString.= "<Input Type=hidden Name=\"cmd\" id=cmd value=\"_xclick\">";
$hiddenString.= "<Input Type=hidden Name=\"business\" id=business value=\"".$this->merid."\">";
$hiddenString.= "<Input Type=hidden Name=\"item_name\" id=item_name value=\"产品支付\">";
$hiddenString.= "<Input Type=hidden Name=\"item_number\" id=item_number value=\"".$this->orderid."\">";
$hiddenString.= "<Input Type=hidden Name=\"amount\" id=amount value=\"".$this->amount."\">";
$hiddenString.= "<Input Type=hidden Name=\"no_note\" id=no_note value=\"".$TransDateTime."\">";
$hiddenString.= "<Input Type=hidden Name=\"currency_code\" id=currency_code value=\"CNY\">";

$this->action = "https://www.paypal.com/cgi-bin/webscr";
$hiddenString="<form target=_blank method=post action=".$this->action.">".$hiddenString."<input type=submit  value='立即通过".$this->pcenter."在线支付'  name=submit></form>";
?>