I have a controller that is called by ajax in the cart page. A gift card amount is passed to the controller and a function then updates the quote grand total based on that amount. protected function applyGiftCard($giftCardCode, $giftCardSecurityCode, $giftCardAmount): array { $quote = $this->checkoutSession->getQuote(); $grand_total = $quote->getGrandTotal(); $new_grand_total = […]