나이스페이 결제 검증 보강

(cherry picked from commit 8c8099c63eb30c5cfd4678cecedbfd029471065e)
This commit is contained in:
thisgun
2026-08-24 07:44:22 +00:00
parent c4b54a6219
commit d80289ff28
11 changed files with 358 additions and 138 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ if (in_array($_POST['ct_status'], $status_cancel)) {
if (isset($result['ResultCode'])) {
// 실패했다면
if ($result['ResultCode'] !== '2001') {
if (! in_array($result['ResultCode'], array('2001', '2211'), true)) {
$pg_res_cd = $result['ResultCode'];
$pg_res_msg = $result['ResultMsg'];
}