Jump to content

[SOLVED] Google Checkout does not work since the upgrade


Recommended Posts

Since the upgrade Google Checkout has ceased to work. Customers can make orders but they do not show up in my store, even as an invalid order.

 

I get the following error in Google Checkouts integration console:

 

We encountered an error trying to access your server at https://www.blahblah.com/validation.php -- the error we got is Send failed with code: 401. Response body was: Failed to Get Basic Authentication Headers

 

This is very frustrating. Can anyone help please?

 

Thanks,

 

Mike

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...

Hi,

 

First post here. I had this same problem after an upgrade from 1.4.4.1 to 1.4.6.2 Google Checkout callback was broke. All the directory permissions were 755 and the files were 644 snd STILL the same problem. After downloading the module Fabien posted above, I unzipped it and had a look through the files. My server /modules/gcheckout/ folder did not contain an .htaccess file... Uploaded the file and viola. It works. The contents of the .htacces file for that directory are:

 

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{HTTP:Authorization} ^(.*)

RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]

</IfModule>

Hope that helps!

 

Steve

Link to comment
Share on other sites

Hi,

 

First of all let me thank you for the help you hav provided so far. It is great to have the experts supporting the Newbies!

 

I have updated the module but it is still not working. My visitors can still place an order via the Google checkout but it only appears on the Google Checkout NOT in the Prestashop Back Office.

Looking at the Google Checkout Console, it says:

 

We encountered an error trying to access your server at https://www.mywebsit.../validation.php -- the error we got is java.io.IOException: Error 'SSL_CERTIFICATE_ERROR' connecting to url 'https://www.mywebsite.com/modules/gcheckout/validation.php'.

 

So I am wondering whether the issue would rather be a SSL issue? (I have enabled the SSL and I have a shared SSL certificate with my host).

Does that ring a bell? Do I need another certificate maybe?

 

Thank you for your help.

 

 

PS: I also noticed that the Google Checkout module gives "http://www.mywebsite.com/modules/gcheckout/validation.php" as an API Callback URL

BUT Google only accepts a httpS URL. It may be worth fixing the typo (if it is a typo)

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...

The .htaccess file alone though, doesn't seem to solve the "Failed to get basic authentication headers" issue

The .htaccess file alone may not solve the problem as there are over 100 changes between the GC module distibuted with the, e.g. 1.4.7.0 zip, and the one posted above. Try uninstalling the currently installed one and install the above one (not tested).

Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...
×
×
  • Create New...