Osiset\ShopifyApp\Exceptions\MissingShopDomainException

5.3k views Asked by At

I am using a library ( https://github.com/osiset/laravel-shopify ) to create Shopify APP using Laravel. Everything is working fine. But facing the error in case of not logged in to Shopify App admin.I am beginner to Shopify and created custom app. Please guide.

enter image description here

2

There are 2 answers

1
Asad zia On

Are you on local?

The AuthShop was changed back in v10 which now throws the exception above.

On production, it will redirect to /login. also check App_debug

0
Tenarius On

I had the same problem. I solved it by specifying my shop-url in the url parameters:

https://example.com/?shop=myshop.myshopify.com

This works also with ngrok:

https://6a8b17b2c39a.ngrok.io/?shop=myshop.myshopify.com