public ActionResult StageQueryTrade(string MerchantID, string MerchantTradeNo)
        {

            StageAllpayWs.AllPaySoapClient ws = new StageAllpayWs.AllPaySoapClient();

            string HashKey = "Zf1AjVRlwE4XjlF9";        //stage
            string HashIV = "Ps8hPWGtUW0PE3Gk";


            string TimeStamp = ((DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000).ToString();


            string XML = string.Format("<?xml version=\"1.0\" encoding=\"utf-8\" ?><Root><Data><MerchantID>{0}</MerchantID><MerchantTradeNo>{1}</MerchantTradeNo><TimeStamp>{2}</TimeStamp></Data></Root>", MerchantID, MerchantTradeNo, TimeStamp);
            string EnXML = new AllPay.ShareLib.Crypt().AES_EnCrypt(HashKey, HashIV, XML);
            string Result = ws.QueryTrade(MerchantID, EnXML);
            string DeXML = new AllPay.ShareLib.Crypt().AES_DeCrypt(HashKey, HashIV, Result);

            ViewBag.Result = HttpUtility.HtmlDecode(DeXML);
            return View("StageQueryTrade_Receive");


        }