Beispiel #1
0
        if (get_session('ss_direct')) {
            $page_return_url .= '?sw_direct=1';
        }
    }
    alert("{$res_cd} : {$res_msg}", $page_return_url);
    exit;
}
/* = -------------------------------------------------------------------------- = */
/* =   04. 실행 END                                                             = */
/* ============================================================================== */
/* ============================================================================== */
/* =   05. 승인 결과 값 추출                                                    = */
/* = -------------------------------------------------------------------------- = */
if ($req_tx == "pay") {
    if ($res_cd == "0000") {
        $tno = $c_PayPlus->mf_get_res_data("tno");
        // KCP 거래 고유 번호
        $amount = $c_PayPlus->mf_get_res_data("amount");
        // KCP 실제 거래 금액
        $pnt_issue = $c_PayPlus->mf_get_res_data("pnt_issue");
        // 결제 포인트사 코드
        /* = -------------------------------------------------------------------------- = */
        /* =   05-1. 신용카드 승인 결과 처리                                            = */
        /* = -------------------------------------------------------------------------- = */
        if ($use_pay_method == "100000000000") {
            $card_cd = $c_PayPlus->mf_get_res_data("card_cd");
            // 카드사 코드
            $card_name = $c_PayPlus->mf_get_res_data("card_name");
            // 카드 종류
            $app_time = $c_PayPlus->mf_get_res_data("app_time");
            // 승인 시간