Conditionally disable gift cards in checkout using custom logic with the Payment Customization API
API
Effective November 12, 2024
Action required
As of Nov 12, 2024, you can use the HideOperation in the Payment Customization Function API to disable native gift card functionality and Shopify-integrated third-party gift card systems. Disabling gift cards hides the gift card field, removes any applied gift cards, and prevents any gift cards from being applied by UI extensions.
The ability to disable the gift card field is available in the unstable API version and will be released to the stable 2025-01 API version.
Learn more about payment customizations.