GithubHelp home page GithubHelp logo

notmaintained / shopify_api Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 86.0 314 KB

The latest version of this project has been moved to https://github.com/phpish/shopify

License: MIT License

PHP 100.00%

shopify_api's People

Contributors

sandeepshetty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

shopify_api's Issues

Problem with raising exceptions

I'm using your Shopify_API code to work with Shopify, and have gone through the steps in readme. I am having a problem with the example code, though.

I am using the latest code from Github (https://github.com/sandeepshetty/shopify_api) installed using composer.

Here is the error:

Fatal error: Class 'sandeepshetty\shopify_api\ApiException' not found in /srv/www/cassavarepublic_paga/releases/20130614105446/vendor/sandeepshetty/shopify_api/client.php on line 76

I'm wondering if this is a bug, and whether the ApiException needs to be defined somewhere?

Thanks so much in advance,

Tom

Example use

Would it be possible to add a folder to the repo that has an example app using this client? I would really appreciate seeing a proper setup using this client class! Thanks! :)

Upgrading OAuth2

In you example that includes "If your migrating from legacy auth", are you suggesting not to run through the database, rather just convert it every time to a new code?

I need to implement OAuth2 from https://github.com/sandeepshetty/shopify.php and it seems like a pain. I'm using codeigniter, and I haven't coded anything in php in around a year.

Any advice? I'd love if I could just drop the new library in, but I'm guessing sadly that's not the case.

Cannot get the access token

I am unable to get the access token. I have passed 'shop' in my URL but cannot understand want do I need to pass in 'code'. I guess its due to 'code' being an empty parameter I am unable to generate the access token.

Creating an app

hi sandeep
..i am trying to make an app in shopify.i am not familar with shopify app.i have installed composer.json file and downloaded vendor folder on local host......please guide me what to do next.I am following these link.
1.)http://www.geek-alpha.com/php/using-php-connect-shopify-api-installation-dependencies-database/ (completed)
2.http://www.geek-alpha.com/php/using-php-connect-shopify-api-make-api-calls/ (i ahve an doubt in this link .where to put this code.?shall i put this code on local host files?

Invalid exception

Pass a bad access token and you have an error on line 74:
ApiException

If I grep the code, I find the definition of that class nowhere in sight.

Tag your releases

Please tag your releases. Not doing so means I have to enumerate all of your dependencies in my composer.json and specify dev-master. This isn't how its supposed to work.

Unable to install using default Composer settings

Just wanted to let you know that installation failed using the default Composer settings:

$ composer.phar install
Loading composer repositories with package information
Installing dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for sandeepshetty/shopify_api dev-master -> satisfiable by sandeepshetty/shopify_api dev-master.
    - sandeepshetty/shopify_api dev-master requires sandeepshetty/wcurl dev-master -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.

After following the instructions in the link in the error report I added the following to composer.json and it worked: "minimum-stability": "dev"

Edit: Actually, I also had to change the following @ vendor/composer/autoload_real.php, Line 33:

require $vendorDir . '/sandeepshetty/shopify_api/vendor/sandeepshetty/wcurl/wcurl.php';
to:
require $vendorDir . '/sandeepshetty/wcurl/wcurl.php';

Using shopify_api PHP library with Symfony2

Hey Sandeep,

I just wanted to let you know that the following line (line 2 of client.php) throws a 500 internal server error with the Symfony2 framework

require 'vendor/autoload.php';

Removing this line fixes the problem, since Symfony2 uses composer by default and has its own unique method of generating autoload.php.

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.