Comments (9)
@anurag3386 Did you find out any solution for this? I'm also facing the same issue.
from shopify-app-template-php.
Okay, I found the solution.
- Log in to your Partner account and select your app.
- Click on App Setup from the left sidebar and scroll to the bottom.
- Embedded app: Click on manage and turn it off.
- Modify the code in AppServiceProvider.php
Context::initialize( env('SHOPIFY_API_KEY', 'not_defined'), env('SHOPIFY_API_SECRET', 'not_defined'), env('SCOPES', 'not_defined'), $host, new DbSessionStorage(), ApiVersion::LATEST, false, false, null, '', null, (array)$customDomain, );
An extra step would be changing the redirect URL in /api/auth/callback route to your customer route.
This is done.
from shopify-app-template-php.
Hello @shahzadwaris
I already fixed the same after lots reading the steps in code and do the same thing.
Thanks
Anurag
from shopify-app-template-php.
@shahzadwaris
I'm Modify the code in AppServiceProvider.php. Also, changed the custom route URL for in "/api/auth/callback" redirect. But, It's continuously refresh page and not redirecting to custom route URL.
from shopify-app-template-php.
@ellowwwteam did you add the HOST
with your custom domain in the .env
file?
from shopify-app-template-php.
@shahzadwaris Yes, I have update the host in .env file. Any other changes need fixing the non embedded app?
from shopify-app-template-php.
App is continuously refreshing and redirecting again and again after i made it Non Embeddable
from shopify-app-template-php.
Did you follow the above instructions?
from shopify-app-template-php.
Yes, i found my App Setup was set to Add Embed usually that does not happen when you create a new app.
from shopify-app-template-php.
Related Issues (20)
- vite is not recognized when run cmd "npm run dev" fresh installation HOT 4
- Who is maintaining this repository? HOT 2
- How to deploy it to fly.io??
- instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on) HOT 2
- HMAC comparison error
- Issue to access the files of Deployed Shopify APP in Heroku HOT 3
- How to sync the complete products including pagination in shopify rest APIs using this package (shopify-app-template-php)?
- npm run dev forcing to create new partner account
- APP_UNINSTALLED session deletion process
- Shopify App Template Laravel with Next-js HOT 1
- Static URL from cloudflare not working
- Running with a static url in development, issue with FRONTEND_PORT
- No guidance on setting up and using webhooks with shopify-app-template-php HOT 1
- Access scope related issue HOT 1
- Shopify\Utils::sanitizeShopDomain(): Argument #1 ($shop) must be of type string, null given, called in C:\laragon\www\shopify-first-app\web\app\Lib\AuthRedirection.php on line 17 HOT 3
- unable to get depolyed app with apache to wrok HOT 1
- Connect APP to Database phpMyAdmin
- ERROR Cannot read properties of null (reading 'useContext') [Fresh Installation] HOT 1
- How can add page before showing install app page in ??
- How can show page before showing install app page ??
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shopify-app-template-php.