We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 6fe62cf5 authored by Imran Shakil's avatar Imran Shakil Committed by Alessio Zampatti

Imrankln patch 1 (#625)

* constructor argument order

To avoid "class not found" exception

* constructor argument order

exception faced "class not found"
parent 439b8b27
...@@ -41,9 +41,9 @@ class PaymentLink extends AbstractInfo ...@@ -41,9 +41,9 @@ class PaymentLink extends AbstractInfo
\Adyen\Payment\Helper\Data $adyenHelper, \Adyen\Payment\Helper\Data $adyenHelper,
\Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory $adyenOrderPaymentCollectionFactory, \Adyen\Payment\Model\ResourceModel\Order\Payment\CollectionFactory $adyenOrderPaymentCollectionFactory,
Template\Context $context, Template\Context $context,
array $data = [],
\Magento\Framework\Registry $registry, \Magento\Framework\Registry $registry,
\Adyen\Payment\Gateway\Command\PayByMailCommand $payByMailCommand \Adyen\Payment\Gateway\Command\PayByMailCommand $payByMailCommand,
array $data = []
) { ) {
$this->registry = $registry; $this->registry = $registry;
$this->payByMail = $payByMailCommand; $this->payByMail = $payByMailCommand;
......
...@@ -89,14 +89,14 @@ class Redirect extends \Magento\Payment\Block\Form ...@@ -89,14 +89,14 @@ class Redirect extends \Magento\Payment\Block\Form
*/ */
public function __construct( public function __construct(
\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\View\Element\Template\Context $context,
array $data = [],
\Magento\Sales\Model\OrderFactory $orderFactory, \Magento\Sales\Model\OrderFactory $orderFactory,
\Magento\Checkout\Model\Session $checkoutSession, \Magento\Checkout\Model\Session $checkoutSession,
\Adyen\Payment\Helper\Data $adyenHelper, \Adyen\Payment\Helper\Data $adyenHelper,
\Magento\Framework\Locale\ResolverInterface $resolver, \Magento\Framework\Locale\ResolverInterface $resolver,
\Adyen\Payment\Logger\AdyenLogger $adyenLogger, \Adyen\Payment\Logger\AdyenLogger $adyenLogger,
\Magento\Tax\Model\Config $taxConfig, \Magento\Tax\Model\Config $taxConfig,
\Magento\Tax\Model\Calculation $taxCalculation \Magento\Tax\Model\Calculation $taxCalculation,
array $data = []
) { ) {
$this->_orderFactory = $orderFactory; $this->_orderFactory = $orderFactory;
$this->_checkoutSession = $checkoutSession; $this->_checkoutSession = $checkoutSession;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment