Jump to content

Failed to Get Basic Authentication Headers


Zammo

Recommended Posts

I am getting this error from Google Checkout 'Failed to Get Basic Authentication Headers'

 

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

 

I have the checkout set to XML

 

Does anyone know what could be causing this error?

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 3 months later...

Haven't completely solved it but made progress. Not sure if it's just my copy as there was a developer working on this project before me, but there's a mis-type in modules/gcheckout/library/google-response.php line 77

 

list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(':', base64_decode(substr($_GET['HTTP_AUTHORIZATIOIZATION'], 6)));

 

I'm pretty sure the HTTP_AUTHORIZATIOIZATION should be HTTP_AUTHORIZATION

 

changed it and am getting a "Payment Error" now in Prestashop, but at least Prestashop is acknowledging it now and Google is not throwing up that error - this problem is probably specific to my site.

Edited by komodosp (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...