Shopify Checkout Extension Works in Dev but Completely Silent in Production

The Problem

My Shopify checkout extension (on thank-you page) works perfectly in development but fails silently in production:

  • :cross_mark: No network requests in Network tab

  • :cross_mark: No console logs appear

  • :white_check_mark: Works fine in dev environment

What I’ve Verified

  • Session token obtained successfully (api.sessionToken.get())

  • Order ID extracted correctly from orderConfirmation

  • Extension enabled on order status page in Shopify admin

  • Capabilities enabled: api_access, network_access

  • CORS headers set to https://extensions.shopifycdn.com

  • Backend endpoint works when tested directly

Key Code Structure

typescript

useEffect(() => {
  const timer = setTimeout(() => {
    async function fetchGameDetails() { 
      const token = await api.sessionToken.get();
      console.log({ token, orderID }); // ❌ Never logs in production
      const result = await getGameDetails(appUrl, orderID, token);
      // ... handle result
    }
    fetchGameDetails();
  }, 5000);
  return () => clearTimeout(timer);
}, [orderID]);

Visual Difference

Dev: <div class="Geu8c">{children}</div> :white_check_mark:
Production: Nothing :cross_mark:

Environment

  • Shopify API: 2025-07

  • Extension: purchase.thank-you.block.render

  • Backend: Remix on Fly.io

  • Deploy: shopify app deploy

The extension loads (visible in metadata), but JavaScript execution seems to completely stop in production. No errors, no logs, nothing.

Has anyone experienced this? Any debugging suggestions?

Are you sure the extension has been added to your production store’s checkout profile?

You can use the new shopify.extensionsmodule in the AppBridge to also programmatically check it is installed.

Hey @Eesha_Shahid, Dylan’s is on point on this one. In production shops, generally merchants need to explicitly add them via the checkout editor.

To check: head to Settings > Checkout > Customize in your production store, switch to the Thank You page view, and make sure your extension block is placed in the layout there.

If it’s already placed and still showing nothing, let me know and we can dig deeper for sure. If you can share the verbose output of your deploy command (Shopify CLI App commands) that would be helpful as well, so we can trace things specifically. Hope this helps!