![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-paypal/Block/Bml/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Paypal\Block\Bml; use Magento\Paypal\Block\Express; use Magento\Paypal\Model\Config; class Form extends Express\Form { /** * Payment method code * @var string */ protected $_methodCode = Config::METHOD_WPP_BML; /** * Set template and redirect message * * @return void */ protected function _construct() { $this->_config = $this->_paypalConfigFactory->create()->setMethod($this->getMethodCode()); /** @var $mark \Magento\Framework\View\Element\Template */ $mark = $this->_getMarkTemplate(); $mark->setPaymentAcceptanceMarkHref( 'https://www.securecheckout.billmelater.com/paycapture-content/' . 'fetch?hash=AU826TU8&content=/bmlweb/ppwpsiw.html' )->setPaymentAcceptanceMarkSrc( 'https://www.paypalobjects.com/webstatic/en_US/i/buttons/ppc-acceptance-medium.png' )->setPaymentWhatIs(__('See terms')); $this->_initializeRedirectTemplateWithMark($mark); } }