Giter Site home page Giter Site logo

Comments (6)

cmcdonaldca avatar cmcdonaldca commented on July 17, 2024

So, you're not getting any errors or anything like that?

It'll be kind of hard for me to help with out seeing your code and setup directly.

Is there anything else you can supply to help me help you?

I'm glad at least someone would think this is useful!

from cakephp-shopify-plugin.

mikedigital avatar mikedigital commented on July 17, 2024

I'll see if I can push it to SVN so you can see it, but I've got the
component being called in my AppController and the includes in the
bootstrap. It redirects me to install the app and asks me to include the
element, which I did. I enter the store URL and it just takes me to the
Shopify store's installed app list.

I don't know if it's trying to add something to a database, like some sort
of configuration or whathaveyou. I skimmed the code but didn't see anything
too intense.
On Mar 21, 2012 11:35 AM, "Colin McDonald" <
[email protected]>
wrote:

So, you're not getting any errors or anything like that?

It'll be kind of hard for me to help with out seeing your code and setup
directly.

Is there anything else you can supply to help me help you?

I'm glad at least someone would think this is useful!


Reply to this email directly or view it on GitHub:

#1 (comment)

from cakephp-shopify-plugin.

mikedigital avatar mikedigital commented on July 17, 2024

It might not be your app. It might be Shopify. On line 59 in the ShopifyAuthComponent.php file, you are creating the app install url correctly through getAppInstallUrl():
http://[my store url].myshopify.com/admin/api/auth?api_key=[my api key]
When I went to it Shopify just redirected me to:
https://[my store url].myshopify.com/admin/applications

I hate when sites change their APIs.

from cakephp-shopify-plugin.

cmcdonaldca avatar cmcdonaldca commented on July 17, 2024

from within shopify, in the admin screen, click on the link to your app. make sure that link points to your install of cakephp where you have installed this plugin.

When you click on that link it should take you to your cakephp install and to the expected controller. When the plugin is installed, it will make sure that all the parameters correct and you allowed to make API calls on behalf of that store.

from cakephp-shopify-plugin.

mikedigital avatar mikedigital commented on July 17, 2024

I think that the issue is that you can't really use this with a private app. I never thought it was an issue until I checked your other Shopify snippet where you said "Don't ever use a private app." I created a public app, added it to the store, and we're going.

Sorry to worry you about something not working. Documentation is a bit lacking so it was a lot of trial and error.

Keep up the good work. I can't wait to get this working.

from cakephp-shopify-plugin.

cmcdonaldca avatar cmcdonaldca commented on July 17, 2024

Awesome!

Yeah, my bad, I purposely didn't support private apps because they are pretty much useless. I will update the docs!!!

sorry about that and glad you got it going. If there is ever anything you want to contribute to make it better... just do it!

colin

from cakephp-shopify-plugin.

Related Issues (6)

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.