Skip to content

Commit

Permalink
Release version 5.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
afterpayplugins committed Aug 27, 2024
1 parent 6c53aae commit d3f3c33
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions Model/Payment/AmountProcessor/CreditMemo.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
class CreditMemo
{
private \Afterpay\Afterpay\Model\Order\OrderItemProvider $orderItemProvider;

private \Magento\Weee\Block\Item\Price\Renderer $priceRenderer;
private \Afterpay\Afterpay\Model\Config $config;

public function __construct(
\Afterpay\Afterpay\Model\Order\OrderItemProvider $orderItemProvider,
\Magento\Weee\Block\Item\Price\Renderer $priceRenderer
\Magento\Weee\Block\Item\Price\Renderer $priceRenderer,
\Afterpay\Afterpay\Model\Config $config
) {
$this->orderItemProvider = $orderItemProvider;
$this->priceRenderer = $priceRenderer;
$this->config = $config;
}

public function process(\Magento\Sales\Model\Order\Payment $payment): array
Expand Down Expand Up @@ -268,5 +270,4 @@ private function processWithGrandTotal(
break;
}
}

}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "Apache-2.0",
"type": "magento2-module",
"description": "Magento 2 Afterpay Payment Module",
"version": "5.4.0",
"version": "5.4.1",
"require": {
"php": ">=7.4.0",
"magento/framework": "^103.0",
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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="Afterpay_Afterpay" setup_version="5.4.0">
<module name="Afterpay_Afterpay" setup_version="5.4.1">
<sequence>
<module name="Magento_Payment"/>
<module name="Magento_Checkout"/>
Expand Down

0 comments on commit d3f3c33

Please sign in to comment.