1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
payment.php
См. документацию.
1<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();?><?
3
5if (defined("SITE_SERVER_NAME"))
6 $SERVER_NAME_tmp = SITE_SERVER_NAME;
7if ($SERVER_NAME_tmp == '')
8 $SERVER_NAME_tmp = COption::GetOptionString("main", "server_name", "");
9
11$strPayPath .= "url=".urlencode("http://".$SERVER_NAME_tmp.(CSalePaySystemAction::GetParamValue("PATH_TO_RESULT"))."?ORDER_ID=".intval(CSalePaySystemAction::GetParamValue("ORDER_ID")));
12$strPayPath .= "&purse=".$strPAYEE_PURSE;
13$strPayPath .= "&amount=".round(CSalePaySystemAction::GetParamValue("SHOULD_PAY"), 2);
14$strPayPath .= "&method=POST";
15$strPayPath .= "&desc=Order_".intval(CSalePaySystemAction::GetParamValue("ORDER_ID"));
16$strPayPath .= "&mode=".CSalePaySystemAction::GetParamValue("TEST_MODE");
17?>
18<div class="container-fluid">
19 <div class="row mb-3">
20 <div class="col">
21 Если Вы пользуетесь <strong>WMKeeper Classic</strong>, перейдите для оплаты заказа по следующей ссылке: <a class="" href="wmk:paylink?<?= $strPayPath ?>"><strong>Оплатить заказ</strong></a>
22 </div>
23 </div>
24
25 <div class="row">
26 <div class="col">
27 Если Вы пользуетесь <strong>WMKeeper Light</strong>, перейдите для оплаты заказа по следующей ссылке: <a class="" href="https://light.webmoney.ru/pci.aspx?<?= $strPayPath ?>"><strong>Оплатить заказ</strong></a>
28 </div>
29 </div>
30</div>
static GetParamValue($key, $defaultValue=null)
Определения pay_system_action.php:76
$SERVER_NAME_tmp
Определения payment.php:17
die
Определения quickway.php:367
$strPAYEE_PURSE
Определения payment.php:2
$strPayPath
Определения payment.php:10