Giter VIP home page Giter VIP logo

Comments (9)

shahzadwaris avatar shahzadwaris commented on June 27, 2024

@anurag3386 Did you find out any solution for this? I'm also facing the same issue.

from shopify-app-template-php.

shahzadwaris avatar shahzadwaris commented on June 27, 2024

Okay, I found the solution.

  1. Log in to your Partner account and select your app.
  2. Click on App Setup from the left sidebar and scroll to the bottom.
  1. Embedded app: Click on manage and turn it off.
  2. 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.

anurag3386 avatar anurag3386 commented on June 27, 2024

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.

ellowwwteam avatar ellowwwteam commented on June 27, 2024

@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.

shahzadwaris avatar shahzadwaris commented on June 27, 2024

@ellowwwteam did you add the HOST with your custom domain in the .env file?

from shopify-app-template-php.

ellowwwteam avatar ellowwwteam commented on June 27, 2024

@shahzadwaris Yes, I have update the host in .env file. Any other changes need fixing the non embedded app?

from shopify-app-template-php.

khanakia avatar khanakia commented on June 27, 2024

App is continuously refreshing and redirecting again and again after i made it Non Embeddable

from shopify-app-template-php.

shahzadwaris avatar shahzadwaris commented on June 27, 2024

Did you follow the above instructions?

from shopify-app-template-php.

khanakia avatar khanakia commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.