1<?
if (!defined(
"B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !==
true)
die();?><?
24 parse_str(str_replace(Array(
"\r\n",
"\n",
"\r"),
"&",
'success='.
$sResult), $aFields);
25 if ($aFields[
'success'] !=
'OK')
29 "PS_STATUS" => (($aFields[
'status']==
'PAID')?
"Y":
"N"),
30 "PS_STATUS_CODE" => $aFields[
'status'],
31 "PS_STATUS_MESSAGE" => base64_decode(str_replace(
' ',
'+', $aFields[
"reason"])),
33 "PS_SUM" => DoubleVal(str_replace(
'RUR',
'', $aFields[
"paid_total"])),
35 "PS_RESPONSE_DATE" => Date(CDatabase::DateFormatToPHP(CLang::GetDateFormat(
"FULL", LANG))),
40 $arOrder = CSaleOrder::GetByID(
$ORDER_ID);
42 CSaleOrder::PayOrder($arOrder[
"ID"],
"Y");
static GetParamValue($key, $defaultValue=null)
static Update($ID, $arFields, $bDateUpdate=true)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
QueryGetData($SITE, $PORT, $PATH, $QUERY_STR, &$errno, &$errstr, $sMethod="GET", $sProto="", $sContentType='N')
GetMessage($name, $aReplace=null)
GetLangFileName($before, $after, $lang=false)
$GLOBALS['_____370096793']