Skip to content

Commit 352a3d6

Browse files
magento/magneto2#27570: fixed issue withsue with store id for cash on delivery method
1 parent b307274 commit 352a3d6

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Sales/Model/Order/Payment

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/Model/Order/Payment/Info.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public function getMethodInstance()
118118
$instance = $this->paymentData->getMethodInstance(Substitution::CODE);
119119
}
120120
$instance->setInfoInstance($this);
121+
$instance->setStore($this->getOrder()->getStoreId());
121122
$this->setMethodInstance($instance);
122123
}
123124
return $this->getData('method_instance');

0 commit comments

Comments
 (0)