My checkout UI Extension works locally, but not when deployed to

Shopify Partner
5 0 0


I'm in the process of developing my very first Shopify app. The primary function of my app is to present a post-purchase survey to customers using the Checkout UI Extension. The questions for the survey are dynamically fetched from an API, and once customers complete the survey and click "Submit feedback," the responses are sent to an external backend. I've utilized the fetch() method to manage these data requests.

Screenshot 2023-10-22 at 20.32.39.png


My problem

This works just fine when I run it locally (npm run dev), but after I deploy my app to (following this guide), I can't get the survey to show.


In development mode, I can see in the Networks tab that a request is made to my app URL (https://[shopify-generated-URL] when the order status page loads. This doesn't happen in when I change my app URL and App redirect URL to match my credentials.


What I've done so far:

  1. Updated my App URL and app redirect URL to match my hostname ( and (
  2. Double-checked that ports, API keys, and URLs are correct
  3. Set api_access = true and network_access = true in my shopify.extension.toml file


What am I missing?🤔 Despite my best efforts, I'm still unable to solve this problem and it has me puzzled. I've dedicated a lot of time to troubleshooting but seem to be stuck. Any assistance or insights you can offer would be greatly appreciated. Many thanks in advance!

Replies 7 (7)

Shopify Staff
2731 302 783

Hi MrPong,

It's great to hear that you're developing your first Shopify app, so let's look into why this deploym ent issue might be happening. 

At first glance, it seems like there could be a couple of different issues at play:

  1. CORS: This is a common issue when trying to fetch data from a different domain, which is the case when your app is running on and trying to fetch data from Shopify. You might want to check your server's CORS settings and make sure that Shopify's domain is in the allowed origins.

  2. SSL Certificate: When you move from a local development environment to a live site, you need to ensure that your site is served over HTTPS. For this, you need an SSL certificate. usually handles this for you, but you might want to check if there were any issues in this process.

  3. Shopify App Bridge: Shopify uses App Bridge for embedding apps within the Shopify admin. It's possible that there might be some configuration issues with App Bridge that are preventing your app from working properly after deployment.

  1. Check your server logs: If there's an issue with your server or your app, the error logs could give you more information about what's going wrong. You can access these logs through your hosting platform (

  2. Check your extension's deployment status: Make sure to check the status of your extension's deployment in your Partner Dashboard. It's possible that there might have been an issue with the deployment process.

Try the above and let us know if you're still seeing issues!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit or the Shopify Web Design and Development Blog

Shopify Partner
5 0 0

Hello, and thanks for your reply Liam!


I followed your list and can verify steps 2, 4, and 5. I couldn't find anything on CORS in's documentation or forum and I see no CORS errors in their logs or my browser console. I do however see this privacy_access_token. Also, in my network tab, I see no signs of Shopify trying to communicate with my app on When in development mode, I can clearly see a request being sent to my app URL's extension folder.


Screenshot 2023-10-23 at 19.16.36.png


To simplify things, I also tried to create a new app with a checkout UI extension that just displayed a banner saying "hello from", but that didn't work either.


Any thoughts on how to progress are much appreciated!

Shopify Partner
1 0 0

Hi @MrPong , I seem to have a similar issue right now. Could you please tell me if you found a solution for this?

Shopify Partner
5 0 0
I've abandoned this project since then. Unfortunately, I didn't find a

Best of luck!

Shopify Partner
2 0 0

I'm still having the same issue.

Sadly in the console log you also can't see anything about errors.

Shopify Partner
2 0 0

@MrPong I found the mistake.

I thought because it renders when I run the application locally I thought when I deploy and install the app in a store it automatically renders there aswell.

But you need to add the app as block in the theme of the checkout you are using.

Afterwards your UI Extension is running as you wish.


Let me know if you already tried that or if not if it's working then for you.


Sadly as newbie this is not documented anywhere. At least I have found nothing about it.

Maybe @Liam can take it with him.

Shopify Partner
25 5 7

Maaaaaan, adding the app block into the customizer of the theme has to be written in caps lock on the documentation, in red, all over it if possible. I was so confused after deployment.. thank you!