Custom App Merchant install link does not work

Solved
dan1000
New Member
2 0 1

Shopify recently changed the whole way apps are created in partners.shopify.com. Previously, I could create an app in there and use a link akin to https://[YOUR_SHOP_NAME].myshopify.com/admin/oauth/authorize?client_id=[YOUR_API_KEY]&scope=unauthenticated_read_content&redirect_uri=[YOUR_REDIRECT_URL] to install the app on a store. Now Shopify wants me to use a "Merchant Install Link" and it does not work. It sends me to the Redirect URL after I click it, as it should, but the custom app does not appear installed in the store's https://[YOUR_SHOP_NAME].myshopify.com/admin/apps section. I think this is a problem with the update which Shopify made to their interface. How can I install my apps now? They are just for one store, not to be published or anything. I tried to install apps on multiple stores now, but nothing is working.

Replies 14 (14)
GeorgeHoffman
New Member
17 0 0

any update - Im seeing the same issue. I assume when I generate this merchant link I can just click the link and it should install. However it just opens the custom app and the app doesn't show up in the stores app list. 

nimirium
New Member
3 0 0

I solved the problem by myself.
Follow the tutorials: Build a Shopify App with Node.js and React

After I run "npm run dev", Then use the merchant install link. It finally works.

This actually worked for me too, except for this part

"Stop your server from the terminal window that’s running Next.js (ctrl + c).".

Don't stop your ngrok, and if you do, change the "App URL" and "Whitelisted redirect URLs" in the app settings.

pchavez
New Member
2 0 1

After days of investigation and tests I found a workaround for this problem.

1. Navigate to the 'Custom App Merchant Link' in a chrome session (autenticate in the shopify store if necessary) Ignore the result...

2. Now, in the same chrome session navigate to the autentication url. Accept the installation:
https://XXXXX.myshopify.com/admin/oauth/authorize?client_id=XXXXXXXXX&scope=XXXXXXXXX&redirect_uri=X...

Hope this helps someone.

 

rawebtechstack
New Member
2 0 0

This is a "local development environment" solution, not a production solution. The tutorial is great for local dev, but it does not say how this process translates into production. The install link works great for dev, but fails in production.

rawebtechstack
New Member
2 0 0

@rawebtechstack wrote:

This is a "local development environment" solution, not a production solution. The tutorial is great for local dev, but it does not say how this process translates into production. The install link works great for dev, but fails in production.


This message was in response to others saying: Follow the tutorials: Build a Shopify App with Node.js and React

 

That only works for development, not production.