나이스페이 주문정보 입력 오류시 결제 취소 코드 추가 및 불필요한 코드 제거

This commit is contained in:
thisgun
2024-09-04 12:55:05 +09:00
parent 3474be175d
commit 20eb993757
10 changed files with 22 additions and 25 deletions

View File

@ -84,8 +84,6 @@ $response = nicepay_reqPost($data, "https://pg-api.nicepay.co.kr/webapi/cash_rec
$result = json_decode($response, true);
if (function_exists('add_log')) add_log($result, true, 'rr');
// 성공이면
if (isset($result['ResultCode']) && $result['ResultCode'] === '7001') {