hxp
2025-06-09 6c3f6335c70859ded94a1ad8d218acb0ac34239c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?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);