Skip to content

Commit 5cbc6af

Browse files
author
Simon Schurter
committed
Release 1.0.18
1 parent c0e7ebb commit 5cbc6af

File tree

9 files changed

+12
-11
lines changed

9 files changed

+12
-11
lines changed

Model/Service/AbstractLineItemService.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
namespace PostFinanceCheckout\Payment\Model\Service;
1212

1313
use Magento\Customer\Model\GroupRegistry as CustomerGroupRegistry;
14+
use Magento\Framework\DataObject;
1415
use Magento\Framework\App\Config\ScopeConfigInterface;
16+
use Magento\Framework\Event\ManagerInterface as EventManagerInterface;
1517
use Magento\Store\Model\ScopeInterface;
1618
use Magento\Tax\Api\TaxClassRepositoryInterface;
1719
use Magento\Tax\Helper\Data as TaxHelper;
@@ -21,8 +23,6 @@
2123
use PostFinanceCheckout\Sdk\Model\LineItemCreate;
2224
use PostFinanceCheckout\Sdk\Model\LineItemType;
2325
use PostFinanceCheckout\Sdk\Model\TaxCreate;
24-
use Magento\Framework\Event\ManagerInterface as EventManagerInterface;
25-
use Magento\Framework\DataObject;
2626

2727
/**
2828
* Abstract service to handle line items.
@@ -354,6 +354,7 @@ protected function getShippingTax($entity)
354354
$entity->getStoreId());
355355
if ($shippingTaxClassId > 0) {
356356
$shippingTaxClass = $this->_taxClassRepository->get($shippingTaxClassId);
357+
$taxRateRequest->setProductClassId($shippingTaxClassId);
357358
$rate = $this->_taxCalculation->getRate($taxRateRequest);
358359
if ($rate > 0) {
359360
$tax = new TaxCreate();

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This repository contains the Magento 2.3 extension that enables to process payme
1010

1111
## Documentation
1212

13-
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.17/docs/en/documentation.html)
13+
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.18/docs/en/documentation.html)
1414

1515
## License
1616

17-
Please see the [license file](https://github.com/pfpayments/magento-2.3/blob/1.0.17/LICENSE) for more information.
17+
Please see the [license file](https://github.com/pfpayments/magento-2.3/blob/1.0.18/LICENSE) for more information.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"type" : "magento2-module",
21-
"version" : "1.0.17",
21+
"version" : "1.0.18",
2222
"require" : {
2323
"php": "~7.1.3||~7.2.0",
2424
"magento/framework" : "^102.0.0",

docs/en/documentation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2>Documentation</h2> </div>
2121
</a>
2222
</li>
2323
<li>
24-
<a href="https://github.com/pfpayments/magento-2.3/releases/tag/1.0.17/">
24+
<a href="https://github.com/pfpayments/magento-2.3/releases/tag/1.0.18/">
2525
Source
2626
</a>
2727
</li>

etc/adminhtml/system.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<resource>PostFinanceCheckout_Payment::config</resource>
1919
<group id="information" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
2020
<label>Information</label>
21-
<comment><![CDATA[If you need help setting up the PostFinance Checkout extension, check out the <a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.17/docs/en/documentation.html" target="_blank">documentation</a>.]]></comment>
21+
<comment><![CDATA[If you need help setting up the PostFinance Checkout extension, check out the <a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.18/docs/en/documentation.html" target="_blank">documentation</a>.]]></comment>
2222
<field id="version" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
2323
<label>Module Version</label>
2424
</field>

etc/config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<default>
1515
<postfinancecheckout_payment>
1616
<information>
17-
<version>1.0.17</version>
17+
<version>1.0.18</version>
1818
<sdk_version>1.1.9</sdk_version>
1919
</information>
2020
<general>

etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212
-->
1313
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
14-
<module name="PostFinanceCheckout_Payment" setup_version="1.0.17">
14+
<module name="PostFinanceCheckout_Payment" setup_version="1.0.18">
1515
<sequence>
1616
<module name="Magento_Sales"/>
1717
<module name="Magento_Payment"/>

i18n/de_DE.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"General","Allgemein"
4343
"Hold Delivery","Lieferung halten"
4444
"ID required","ID erforderlich"
45-
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.17/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Falls Sie Hilfe benötigen beim Einrichten der PostFinance Checkout-Erweiterung, sehen Sie sich die <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.17/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
45+
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.18/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Falls Sie Hilfe benötigen beim Einrichten der PostFinance Checkout-Erweiterung, sehen Sie sich die <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.18/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
4646
"Inactive","Inaktiv"
4747
"Information","Informationen"
4848
"Invoice","Rechnung"

i18n/en_US.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"General","General"
4343
"Hold Delivery","Hold Delivery"
4444
"ID required","ID required"
45-
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.17/docs/en/documentation.html"" target=""_blank"">documentation</a>.","If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.17/docs/en/documentation.html"" target=""_blank"">documentation</a>."
45+
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.18/docs/en/documentation.html"" target=""_blank"">documentation</a>.","If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.18/docs/en/documentation.html"" target=""_blank"">documentation</a>."
4646
"Inactive","Inactive"
4747
"Information","Information"
4848
"Invoice","Invoice"

0 commit comments

Comments
 (0)