diff --git a/Helper/Data.php b/Helper/Data.php index 8078415..d6de9bd 100644 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -38,7 +38,7 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper { - protected $_pluginVersion = '1.0.6'; + protected $_pluginVersion = '1.0.7'; protected $_pluginName = 'Wirecard/CheckoutPage'; /** diff --git a/Model/Payment/Eps.php b/Model/Payment/Eps.php index 21382e9..7a755e6 100644 --- a/Model/Payment/Eps.php +++ b/Model/Payment/Eps.php @@ -60,7 +60,7 @@ public function assignData(\Magento\Framework\DataObject $data) /** @var \Magento\Quote\Model\Quote\Payment $infoInstance */ $infoInstance = $this->getInfoInstance(); - $infoInstance->setAdditionalInformation('financialInstitution', $data->getData('financialInstitution')); + $infoInstance->setAdditionalInformation('financialInstitution', $data->getDataByPath('additional_data/financialInstitution')); return $this; } diff --git a/Model/Payment/Ideal.php b/Model/Payment/Ideal.php index f6764c9..b607b91 100644 --- a/Model/Payment/Ideal.php +++ b/Model/Payment/Ideal.php @@ -60,7 +60,7 @@ public function assignData(\Magento\Framework\DataObject $data) /** @var \Magento\Quote\Model\Quote\Payment $infoInstance */ $infoInstance = $this->getInfoInstance(); - $infoInstance->setAdditionalInformation('financialInstitution', $data->getData('financialInstitution')); + $infoInstance->setAdditionalInformation('financialInstitution', $data->getDataByPath('additional_data/financialInstitution')); return $this; } diff --git a/Model/Payment/Installment.php b/Model/Payment/Installment.php index 07dc50d..306f544 100644 --- a/Model/Payment/Installment.php +++ b/Model/Payment/Installment.php @@ -66,7 +66,7 @@ public function assignData(\Magento\Framework\DataObject $data) /** @var \Magento\Quote\Model\Quote\Payment $infoInstance */ $infoInstance = $this->getInfoInstance(); - $infoInstance->setAdditionalInformation('customerDob', $data->getData('customerDob')); + $infoInstance->setAdditionalInformation('customerDob', $data->getDataByPath('additional_data/customerDob')); return $this; } diff --git a/composer.json b/composer.json index ecb4f25..2f55cf3 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "description": "Wirecard Checkout Page extension for Magento 2", "keywords": ["wirecard", "checkout", "page", "payment", "magento2"], "homepage": "https://www.wirecard.at", - "version":"1.0.6", + "version":"1.0.7", "support": { "email": "support.at@wirecard.com", "docs": "https://guides.wirecard.com"