"create_forex_trade", //this is the service name
"partner" =>$partner,
"return_url" =>$return_url,
"notify_url" =>$notify_url,
"_input_charset" => $_input_charset,
"subject" => "test", //subject is the name of the product, you'd better change it
"body" => "test only", //body is the description of the product , you'd beeter change it
"out_trade_no" => time() ,
"total_fee" => "10", //the price of products
"currency"=>"HKD", // change it as the currency which you used on your website
);
$alipay = new alipay_service($parameter,$security_code,$sign_type);
print_r($parameter );
$link=$alipay->create_url();
print <<
submit
EOT;
?>