Fixing Gift Card Application Not Affecting Shipping/Tax

Why does shipping/tax stay the same after applying a gift card to the order?

In its essence, a gift card is different from a discount coupon. A discount is applied to the product(s) in the order, changing their final price. Thus, Magento recalculates tax and shipping rates to correspond with the changed final price of the product(s). 

A gift card, in its turn, is not applied to the products' price but rather to the order total. The order total may or may not include tax, shipping, previously applied discounts, etc. A gift card can cover tax and shipping, but doesn't trigger their recalculation. 


      
When the gift card code is applied, shipping and tax costs do not change, but the subtotal is recalculated.


      • Related Articles

      • Is it possible to use several gift card codes while placing an order?

        Starting from 2.9.0 extension version, the admin can set the maximum gift card codes qty to be applied in one order. The setting is located at Stores → Configuration → Amasty Extensions → Gift Card → Gift Card Account → Gift Card Code Qty Applied On ...
      • Gift Card API

        We have created public API collections for Gift Card module and its Gift Card Account submodule with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More ...
      • Is it normal that the shipping option is missing when purchasing the virtual gift card?

        The behavior you observe is correct: virtual products do not require shipping. If you purchase a virtual gift card and/or virtual products, you'll be redirected to payment right away.
      • How to activate the gift card account?

        Out of the box, the gift card account is created automatically when the order is invoiced and paid. Since v. 2.18.0 of Gift Card extension it is possible to create gift code accounts and send gift card emails right after the order creation, along ...
      • How Gift Card Codes are Generated?

        Gift Card codes in Magento are generated automatically when creating a gift card, either when processing an order or manually during the gift card creation process. These codes are pulled randomly from a code pool selected for the specific gift card: