Skip to content

Commit c977be2

Browse files
committed
MAGETWO-90971: Error is returned when customer checks out with multiple addresses
1 parent 96d02bf commit c977be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Tax/Model/Plugin/OrderSave.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function saveOrderTax(\Magento\Sales\Api\Data\OrderInterface $order)
7878
$ratesIdQuoteItemId = [];
7979
foreach ($taxesForItems as $taxesArray) {
8080
foreach ($taxesArray['applied_taxes'] as $rates) {
81-
if (isset($rates['extension_attributes'])) {
81+
if (isset($rates['extension_attributes']['rates'])) {
8282
$taxRates = $rates['extension_attributes']['rates'];
8383
if (is_array($taxRates)) {
8484
if (count($taxRates) == 1) {

0 commit comments

Comments
 (0)