2018-09-23 19:17:19 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @file api.getorder.pgkcp.php
|
|
|
|
* @date 2018-09-24
|
2022-11-25 14:15:20 +00:00
|
|
|
* @author Go Namhyeon <abuse@catswords.net>
|
2018-09-23 19:17:19 +00:00
|
|
|
* @brief KCP PG(Payment Gateway) get completed order
|
|
|
|
*/
|
|
|
|
|
|
|
|
$ordr_idxx = get_requested_value("ordr_idxx");
|
|
|
|
if(empty($ordr_idxx)) {
|
2019-05-20 08:19:05 +00:00
|
|
|
set_error("ordr_idxx can not empty");
|
|
|
|
show_errors();
|
2018-09-23 19:17:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
header("Content-type:application/json");
|
|
|
|
echo read_storage_file(get_hashed_text($ordr_idxx) . ".json", array(
|
2019-05-20 08:19:05 +00:00
|
|
|
"storage_type" => "payman"
|
2018-09-23 19:17:19 +00:00
|
|
|
));
|