나이스페이 부분취소 처리 보강
(cherry picked from commit ef0da4a903983f46934d5c14ac10adb93a673398)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user