Can't deploy checkout ui extension with network access

Hello,

I’m trying to develop a checkout ui extension for a friend who recently started a web shop.

I need to fetch some data from an external source (using fetch) that decides if/when the checkout process can go through so I added this to my shopify.extension.toml:

[extensions.capabilities]
api_access = true
network_access = true

It works fine when I run it with shopify app dev but in order to get it to his store I first need to deploy it but when I run shopify app deploy I always get this message:

Network access must be requested and approved in order for the [NAME] extension to be published.

In the documentation it says that I need to enable the network access in the shopify partners web ui but it says it’s already enabled:

In the dev dashboard I can see all the versions as “created” but I can’t release them it always says that I need to enable network access before I can release this version.

Not sure what I gotta do to make this work.

Hi @Sascha_Lois

Did you try running shopify app build before you ran shopify app deploy?

Also, is this a custom app, or an app that is built for eventual public use? They have two different ways of managing settings.

Tried shopify app build now but it still shows the error message when I try to deploy.

It’s a custom app just for my friend

Gotcha, well you might have found an edge case where custom apps are not compatible with Checkout Extensions.

Checkout Extensions are only available on Plus, and typically Custom Apps are used for Admin API integrations, not for modifying the checkout process itself.

You might be able to use a public app instead, but never publish it. Then the app can be installed on this Plus store and modify the checkout with the normal permissions scoping.