Skip to content

Commit 4c9ea73

Browse files
authored
MC-42674 (#35)
1 parent f502162 commit 4c9ea73

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

patches.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,9 @@
365365
},
366366
"Re-work consumers to terminate as soon as there is nothing left to process": {
367367
">=2.2.0 <2.3.2": "MAGECLOUD-4071__terminate_consumers_if_the_queue_is_empty__2.2.0.patch"
368+
},
369+
"Fixes issue with PayPal Express where previously placed order price is displayed": {
370+
"2.3.7-p1": "MC-42674__paypal_checkout__2.3.7-p1.patch"
368371
}
369372
}
370373
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php b/vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php
2+
index 055af4162d5f3..3f4fafc110ae2 100644
3+
--- a/vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php
4+
+++ b/vendor/magento/module-paypal/Controller/Express/AbstractExpress/PlaceOrder.php
5+
@@ -99,6 +99,7 @@ public function execute()
6+
7+
// prepare session to success or cancellation page
8+
$this->_getCheckoutSession()->clearHelperData();
9+
+ $this->_getSession()->unsQuoteId();
10+
11+
// "last successful quote"
12+
$quoteId = $this->_getQuote()->getId();

0 commit comments

Comments
 (0)