diff --git a/FO/Controllers/AccountController.cs b/FO/Controllers/AccountController.cs index a09e22f..5766c99 100644 --- a/FO/Controllers/AccountController.cs +++ b/FO/Controllers/AccountController.cs @@ -891,6 +891,7 @@ namespace NP.FO.Controllers public String XPayVBankMoney() { + SetError("Account : XPAYVBankMoney"); var x = new Xpay(); x.LGD_RESPCODE = Request.Params.Get("LGD_RESPCODE"); x.LGD_RESPMSG = Request.Params.Get("LGD_RESPMSG"); @@ -955,6 +956,7 @@ namespace NP.FO.Controllers try { + SetError("Account : XPAYVBankMoney : 959"); // (3) Init_TX: 메모리에 mall.conf, lgdacom.conf 할당 및 트랜잭션의 고유한 키 TXID 생성 xpay.Init_TX(x.LGD_MID); x.LGD_HASHDATA2 = xpay.GetHashDataCas(x.LGD_MID, x.LGD_OID, x.LGD_AMOUNT, x.LGD_RESPCODE, x.LGD_TIMESTAMP); @@ -976,6 +978,7 @@ namespace NP.FO.Controllers String resultMSG = "결제결과 상점 DB처리(LGD_CASNOTEURL) 결과값을 입력해 주시기 바랍니다."; if (x.LGD_HASHDATA2.Equals(x.LGD_HASHDATA)) { //해쉬값 검증이 성공이면 + SetError("Account : XPAYVBankMoney : 981 : "+x.LGD_RESPCODE); if (("0000".Equals(x.LGD_RESPCODE))) { //결제가 성공이면 if ("R".Equals(x.LGD_CASFLAG)) @@ -1003,6 +1006,7 @@ namespace NP.FO.Controllers }; if (Dao.Save("pay.paylect.vbankin", payvbankin) < 3) { + SetError("Account : XPAYVBankMoney : 1009"); //상품구매완료 처리 (최소 3건 업데이트 (payvbankin, pay) return "FAIL"; } @@ -1025,6 +1029,7 @@ namespace NP.FO.Controllers * 상점결과 처리가 정상이면 "OK" */ //if( 결제실패 상점처리결과 성공 ) + SetError("Account : XPAYVBankMoney : 1032"); return "FAIL"; } } @@ -1033,6 +1038,7 @@ namespace NP.FO.Controllers /* * hashdata검증 실패 로그를 처리하시기 바랍니다. */ + SetError("Account : XPAYVBankMoney : 1041"); SetError("가상계좌입금오류(결제결과 상점 DB처리(LGD_CASNOTEURL) 해쉬값 검증이 실패): " + x.LGD_OID); } return "FAIL"; diff --git a/FO/Views/My/PayInfo.cshtml b/FO/Views/My/PayInfo.cshtml index 566ae73..e8a1354 100644 --- a/FO/Views/My/PayInfo.cshtml +++ b/FO/Views/My/PayInfo.cshtml @@ -698,7 +698,7 @@ @if (ViewBag.isPayTest == "1") { //테스트일 경우 - + } else {