• 주문상품 목록
  • 주문결제 내역
  • 결제상세정보 확인
  • 결제상세정보 수정
  • 상점메모
  • 주문하신 분
  • 받으시는 분
  • '; $html_receipt_chk = '
    '; $qstr1 = "od_status=".urlencode($od_status)."&od_settle_case=".urlencode($od_settle_case)."&od_misu=$od_misu&od_cancel_price=$od_cancel_price&od_refund_price=$od_refund_price&od_receipt_point=$od_receipt_point&od_coupon=$od_coupon&fr_date=$fr_date&to_date=$to_date&sel_field=$sel_field&search=$search&save_search=$search"; if($default['de_escrow_use']) $qstr1 .= "&od_escrow=$od_escrow"; $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page"; // 상품목록 $sql = " select it_id, it_name, cp_price, ct_notax, ct_send_cost, it_sc_type from {$g5['g5_shop_cart_table']} where od_id = '{$od['od_id']}' group by it_id order by ct_id "; $result = sql_query($sql); // 주소 참고항목 필드추가 // 배송목록에 참고항목 필드추가 // 결제 PG 필드 추가 // LG 현금영수증 JS if($od['od_pg'] == 'lg') { if($default['de_card_test']) { echo ''.PHP_EOL; } else { echo ''.PHP_EOL; } } $print_od_deposit_name = $od['od_deposit_name']; // nicepay 로 주문하고 가상계좌인 경우 if ($od['od_pg'] === 'nicepay' && $od['od_settle_case'] === '가상계좌' && $od['od_deposit_name']){ $print_od_deposit_name .= '_NICE'; } if (!function_exists('shop_admin_get_nicepay_status')) { function shop_admin_get_nicepay_status($tid, $default) { $result = array( 'data' => array(), 'error' => '' ); if (!function_exists('curl_init')) { $result['error'] = 'cURL 모듈이 설치되어 있지 않아 나이스페이 거래 상태를 조회할 수 없습니다.'; return $result; } $tid = preg_replace('/[^0-9a-zA-Z]/', '', (string) $tid); if ($tid === '') { $result['error'] = '거래 ID가 없어 나이스페이 거래 상태를 조회할 수 없습니다.'; return $result; } if (!empty($default['de_card_test'])) { $mid = 'nicepay00m'; $merchantKey = 'EYzu8jGGMfqaDEp76gSckuvnaHHu+bC4opsSN6lHv3b2lurNYkVXrZ7Z1AoqQnXI3eLuaUFyoRNC6FkrzVjceg=='; } else { $mid = 'SR'.$default['de_nicepay_mid']; $merchantKey = $default['de_nicepay_key']; } if ($mid === 'SR' || $merchantKey === '') { $result['error'] = '나이스페이 MID 또는 KEY가 설정되어 있지 않아 거래 상태를 조회할 수 없습니다.'; return $result; } $ediDate = preg_replace('/[^0-9]/', '', G5_TIME_YMDHIS); $signData = bin2hex(hash('sha256', $tid.$mid.$ediDate.$merchantKey, true)); $postUrl = 'https://webapi.nicepay.co.kr/webapi/inquery/trans_status.jsp'; $data = array( 'TID' => $tid, 'MID' => $mid, 'EdiDate' => $ediDate, 'SignData' => $signData, 'CharSet' => 'utf-8', 'EdiType' => 'JSON' ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $postUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15); curl_setopt($ch, CURLOPT_TIMEOUT, 25); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_POST, true); $response = curl_exec($ch); $curl_error = curl_error($ch); curl_close($ch); if ($response === false || $response === '') { $result['error'] = '나이스페이 거래 상태 조회 응답이 없습니다.'.($curl_error ? ' '.$curl_error : ''); return $result; } $responseData = json_decode($response, true); if (!is_array($responseData)) { $utf8_response = @iconv('EUC-KR', 'UTF-8//IGNORE', $response); if ($utf8_response) { $responseData = json_decode($utf8_response, true); } } if (!is_array($responseData)) { $result['error'] = '나이스페이 거래 상태 조회 응답을 해석할 수 없습니다.'; return $result; } $result['data'] = $responseData; return $result; } } if (!function_exists('shop_admin_format_nicepay_auth_date')) { function shop_admin_format_nicepay_auth_date($auth_date) { $auth_date = preg_replace('/[^0-9]/', '', (string) $auth_date); if (strlen($auth_date) === 12) { return '20'.substr($auth_date, 0, 2).'-'.substr($auth_date, 2, 2).'-'.substr($auth_date, 4, 2).' '.substr($auth_date, 6, 2).':'.substr($auth_date, 8, 2).':'.substr($auth_date, 10, 2); } if (strlen($auth_date) === 14) { return substr($auth_date, 0, 4).'-'.substr($auth_date, 4, 2).'-'.substr($auth_date, 6, 2).' '.substr($auth_date, 8, 2).':'.substr($auth_date, 10, 2).':'.substr($auth_date, 12, 2); } return $auth_date; } } $nicepay_status_result = array(); $nicepay_status_error = ''; if ($od['od_pg'] === 'nicepay') { $nicepay_status = shop_admin_get_nicepay_status($od['od_tno'], $default); $nicepay_status_result = $nicepay_status['data']; $nicepay_status_error = $nicepay_status['error']; } // add_javascript('js 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js $is_nicepay_vbank_pg_cancel = ($od['od_pg'] === 'nicepay' && $od['od_settle_case'] === '가상계좌' && is_cancel_shop_pg_order($od)); if ($is_nicepay_vbank_pg_cancel) { add_stylesheet('', 11); add_stylesheet('', 12); add_javascript('', 10); } ?>

    주문상품 목록

    현재 주문상태 | 주문일시 () | 주문총액 원

    희망배송일은 () 입니다.

    모바일 쇼핑몰의 주문입니다.

    SIRK 전용 카카오페이의 자동 취소 지원이 종료되었습니다. 이니시스 상점관리자에서 전체·부분취소를 처리한 뒤 주문 상태와 환불금액을 정리해 주십시오. 이 화면의 상태 변경은 PG 취소를 수행하지 않습니다.

    기존 이용 고객 지원: 김민섭 minsup@sir.kr

    주문 상품 목록
    상품명 옵션항목 상태 수량 판매가 소계 쿠폰 포인트 배송비 포인트반영 재고반영

    주문 및 장바구니 상태 변경

    주문, 입금, 준비, 배송, 완료는 장바구니와 주문서 상태를 모두 변경하지만, 취소, 반품, 품절은 장바구니의 상태만 변경하며, 주문서 상태는 변경하지 않습니다.

    개별적인(이곳에서의) 상태 변경은 모든 작업을 수동으로 처리합니다. 예를 들어 주문에서 입금으로 상태 변경시 입금액(결제금액)을 포함한 모든 정보는 수동 입력으로 처리하셔야 합니다.

    주문 수량변경 및 주문 전체취소 처리 내역

    주의) 이 주문은 테스트용으로 실제 결제가 이루어지지 않았으므로 절대 배송하시면 안됩니다.
    주의) 이 주문은 결제취소된 내역이 있습니다. 이니시스 관리자 상점에서 반드시 재확인을 해 주세요.

    나이스페이 결제 조회

    '승인 상태', '1' => '취소 상태', '9' => '승인 거래 없음' ); $nicepay_status_code = isset($nicepay_status_result['Status']) ? (string) $nicepay_status_result['Status'] : ''; $nicepay_status_text = isset($nicepay_status_map[$nicepay_status_code]) ? $nicepay_status_map[$nicepay_status_code] : ''; $nicepay_auth_date = isset($nicepay_status_result['AuthDate']) ? shop_admin_format_nicepay_auth_date($nicepay_status_result['AuthDate']) : ''; ?>
    나이스페이 결제 조회
    결과코드 결과 메시지 거래 ID 거래 상태 승인번호 승인일시

    주문결제 내역

    0) $s_receipt_way .= "+포인트"; ?>
    미수금
    주문결제 내역
    주문번호 결제방법 주문총액 배송비 포인트결제 총결제액 쿠폰 주문취소
    원 원

    결제상세정보

    결제상세정보 확인

    결제상세정보
    계좌번호
    입금액
    입금자
    입금확인일시 입금 확인일시를 체크해 주세요. ()
    휴대폰번호
    결제액
    결제 확인일시 결제 확인일시를 체크해 주세요. ()
    신용카드 결제금액 0원
    카드 승인일시 신용카드 결제 일시 정보가 없습니다.
    KAKOPAY 결제금액 0원
    KAKAOPAY 승인일시 신용카드 결제 일시 정보가 없습니다.
    결제금액 0원
    승인일시 결제 일시 정보가 없습니다.
    결제대행사 링크 {$pg_test}바로가기
    "; } //------------------------------------------------------------------------------ ?>
    과세공급가액
    과세부가세액
    비과세공급가액
    주문금액할인
    포인트
    결제취소/환불액
    배송회사
    운송장번호
    배송일시
    원
    배송비할인
    원
    현금영수증 현금영수증 확인 현금영수증 발급

    결제상세정보 수정

    '.PHP_EOL; $bank_account .= ''.PHP_EOL; for ($i=0; $i'.$str[$i].''.PHP_EOL; } $bank_account .= ' '; } else if ($od['od_settle_case'] == '가상계좌') $bank_account = $od['od_bank_account'].''; else if ($od['od_settle_case'] == '계좌이체') $bank_account = $od['od_settle_case']; ?>
    결제상세정보 수정
    원

    " onclick="if (this.checked == true) this.form.od_receipt_time.value=this.form.od_bank_chk.value; else this.form.od_receipt_time.value = this.form.od_receipt_time.defaultValue;">
    " id="od_receipt_time" class="frm_input" maxlength="19">
    휴대폰번호
    원
    " onclick="if (this.checked == true) this.form.od_receipt_time.value=this.form.od_hp_chk.value; else this.form.od_receipt_time.value = this.form.od_receipt_time.defaultValue;">
    " id="op_receipt_time" class="frm_input" size="19" maxlength="19">
    원
    " onclick="if (this.checked == true) this.form.od_receipt_time.value=this.form.od_card_chk.value; else this.form.od_receipt_time.value = this.form.od_receipt_time.defaultValue;">
    " id="od_receipt_time" class="frm_input" size="19" maxlength="19">
    원
    " onclick="if (this.checked == true) this.form.od_receipt_time.value=this.form.od_card_chk.value; else this.form.od_receipt_time.value = this.form.od_receipt_time.defaultValue;">
    " id="od_receipt_time" class="frm_input" size="19" maxlength="19">
    원
    " onclick="if (this.checked == true) this.form.od_receipt_time.value=this.form.od_card_chk.value; else this.form.od_receipt_time.value = this.form.od_receipt_time.defaultValue;">
    " id="od_receipt_time" class="frm_input" size="19" maxlength="19">
    점
    원


    " onclick="chk_invoice_time()">
    " class="frm_input" maxlength="19">
    메일발송
    0) { ?> 개인결제추가 0 && ($od['od_settle_case'] == '신용카드' || $od['od_settle_case'] == '계좌이체' || $od['od_settle_case'] == 'KAKAOPAY' || ($od['od_pg'] == 'nicepay' && $od['od_settle_case'] == '간편결제'))) { ?> 부분취소 목록

    상점메모

    현재 열람 중인 주문에 대한 내용을 메모하는곳입니다.
    입금, 배송 내역을 메일로 발송할 경우 함께 기록됩니다.

    주문자/배송지 정보

    주문하신 분

    주문자/배송지 정보
    주문하시는 분 주소



    주문하신 분 IP Address

    받으시는 분

    받으시는 분 정보
    받으시는 분 주소

    ()
    전달 메세지
    array( '001' => '한국은행', '002' => '산업은행', '003' => '기업은행', '004' => '국민은행', '005' => '외환은행', '007' => '수협은행', '008' => '수출입은행', '011' => 'NH농협은행', '012' => '농협중앙회(지역농축협)', '020' => '우리은행', '023' => 'SC제일은행', '026' => '서울은행', '027' => '한국씨티은행', '030' => '수협중앙회', '031' => 'iM뱅크(대구)', '032' => '부산은행', '034' => '광주은행', '035' => '제주은행', '037' => '전북은행', '039' => '경남은행', '045' => '새마을금고', '048' => '신협', '050' => '저축은행', '051' => '기타 외국계은행', '052' => '모건스탠리은행', '054' => 'HSBC은행', '055' => '도이치은행', '056' => '알비에스피엘씨은행', '057' => '제이피모간체이스은행', '058' => '미즈호은행', '059' => '엠유에프지은행', '060' => 'BOA은행', '061' => '비엔피파리바은행', '062' => '중국공상은행', '063' => '중국은행', '064' => '산림조합중앙회', '065' => '대화은행', '071' => '우체국', '076' => '신용보증기금', '077' => '기술보증기금', '081' => '하나은행', '088' => '신한은행', '089' => '케이뱅크', '090' => '카카오뱅크', '092' => '토스뱅크', '093' => '한국주택금융공사', '094' => '서울보증보험', '095' => '경찰청', '099' => '금융결제원' ), '증권사' => array( '209' => '유안타증권', '218' => 'KB증권', '238' => '미래에셋증권', '240' => '삼성증권', '243' => '한국투자증권', '247' => 'NH투자증권', '261' => '교보증권', '262' => 'iM증권', '263' => '현대차증권', '264' => '키움증권', '265' => 'LS증권', '266' => '에스케이증권', '267' => '대신증권', '269' => '한화투자증권', '270' => '하나증권', '271' => '토스증권', '278' => '신한투자증권', '279' => 'DB증권', '280' => '유진투자증권', '287' => '메리츠증권', '288' => '카카오페이증권', '289' => '엔에이치투자증권', '290' => '부국증권', '291' => '신영증권', '292' => '케이프투자증권' ) ); ?>

    나이스페이 가상계좌 환불 정보

    입금 후 환불 건은 환불계좌 정보를 입력해야 합니다. 입금 전 발급취소 건은 비워두고 진행할 수 있습니다.

    나이스페이 가상계좌 환불 정보 입력
    숫자만 입력
    10 byte 이하