Update PaymentModule.php

This commit is contained in:
Abhishek Kumar
2022-07-19 15:44:16 +05:30
parent d2c9491385
commit 1c0a36bdf1

View File

@@ -849,7 +849,7 @@ abstract class PaymentModuleCore extends Module
}
// delete cart feature prices after booking creation success
HotelRoomTypeFeaturePricing::deleteByIdCart($cart->id);
HotelRoomTypeFeaturePricing::deleteByIdCart($id_cart);
if (isset($_COOKIE['wk_id_cart'])) {
setcookie('wk_id_cart', ' ', time() - 86400, '/');