Skip to content

Commit c2b3345

Browse files
committed
MC-19515: Cart price rule based on payment methods not applied in checkout
1 parent dac83de commit c2b3345

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/SalesRule/Model/Quote/Discount.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ public function collect(
9696
$store = $this->storeManager->getStore($quote->getStoreId());
9797
$address = $shippingAssignment->getShipping()->getAddress();
9898

99-
if ($quote->getPayment()->getMethod()) {
100-
$address->setPaymentMethod($quote->getPayment()->getMethod());
101-
}
99+
// if ($quote->getPayment()->getMethod()) {
100+
// $address->setPaymentMethod($quote->getPayment()->getMethod());
101+
// }
102102

103103
$this->calculator->reset($address);
104104

0 commit comments

Comments
 (0)