Update orderpay.step2.pgkcp.php

This commit is contained in:
Namhyeon Go 2020-01-25 03:20:06 +09:00 committed by GitHub
parent eb3b1e3606
commit f2c80e8e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,8 @@
<?php <?php
/** /**
* @file orderpay.step2.pgkcp.php * @file orderpay.step2.pgkcp.php
* @date 2018-08-27 * @created_on 2018-08-27
* @updated_on 2020-01-25
* @author Go Namhyeon <gnh1201@gmail.com> * @author Go Namhyeon <gnh1201@gmail.com>
* @brief KCP PG(Payment Gateway) contoller when done * @brief KCP PG(Payment Gateway) contoller when done
*/ */
@ -274,6 +275,11 @@ if($req_tx == "pay") {
} }
} // End of [res_cd = "0000"] } // End of [res_cd = "0000"]
// set encoding
foreach($payres as $k=>$v) {
$payres[$k] = get_converted_string($v, "utf-8", "cp949");
}
// set result // set result
extract($payres); extract($payres);