나이스페이 결제 검증과 영수증 처리 보강

(cherry picked from commit 8bcd1bcbea25371bd0a5b196b71d2c1b4308479a)
This commit is contained in:
thisgun committed 2026-08-24 07:44:22 +00:00
1 parent 5a36b2d85d
commit 8e7ec335c3
9 files changed
+136 -39

No files matched your search

+6 -2
View File
@@ -236,7 +236,11 @@ if($pp['pp_pg'] == 'lg') {
$cash = unserialize($pp['pp_cash_info']);
$cash_receipt_script = 'window.open(\'https://iniweb.inicis.com/DefaultWebApp/mall/cr/cm/Cash_mCmReceipt.jsp?noTid='.$cash['TID'].'&clpaymethod=22\',\'showreceipt\',\'width=380,height=540,scrollbars=no,resizable=no\');';
} else if($pp['pp_pg'] == 'nicepay') {
$cash_receipt_script = 'window.open(\'https://npg.nicepay.co.kr/issue/IssueLoader.do?type=1&TID='.$od['od_tno'].'&noMethod=1\',\'receipt\',\'width=430,height=700\');';
$cash = $pp['pp_cash_info'] ? unserialize($pp['pp_cash_info']) : array();
if(!is_array($cash))
$cash = array();
$cash_tid = isset($cash['TID']) && $cash['TID'] ? $cash['TID'] : $pp['pp_tno'];
$cash_receipt_script = 'window.open(\'https://npg.nicepay.co.kr/issue/IssueLoader.do?type=1&TID='.$cash_tid.'&noMethod=1\',\'receipt\',\'width=430,height=700\');';
} else {
require_once G5_SHOP_PATH.'/settle_kcp.inc.php';
@@ -330,4 +334,4 @@ if($pp['pp_pg'] == 'lg') {
<!-- } 개인결제상세내역 끝 -->
<?php
include_once('./_tail.php');
include_once('./_tail.php');