kcpOrderWeb.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <html lang="ko" xmlns:th="http://www.thymeleaf.org">
  2. <th:block th:if="${payment.reqTx} == null or ${payment.reqTx} == ''">
  3. <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  4. <script src="/ux/pc/js/slick.min.js"></script>
  5. <script src="/ux/pc/js/jquery-ui.js"></script>
  6. <script src="/ux/pc/js/jquery.modal.min.js"></script>
  7. <script src="/ux/pc/js/jquery.ui.datepicker.monthyearpicker.js"></script>
  8. </th:block>
  9. <!-- 선택, 상점이름(영문으로 작성권장) -->
  10. <input type="hidden" name="site_name" th:value="${payment.siteName}" />
  11. <!-- 필수, 상점코드 -->
  12. <input type="hidden" name="site_cd" th:value="${payment.siteCd}" />
  13. <!-- 페이코 송부 정보 -->
  14. <th:block th:if="${!#strings.isEmpty(payment.paycoDirect)}">
  15. <input type="hidden" name="payco_direct" th:value="${payment.paycoDirect}" />
  16. <input type="hidden" name="pay_mthod" th:value="${payment.payMthod}" />
  17. </th:block>
  18. <input type="hidden" name="req_tx" th:value="${payment.reqTx}" /> <!-- 필수, 요청의 종류를 구분하는 변수 결제요청페이지의 경우 ‘pay’로 설정 -->
  19. <input type="hidden" name="ordr_idxx" th:value="${payment.ordrIdxx}" /> <!-- 필수, 상점 관리 주문번호 (유니크한 값 설정 권장) -->
  20. <input type="hidden" name="pay_method" th:value="${payment.payMethod}" /> <!-- 필수, 결제수단코드(신용카드 : 100000000000, 계좌이체 : 010000000000, 가상계좌 : 001000000000, 포인트 : 000100000000, 휴대폰 : 000010000000, 상품권 : 000000001000, ARS : 000000000010) -->
  21. <input type="hidden" name="good_name" th:value="${payment.goodName}" /> <!-- 필수, 상품명 -->
  22. <input type="hidden" name="good_mny" th:value="${payment.goodMny}" /> <!-- 필수, 주문요청금액 (※ 화폐단위가 ‘USD’ 일 경우, Cent까지 설정 ex ) $10.55 일 경우 콤마를 뺀 1055, $100 일 경우 10000로 설정 -->
  23. <input type="hidden" name="buyr_name" th:value="${payment.buyrName}" /> <!-- 필수, 주문자 이름 -->
  24. <input type="hidden" name="buyr_mail" th:value="${payment.buyrMail}" /> <!-- 선택, 주문자 이메일 -->
  25. <input type="hidden" name="buyr_tel1" th:value="${payment.buyrTel1}" /> <!-- 선택, 주문자 전화번호 -->
  26. <input type="hidden" name="buyr_tel2" th:value="${payment.buyrTel2}" /> <!-- 필수, 주문자 휴대폰번호 -->
  27. <input type="hidden" name="currency" th:value="${payment.currency}" /> <!-- 필수, 원화 : WON / 달러 : USD -->
  28. <input type="hidden" name="shop_user_id" th:value="${payment.shopUserId}" /> <!-- 필수, 쇼핑몰회원ID 기관에 따라 RM 조치를 위해 쇼핑몰 관리 ID를 필수로 요청 -->
  29. <!-- 신용카드 정보 -->
  30. <input type="hidden" name="quotaopt" th:value="${payment.quotaopt}"/> <!-- 최대 할부 개월 수(0 ~ 18까지 설정 가능) -->
  31. <!-- 무통장입금 정보 -->
  32. <input type="hidden" name="vcnt_expire_term" th:value="${payment.vcntExpireTerm}"/> <!-- 무통장입금 유효기간 설정 (3 = 3일) -->
  33. <input type="hidden" name="disp_tax_yn" th:value="${payment.dispTaxYn}"/> <!-- 무통장입금 유효기간 설정 (3 = 3일) -->
  34. <!-- 2012년 8월 18일 전자상거래법 개정 관련 설정 부분 -->
  35. <!-- 제공 기간 설정 0:일회성 1:기간설정(ex 1:2012010120120131) -->
  36. <input type="hidden" name="good_expr" th:value="${payment.goodExpr}" />
  37. <!-- 표준웹 설정 정보입니다(변경 불가) -->
  38. <input type="hidden" name="module_type" th:value="${payment.moduleType}" />
  39. <!--
  40. ※ 필 수
  41. 필수 항목 : 표준웹에서 값을 설정하는 부분으로 반드시 포함되어야 합니다
  42. 값을 설정하지 마십시오
  43. -->
  44. <input type="hidden" name="res_cd" value=""/>
  45. <input type="hidden" name="res_msg" value=""/>
  46. <input type="hidden" name="enc_info" value=""/>
  47. <input type="hidden" name="enc_data" value=""/>
  48. <input type="hidden" name="ret_pay_method" value=""/>
  49. <input type="hidden" name="tran_cd" value=""/>
  50. <input type="hidden" name="use_pay_method" th:value="${payment.usePayMethod}"/>
  51. <!-- 주문정보 검증 관련 정보 : 표준웹 에서 설정하는 정보입니다 -->
  52. <input type="hidden" name="ordr_chk" value=""/>
  53. <!-- 현금영수증 관련 정보 : 표준웹 에서 설정하는 정보입니다 -->
  54. <input type="hidden" name="cash_yn" value=""/>
  55. <input type="hidden" name="cash_tr_code" value=""/>
  56. <input type="hidden" name="cash_id_info" value=""/>
  57. <script th:inline="javascript">
  58. if([[${payment.reqTx}]] == null || [[${payment.reqTx}]] == "") {
  59. receiptWin3 = "http://devadmin.kcp.co.kr/Modules/Noti/TEST_Vcnt_Noti.jsp";
  60. window.open(receiptWin3, "", "width=520, height=300");
  61. }
  62. </script>
  63. </html>