For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Im looking for a way to delay/pause the application of a Gift Card (GC) on the Checkout page if the GC number begins with a predefined prefix like "WEB". If they user enters such a GC number, we prevent the GC from being applied to the Checkout. Our app will check if the GC already exist in Shopify? If it does not, call a third party API to check the balance on the GC if it exists, create the equivalent GC in Shopify and then apply the Shopify GC to the checkout. If they GC already exist in Shopify, the normal Shopify GC application to checkout and error messages will take over.
The documented React Hooks in the Shopify docs does not provide a way to achieve this behavior but I was hoping someone found an a way that is not officially documented by Shopify. Any ideas group?