/// <summary> /// 玉山實名認證-解圈退貨 /// </summary> /// <returns></returns> public ActionResult ProdEsunAllPayReject() { //正式環境的查詢 AllPayEsunPaymentService.PayServiceClient esunPaymentService = new AllPayEsunPaymentService.PayServiceClient(); string VaccNo = "98608218458640"; int unLockAmount = 5; string HashKey = "pkwefio28o23jklw4924jlzf92023kf9"; //產生驗證碼 StringBuilder shaPara = new StringBuilder(); shaPara.Append(VaccNo); shaPara.Append(unLockAmount); shaPara.Append(HashKey); string identifyNo = new AllPay.ShareLib.Crypt().SHA(shaPara.ToString()); var reponseResult = esunPaymentService.Reject(VaccNo, unLockAmount, identifyNo); return null; }