Skip to content

Commit

Permalink
Merge pull request #102 from mollie/1.4.4
Browse files Browse the repository at this point in the history
1.4.4
  • Loading branch information
Marvin-Magmodules authored Dec 4, 2018
2 parents 26a7a8e + 72b8697 commit 63c1aa6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Model/Client/Orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ public function createOrderRefund(Order\Creditmemo $creditmemo, Order $order)
if ($shippingCostsLine->getId() && $shippingCostsLine->getQtyRefunded() == 0) {
if ($creditmemo->getShippingAmount() > 0) {
$addShippingToRefund = true;
if (abs($creditmemo->getShippingAmount() - $shippingCostsLine->getTotalAmount()) > 0.01) {
if (abs($creditmemo->getShippingInclTax() - $shippingCostsLine->getTotalAmount()) > 0.01) {
$msg = __('Can not create online refund, as shipping costs do not match');
$this->mollieHelper->addTolog('error', $msg);
throw new LocalizedException($msg);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mollie/magento2",
"description": "Mollie Payment Module for Magento 2",
"version": "1.4.3",
"version": "1.4.4",
"require": {
"mollie/mollie-api-php": "^2.1",
"magento/framework": ">=100.1.0",
Expand Down
2 changes: 2 additions & 0 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
<argument name="environment" xsi:type="array">
<item name="payment/mollie_general/apikey_test" xsi:type="string">1</item>
<item name="payment/mollie_general/apikey_live" xsi:type="string">1</item>
<item name="payment/mollie_general/type" xsi:type="string">1</item>
<item name="payment/mollie_general/debug" xsi:type="string">1</item>
</argument>
</arguments>
</type>
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Mollie_Payment" setup_version="1.4.3" />
<module name="Mollie_Payment" setup_version="1.4.4" />
</config>

0 comments on commit 63c1aa6

Please sign in to comment.