bluevisiontec / GoogleShoppingApi

Magento Module GoogleShoppingApi v2
Open Software License 3.0
69 stars 45 forks source link

Google Content Api v2 Redirect not working #44

Closed darrelljr00 closed 9 years ago

darrelljr00 commented 9 years ago

Im logged into my magento admin and when clicking google content api v2 / manage items... I am redirected to go to the google page to accept or cancel managing product listings. Clicking accept redirects me back to my home page.

when I remove my client id or client secret the redirect works and I am able to add products to google api. They dont upload because of the lack of client id though. im guessing it is an authentication issue but not sure where. Please help

darrelljr00 commented 9 years ago

on autoload.php I get this error: Deprecated: google-api-php-client's autoloader was moved to src/Google/autoload.php in 1.1.3. This redirect will be removed in 1.2. Please adjust your code to use the new location. in /home/darrell1/public_html/vendor/google/apiclient/autoload.php on line 25

lewisak commented 9 years ago

Try using API Client version 1.1.2, here -

https://github.com/google/google-api-php-client/archive/1.1.2.tar.gz

darrelljr00 commented 9 years ago

I have 1.1.2 installed in magentostore.com/vendor/google/apiclient/ .. issue still remains

darrelljr00 commented 9 years ago

Can anyone help with this issue? Ive been working on this for days. The authentication is not working. I dont know why but its not forwarding the security information to google

schnere commented 9 years ago

Please check the settings in Google developers console. Ensure that the redirect URL is set correctly:

https://www.yourmagentobackend.com/index.php/admin/googleShoppingApi_oauth/auth/

toweringmedia commented 8 years ago

We had the same issue were stuck on it all day. I finally downloaded a working copy from another clients site and uploaded it, It was a older version of the bluevisiontec file set from about a year ago. I used the 1.1.4 vender files, then it was the last file I uploaded the js file and it worked!. I hope this helps someone.