notmaintained / shopify_api Goto Github PK
View Code? Open in Web Editor NEWThe latest version of this project has been moved to https://github.com/phpish/shopify
License: MIT License
The latest version of this project has been moved to https://github.com/phpish/shopify
License: MIT License
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
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! :)
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.
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.
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?
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.
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.
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';
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.
I am getting the following error:
Failed to clone https://github.com/sandeepshetty/wcurl.git, git was not found, check that it is installed and in your PATH env.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.