KG이니시스 INIpay PRO 결제 연동 및 결제 처리 현황 추가

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
thisgunandClaude Fable 5 committed 2026-07-23 08:03:16 +00:00
1 parent 1f48f6bd80
commit acdbcfd8ba
38 files changed
+4506 -87

No files matched your search

+22 -7
View File
@@ -49,7 +49,10 @@ if ($pp_settle_case == "계좌이체")
include G5_SHOP_PATH.'/toss/toss_result.php';
break;
case 'inicis':
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
if (!empty($_POST['inicis_pro']))
include G5_SHOP_PATH.'/inicis/pro/pay_result.php';
else
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
break;
case 'nicepay':
include G5_SHOP_PATH.'/nicepay/nicepay_result.php';
@@ -77,7 +80,10 @@ else if ($pp_settle_case == "가상계좌")
include G5_SHOP_PATH.'/toss/toss_result.php';
break;
case 'inicis':
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
if (!empty($_POST['inicis_pro']))
include G5_SHOP_PATH.'/inicis/pro/pay_result.php';
else
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
break;
case 'nicepay':
include G5_SHOP_PATH.'/nicepay/nicepay_result.php';
@@ -105,7 +111,10 @@ else if ($pp_settle_case == "휴대폰")
include G5_SHOP_PATH.'/toss/toss_result.php';
break;
case 'inicis':
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
if (!empty($_POST['inicis_pro']))
include G5_SHOP_PATH.'/inicis/pro/pay_result.php';
else
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
break;
case 'nicepay':
include G5_SHOP_PATH.'/nicepay/nicepay_result.php';
@@ -131,7 +140,10 @@ else if ($pp_settle_case == "신용카드")
include G5_SHOP_PATH.'/toss/toss_result.php';
break;
case 'inicis':
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
if (!empty($_POST['inicis_pro']))
include G5_SHOP_PATH.'/inicis/pro/pay_result.php';
else
include G5_SHOP_PATH.'/inicis/inistdpay_result.php';
break;
case 'nicepay':
include G5_SHOP_PATH.'/nicepay/nicepay_result.php';
@@ -215,7 +227,7 @@ if(!$result) {
break;
}
die("<p>$sql<p>" . sql_error_info() . "<p>error file : {$_SERVER['SCRIPT_NAME']}");
die('개인결제 정보를 처리하는 중 오류가 발생했습니다. 결제 취소 여부를 관리자에게 문의해 주십시오.');
}
// 주문번호가 있으면 결제정보 반영
@@ -259,7 +271,7 @@ if($pp_receipt_price > 0 && $pp['pp_id'] && $pp['od_id']) {
break;
}
die("<p>$sql<p>" . sql_error_info() . "<p>error file : {$_SERVER['SCRIPT_NAME']}");
die('주문 결제정보를 처리하는 중 오류가 발생했습니다. 결제 취소 여부를 관리자에게 문의해 주십시오.');
}
// 미수금 정보 업데이트
@@ -282,6 +294,9 @@ if($pp_receipt_price > 0 && $pp['pp_id'] && $pp['od_id']) {
}
// 개인결제번호제거
if (!empty($_POST['inicis_pro']) && function_exists('inicis_pro_audit_order_saved'))
inicis_pro_audit_order_saved($pp['pp_id'], $pp_tno, 'personal', 'web');
set_session('ss_personalpay_id', '');
set_session('ss_personalpay_hash', '');
@@ -315,4 +330,4 @@ goto_url(G5_SHOP_URL.'/personalpayresult.php?pp_id='.$pp['pp_id'].'&amp;uid='.$u
document.onkeydown = noRefresh ;
</script>
</head>
</html>
</html>