From ee251c7716e9c3fae6305d26bc8b5e2a33e3998a Mon Sep 17 00:00:00 2001 From: Marija Date: Mon, 25 Nov 2024 15:17:37 +0100 Subject: [PATCH] Remove cache clearing every time express checkout config is retrieved CS-6190 --- src/classes/Services/CheckoutHandler.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/classes/Services/CheckoutHandler.php b/src/classes/Services/CheckoutHandler.php index aeb90b38..88883294 100644 --- a/src/classes/Services/CheckoutHandler.php +++ b/src/classes/Services/CheckoutHandler.php @@ -93,9 +93,6 @@ public static function getExpressCheckoutConfig(PrestaCart $cart, bool $isGuest) $cart->update(); \Context::getContext()->cart->id_carrier =$cart->id_carrier; \Context::getContext()->cart->update(); - Tools::clearAllCache(); - \ProductCore::resetStaticCache(); - Cache::clear(); return CheckoutAPI::get()->checkoutConfig($cart->id_shop)->getExpressPaymentCheckoutConfig( new PaymentCheckoutConfigRequest(