Create api.getorder.pgkcp.php
This commit is contained in:
parent
d3a922e060
commit
22cae6055f
18
route/api.getorder.pgkcp.php
Normal file
18
route/api.getorder.pgkcp.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* @file api.getorder.pgkcp.php
|
||||
* @date 2018-09-24
|
||||
* @author Go Namhyeon <gnh1201@gmail.com>
|
||||
* @brief KCP PG(Payment Gateway) get completed order
|
||||
*/
|
||||
|
||||
$ordr_idxx = get_requested_value("ordr_idxx");
|
||||
if(empty($ordr_idxx)) {
|
||||
set_error("ordr_idxx can not empty");
|
||||
show_errors();
|
||||
}
|
||||
|
||||
header("Content-type:application/json");
|
||||
echo read_storage_file(get_hashed_text($ordr_idxx) . ".json", array(
|
||||
"storage_type" => "payman"
|
||||
));
|
Loading…
Reference in New Issue
Block a user