나이스페이 부분취소 처리 보강

(cherry picked from commit ef0da4a903983f46934d5c14ac10adb93a673398)
This commit is contained in:
thisgun
2026-08-24 07:44:22 +00:00
parent 3678b92b2f
commit bb4d345add
4 changed files with 12 additions and 7 deletions
+4 -1
View File
@@ -51,7 +51,10 @@ try{
* <Cancel Request>
****************************************************************************************
*/
$response = nicepay_reqPost($data, "https://webapi.nicepay.co.kr/webapi/cancel_process.jsp"); //Cancel API call
$cancelUrl = (isset($od['od_settle_case']) && $od['od_settle_case'] === '가상계좌')
? "https://webapi.nicepay.co.kr/webapi/cancel_process.jsp"
: "https://pg-api.nicepay.co.kr/webapi/cancel_process.jsp";
$response = nicepay_reqPost($data, $cancelUrl); //Cancel API call
$result = json_decode($response, true);