<?php
|
include_once "/Common/Logging.php";
|
include_once "/Account/User.php";
|
include_once "/db/DBOper.php";
|
include_once "/language/lang.php";
|
include_once '/Common/PayOrder.php';
|
|
\Logging\CreateLogging("payorderrepeat.php");
|
$Permission = \User\Permission::P_PayOrder;
|
|
$spid = $_SESSION['spid'];
|
$UserAccount = $_SESSION['UserAccount'];
|
$user = new \User\User($UserAccount);
|
if (!$user->HavePermission($Permission)) {
|
exit;
|
}
|
\Logging\LogInfo("_POST:" . print_r($_POST, true));
|
|
$Channel = "";
|
$OrderID = $_POST["OrderID"];
|
$OrderIDSDK = $_POST["OrderIDSDK"];
|
$AccountID = "";
|
$ServerID = 0;
|
$OrderInfo = "";
|
$OrderAmount = "";
|
$PayTime = $_POST["PayTime"];
|
|
$returnArr = \PayOrder\DoReceivePayOrder($Channel, $OrderID, $OrderIDSDK, $AccountID, $ServerID, $OrderInfo, $OrderAmount, $PayTime, true, null, true);
|
\Logging\LogInfo("returnArr:" . print_r($returnArr, true));
|
echo json_encode($returnArr);
|