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 51567726 authored by Rik ter Beek's avatar Rik ter Beek

fix rebase

parents 5cf9f2ec 604afb63
...@@ -113,25 +113,25 @@ class Data extends AbstractHelper ...@@ -113,25 +113,25 @@ class Data extends AbstractHelper
*/ */
protected $_billingAgreementFactory; protected $_billingAgreementFactory;
/** /**
* Data constructor. * Data constructor.
* * @param \Magento\Framework\App\Helper\Context $context
* @param \Magento\Framework\App\Helper\Context $context * @param \Magento\Framework\Encryption\EncryptorInterface $encryptor
* @param \Magento\Framework\Encryption\EncryptorInterface $encryptor * @param \Magento\Framework\Config\DataInterface $dataStorage
* @param \Magento\Framework\Config\DataInterface $dataStorage * @param \Magento\Directory\Model\Config\Source\Country $country
* @param \Magento\Directory\Model\Config\Source\Country $country * @param \Magento\Framework\Module\ModuleListInterface $moduleList
* @param \Magento\Framework\Module\ModuleListInterface $moduleList * @param \Adyen\Payment\Model\ResourceModel\Billing\Agreement\CollectionFactory $billingAgreementCollectionFactory
* @param \Adyen\Payment\Model\ResourceModel\Billing\Agreement\CollectionFactory $billingAgreementCollectionFactory * @param \Magento\Framework\View\Asset\Repository $assetRepo
* @param \Magento\Framework\View\Asset\Repository $assetRepo * @param \Magento\Framework\View\Asset\Source $assetSource
* @param \Magento\Framework\View\Asset\Source $assetSource * @param \Adyen\Payment\Model\ResourceModel\Notification\CollectionFactory $notificationFactory
* @param \Adyen\Payment\Model\ResourceModel\Notification\CollectionFactory $notificationFactory * @param \Magento\Tax\Model\Config $taxConfig
* @param \Magento\Tax\Model\Config $taxConfig * @param \Magento\Tax\Model\Calculation $taxCalculation
* @param \Magento\Tax\Model\Calculation $taxCalculation * @param \Magento\Framework\App\ProductMetadataInterface $productMetadata
* @param \Magento\Framework\App\ProductMetadataInterface $productMetadata * @param \Adyen\Payment\Logger\AdyenLogger $adyenLogger
* @param \Adyen\Payment\Logger\AdyenLogger $adyenLogger * @param \Magento\Store\Model\StoreManagerInterface $storeManager
* @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\Framework\App\CacheInterface $cache
* @param \Magento\Framework\App\CacheInterface $cache * @param \Adyen\Payment\Model\Billing\AgreementFactory $billingAgreementFactory
*/ */
public function __construct( public function __construct(
\Magento\Framework\App\Helper\Context $context, \Magento\Framework\App\Helper\Context $context,
\Magento\Framework\Encryption\EncryptorInterface $encryptor, \Magento\Framework\Encryption\EncryptorInterface $encryptor,
...@@ -144,10 +144,6 @@ class Data extends AbstractHelper ...@@ -144,10 +144,6 @@ class Data extends AbstractHelper
\Adyen\Payment\Model\ResourceModel\Notification\CollectionFactory $notificationFactory, \Adyen\Payment\Model\ResourceModel\Notification\CollectionFactory $notificationFactory,
\Magento\Tax\Model\Config $taxConfig, \Magento\Tax\Model\Config $taxConfig,
\Magento\Tax\Model\Calculation $taxCalculation, \Magento\Tax\Model\Calculation $taxCalculation,
\Magento\Framework\App\ProductMetadataInterface $productMetadata,
\Adyen\Payment\Logger\AdyenLogger $adyenLogger,
\Magento\Store\Model\StoreManagerInterface $storeManager,
\Magento\Framework\App\CacheInterface $cache
\Magento\Framework\App\ProductMetadataInterface $productMetadata, \Magento\Framework\App\ProductMetadataInterface $productMetadata,
\Adyen\Payment\Logger\AdyenLogger $adyenLogger, \Adyen\Payment\Logger\AdyenLogger $adyenLogger,
\Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Store\Model\StoreManagerInterface $storeManager,
......
...@@ -90,7 +90,7 @@ class Agreement extends \Magento\Paypal\Model\Billing\Agreement ...@@ -90,7 +90,7 @@ class Agreement extends \Magento\Paypal\Model\Billing\Agreement
->setReferenceId($data['recurringDetailReference']) ->setReferenceId($data['recurringDetailReference'])
->setCreatedAt($data['creationDate']); ->setCreatedAt($data['creationDate']);
$creationDate = str_replace(' ', '-', $data['creationDate']); $creationDate = str_replace(' ', '-', $data['creationDate']);
$this->setCreatedAt($creationDate); $this->setCreatedAt($creationDate);
//Billing agreement SEPA //Billing agreement SEPA
......
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