From f5c70363301cea49ebb468d647d1242885eba9e9 Mon Sep 17 00:00:00 2001 From: Ram Prakash Singh <45222925+ramth05@users.noreply.github.com> Date: Wed, 26 Aug 2020 11:11:58 +0530 Subject: [PATCH] PON-542: Webhook orders missing original_price for orders items. (#192) --- Controller/Payment/Webhook.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Controller/Payment/Webhook.php b/Controller/Payment/Webhook.php index 4307a2c0..7da681ac 100644 --- a/Controller/Payment/Webhook.php +++ b/Controller/Payment/Webhook.php @@ -309,6 +309,8 @@ protected function getQuoteObject($post, $quoteId) $quote->setStore($store); + $quote->collectTotals(); + $quote->save(); return $quote;