나이스페이 결제 검증 보강
(cherry picked from commit 8c8099c63eb30c5cfd4678cecedbfd029471065e)
This commit is contained in:
@@ -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'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user