GithubHelp home page GithubHelp logo

Comments (10)

darrelljr00 avatar darrelljr00 commented on June 27, 2024

Did you ever get this fixed? Im having an auth issue also

from googleshoppingapi.

bavington avatar bavington commented on June 27, 2024

Hey @darrelljr00, I didn't get to the root cause, I only managed to sort it by uninstalling, and starting again. Seemed to be OK the second time round.

from googleshoppingapi.

darrelljr00 avatar darrelljr00 commented on June 27, 2024

When installing the google api do you just place it in the vendor/google/apiclient folder? Or is there a specific google api script to run? Im lost. When I go to manage items it prompts for authentication, I click ok and then it reroutes me back to my homepage. Ive tried everything.

from googleshoppingapi.

bavington avatar bavington commented on June 27, 2024

You start off by installing the Google API in: [MAGENTO_ROOT]/vendor/google/apiclient/
Once you then install the extension (in the regular location), it looks for files within that vender/google/apiclient folder. Have you set up the project in the Google Developer's Console to get the API tokens etc?

from googleshoppingapi.

darrelljr00 avatar darrelljr00 commented on June 27, 2024

I have the client id, and client secret . Ive tried everything but it seems like the credentials are not being forwarded to google for verification. Ive checked the developers console and there are no attempts for the api to communicate with google

from googleshoppingapi.

schnere avatar schnere commented on June 27, 2024

You might want to try out the new ability to use a service account (see updated Readme).
Please update the module to the newest version (0.2.2) and ensure to use Google API client for PHP in head revision or version 1.1.4 with the following patch:

--- vendor/google/apiclient/src/Google/Client.php.orig  2015-06-10 12:15:08.937391432 +0200
+++ vendor/google/apiclient/src/Google/Client.php       2015-06-10 12:15:47.693520083 +0200
@@ -16,7 +16,7 @@
  */

 if (!class_exists('Google_Client')) {
-  require_once dirname(__FILE__) . '/../autoload.php';
+  require_once dirname(__FILE__) . '/autoload.php';
 }

 /**

(see googleapis/google-api-php-client@818b20c)

from googleshoppingapi.

darrelljr00 avatar darrelljr00 commented on June 27, 2024

has the zip file been updated with the new files?

On Wed, Jun 10, 2015 at 10:57 AM, Reinhard Schneidewind <
[email protected]> wrote:

You might want to try out the new ability to use a service account (see
updated Readme).
Please update the module to the newest version (0.2.2) and ensure to use
Google API client for PHP in head revision or version 1.1.4 with the
following patch:

--- vendor/google/apiclient/src/Google/Client.php.orig 2015-06-10 12:15:08.937391432 +0200
+++ vendor/google/apiclient/src/Google/Client.php 2015-06-10 12:15:47.693520083 +0200
@@ -16,7 +16,7 @@
*/

if (!class_exists('Google_Client')) {

  • require_once dirname(FILE) . '/../autoload.php';
  • require_once dirname(FILE) . '/autoload.php';
    }

/**

(see googleapis/google-api-php-client@818b20c
googleapis/google-api-php-client@818b20c
)


Reply to this email directly or view it on GitHub
#42 (comment)
.

from googleshoppingapi.

schnere avatar schnere commented on June 27, 2024

You can download the newest version of the Magento Module here: https://github.com/bluevisiontec/GoogleShoppingApi/archive/0.2.2.tar.gz
https://github.com/google/google-api-php-client/archive/1.1.4.tar.gz
For the Google API Client for PHP you should download this, place it under vendor/google/apiclient and apply the patch.

You can also apply the patch manually after updating to 1.1.4 by changing line 19 in vendor/google/apiclient/src/Google/Client.php to the following:

require_once dirname(__FILE__) . '/autoload.php';

from googleshoppingapi.

darrelljr00 avatar darrelljr00 commented on June 27, 2024

Is there a way to bulk assign products to google categories using magmi? I
have thousands of products and cannot assign them manually

On Thu, Jun 11, 2015 at 7:34 AM, punitgadhiya [email protected]
wrote:

Can you please look at issue #38 ?

On 11 June 2015 at 17:59, Reinhard Schneidewind [email protected]
wrote:

You can download the newest version of the Magento Module here:
https://github.com/bluevisiontec/GoogleShoppingApi/archive/0.2.2.tar.gz
https://github.com/google/google-api-php-client/archive/1.1.4.tar.gz
For the Google API Client for PHP you should download this
https://github.com/google/google-api-php-client/archive/1.1.4.tar.gz,
place it under vendor/google/apiclient and apply the patch.

You can also apply the patch manually after updating to 1.1.4 by changing
line 19 in vendor/google/apiclient/src/Google/Client.php to the
following:

require_once dirname(FILE) . '/autoload.php';


Reply to this email directly or view it on GitHub
<
#42 (comment)

.


Reply to this email directly or view it on GitHub
#42 (comment)
.

from googleshoppingapi.

darrelljr00 avatar darrelljr00 commented on June 27, 2024

It seems that the google category attribute was created so that the data
has to be selected by a drop down. Can we edit it so that we can use text?
That way we should be able to type in a google category number inside a
excel doc and upload via magmi

On Fri, Jun 19, 2015 at 9:43 AM, D Johnson [email protected] wrote:

On Fri, Jun 19, 2015 at 9:42 AM, D Johnson [email protected] wrote:

Is there a way to bulk assign products to google categories using magmi?
I have thousands of products and cannot assign them manually

On Thu, Jun 11, 2015 at 7:34 AM, punitgadhiya [email protected]
wrote:

Can you please look at issue #38 ?

On 11 June 2015 at 17:59, Reinhard Schneidewind <
[email protected]>
wrote:

You can download the newest version of the Magento Module here:

https://github.com/bluevisiontec/GoogleShoppingApi/archive/0.2.2.tar.gz
https://github.com/google/google-api-php-client/archive/1.1.4.tar.gz
For the Google API Client for PHP you should download this
<https://github.com/google/google-api-php-client/archive/1.1.4.tar.gz
,
place it under vendor/google/apiclient and apply the patch.

You can also apply the patch manually after updating to 1.1.4 by
changing
line 19 in vendor/google/apiclient/src/Google/Client.php to the
following:

require_once dirname(FILE) . '/autoload.php';


Reply to this email directly or view it on GitHub
<
#42 (comment)

.


Reply to this email directly or view it on GitHub
#42 (comment)
.

from googleshoppingapi.

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.