Skip to content

Commit

Permalink
Merge pull request #28 from wirecard/dev-4671
Browse files Browse the repository at this point in the history
#27 search for additional data in right places
  • Loading branch information
rinnhofer authored May 23, 2017
2 parents f605865 + d3392e3 commit 1b7d570
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down
2 changes: 1 addition & 1 deletion Model/Payment/Eps.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion Model/Payment/Ideal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion Model/Payment/Installment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]",
"docs": "https://guides.wirecard.com"
Expand Down

0 comments on commit 1b7d570

Please sign in to comment.