require("cybrwincloud_pay_function.php");//


       $param=$_GET['param'];

$order_dec = cwpd_sec_action_pay($param,"DECODE","未来之窗授权key",0,未来之窗授权版本号)

   if(!$order_dec){

   echo "解码失败!";

   exit;

   }


   if($order_dec['ststus']==8001){

   }else{

   echo "支付失败:".$order_dec['ststus'].'='.$order_dec['message'];

   exit;

   }


$order_param['pay_type'] =$order_dec['pay_type'];

$order_param['order_type'] =$order_dec['order_type'];

$order_param['order_id'] = $order_dec['order_id'];

$order_param['pay_money'] = $order_dec['pay_money'];


$order_no =$order_param['order_id'];

       $money = $order_param['pay_money'];