Skip to content
This repository has been archived by the owner on Aug 1, 2018. It is now read-only.

Commit

Permalink
FIX error on payment
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix128 committed Sep 12, 2017
1 parent 524c11b commit c0dc66f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Block/Info/CashOnDelivery.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class CashOnDelivery extends Info
{
protected function _prepareSpecificInformation($transport = null)
{
return parent::_prepareSpecificInformation($transport);

// if (is_null($this->_paymentSpecificInformation)) {
// $transport = parent::_prepareSpecificInformation($transport);
// $data = [];
Expand All @@ -40,7 +42,7 @@ protected function _prepareSpecificInformation($transport = null)
//
// $this->_paymentSpecificInformation = $transport->setData(array_merge($data, $transport->getData()));
// }

return $this->_paymentSpecificInformation;
//
// return $this->_paymentSpecificInformation;
}
}
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="MSP_CashOnDelivery" setup_version="1.2.4">
<module name="MSP_CashOnDelivery" setup_version="1.2.5">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down

0 comments on commit c0dc66f

Please sign in to comment.