Found out today that when applying gift cards to checkout that the order total amount does not get affected within the useTotalAmount API:
The total amount in the checkout UI reflects the updated total, and when using discounts the order total amount is affected, but it doesn’t seem to account for gift cards.
I’ve tried it both on 2024-07 and 2025-04, is this intended behaviour? I think it’d make calculations surrounding order total and gift cards a lot easier if it was accounted for.