%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.116.85.12
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/payment/worldpay/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.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