간편결제 구분코드 SPAY_METHOD 추가
This commit is contained in:
parent
bc75f62df4
commit
4932b8adfe
@ -251,11 +251,21 @@ public class MjonPayVO extends ComDefaultVO{
|
|||||||
// KG 모빌리언스 변수
|
// KG 모빌리언스 변수
|
||||||
private String mrctTrdNo; // 상점거래번호
|
private String mrctTrdNo; // 상점거래번호
|
||||||
private String trdNo; // 모빌리언스 거래번호
|
private String trdNo; // 모빌리언스 거래번호
|
||||||
|
private String spayMethod; // 간편결제 구분값
|
||||||
|
|
||||||
|
|
||||||
|
public String getSpayMethod() {
|
||||||
|
return spayMethod;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSpayMethod(String spayMethod) {
|
||||||
|
this.spayMethod = spayMethod;
|
||||||
|
}
|
||||||
|
|
||||||
private int remainPoint;
|
private int remainPoint;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public int getRemainPoint() {
|
public int getRemainPoint() {
|
||||||
return remainPoint;
|
return remainPoint;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -373,9 +373,11 @@ public class MjonPayV2Controller {
|
|||||||
String Cardcode = request.getParameter("Cardcode"); /* 결제 카드코드 */
|
String Cardcode = request.getParameter("Cardcode"); /* 결제 카드코드 */
|
||||||
String Cardname = request.getParameter("Cardname"); /* 결제 카드사명 */
|
String Cardname = request.getParameter("Cardname"); /* 결제 카드사명 */
|
||||||
String chkValue = request.getParameter("chkValue"); /* 결과값 검증 hash데이터 */
|
String chkValue = request.getParameter("chkValue"); /* 결과값 검증 hash데이터 */
|
||||||
|
String spayMethod = request.getParameter("Paymethod"); /* 지불방법 (간편결제 시에만 응답) */
|
||||||
|
|
||||||
System.out.println("#############################################################");
|
System.out.println("#############################################################");
|
||||||
System.out.println("KG MOBILIANS NotiUrl - CARD Tradeid : " + Tradeid);
|
System.out.println("KG MOBILIANS NotiUrl - CARD Tradeid : " + Tradeid);
|
||||||
|
System.out.println("KG MOBILIANS NotiUrl - CARD SpayMethod : " + spayMethod);
|
||||||
|
|
||||||
String cpChkValue = "";
|
String cpChkValue = "";
|
||||||
cpChkValue = "Mobilid="+ Mobilid +
|
cpChkValue = "Mobilid="+ Mobilid +
|
||||||
@ -515,6 +517,8 @@ public class MjonPayV2Controller {
|
|||||||
mjonPayVO.setResultMsg(Resultmsg);
|
mjonPayVO.setResultMsg(Resultmsg);
|
||||||
mjonPayVO.setAmt(Prdtprice); // 결제금액
|
mjonPayVO.setAmt(Prdtprice); // 결제금액
|
||||||
mjonPayVO.setPayMethod("SPAY"); // 결제방법
|
mjonPayVO.setPayMethod("SPAY"); // 결제방법
|
||||||
|
mjonPayVO.setSpayMethod(spayMethod); // 간편결제 결제방법
|
||||||
|
|
||||||
mjonPayVO.setPgCode("KGM"); //
|
mjonPayVO.setPgCode("KGM"); //
|
||||||
mjonPayVO.setGoodsName(Prdtnm); //
|
mjonPayVO.setGoodsName(Prdtnm); //
|
||||||
mjonPayVO.setPhone(""); // 모바일
|
mjonPayVO.setPhone(""); // 모바일
|
||||||
|
|||||||
@ -632,7 +632,7 @@
|
|||||||
BANK_CODE, BANK_NAME, RCPT_TYPE, RCPT_AUTH_CODE, RCPT_TID,
|
BANK_CODE, BANK_NAME, RCPT_TYPE, RCPT_AUTH_CODE, RCPT_TID,
|
||||||
CARRIER, MOBILE, VBANK_CODE, VBANK_NAME, VBANK_NUM,
|
CARRIER, MOBILE, VBANK_CODE, VBANK_NAME, VBANK_NUM,
|
||||||
VBANK_EXP_DATE, CANCEL_RESULT_CODE, CANCEL_RESULT_MSG, CANCEL_AMT, CANCEL_DATE,
|
VBANK_EXP_DATE, CANCEL_RESULT_CODE, CANCEL_RESULT_MSG, CANCEL_AMT, CANCEL_DATE,
|
||||||
CANCEL_TIME, CANCEL_NUM, CALC_BASE_M, AFTER_PAY_YN
|
CANCEL_TIME, CANCEL_NUM, CALC_BASE_M, AFTER_PAY_YN, SPAY_METHOD
|
||||||
)
|
)
|
||||||
VALUES
|
VALUES
|
||||||
(
|
(
|
||||||
@ -644,7 +644,7 @@
|
|||||||
#bankCode#, #bankName#, #rcptType#, #rcptAuthCode#, #rcptTid#,
|
#bankCode#, #bankName#, #rcptType#, #rcptAuthCode#, #rcptTid#,
|
||||||
#carrier#, #mobile#, #vbankCode#, #vbankName#, #vbankNum#,
|
#carrier#, #mobile#, #vbankCode#, #vbankName#, #vbankNum#,
|
||||||
#vbankExpDate#, #cancelResultCode#, #cancelResultMsg#, #cancelAmt#, #cancelDate#,
|
#vbankExpDate#, #cancelResultCode#, #cancelResultMsg#, #cancelAmt#, #cancelDate#,
|
||||||
#cancelTime#, #cancelNum#, #calcBaseM#, #afterPayYn#
|
#cancelTime#, #cancelNum#, #calcBaseM#, #afterPayYn#, #spayMethod#
|
||||||
)
|
)
|
||||||
|
|
||||||
</insert>
|
</insert>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user