CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Google Checkout Notification Failure .. Failed to Get Basic Authentication Heade
Pages: [1]

Author Topic: Google Checkout Notification Failure .. Failed to Get Basic Authentication Heade  (Read 1702 times)

Claare

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.4.7
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.2.17
Google Checkout Notification Failure .. Failed to Get Basic Authentication Heade
February 12, 2012, 02:50:29 pm
CiviCRM ver 3.7.4 on Drupal 6.22

Error: Send failed with code: 401. Response body was: Failed to Get Basic Authentication Headers
According to Google this means that my website is not accepting notifications from Google.

Google Checkout is setup as per http://wiki.civicrm.org/confluence/display/CRMDOC40/Google+Checkout+Configuration
I have verified the settings for API version 2.5 and Notification as XML

Also followed the instructions by Stoob in this thread http://forum.civicrm.org/index.php/topic,22198.msg92950.html#msg92950

If anyone can help me out with a solution it would be much appreciated.

Thanks

Claare

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.4.7
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.2.17
Re: Google Checkout Notification Failure .. Failed to Get Basic Authentication Heade
February 17, 2012, 01:49:19 pm
Anyone have any suggestions that I might try even?  This continues to be an issue obviously.

Any issues or patches that must be applied since the Google Wallet changeover?  Google says nothing changed for Google Checkout though.  This was working perfectly last summer.  We have one event per year and we are about to heavily gearing up with online registrations.  If I must verify and post each one to my site, that will be a huge pain.

Thanks for any help you can give.

rares

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: WP 3.5
  • MySQL version: 5.0
  • PHP version: 5.2
Re: Google Checkout Notification Failure .. Failed to Get Basic Authentication Heade
December 18, 2012, 10:33:55 am
Solution seems to be here:
CRM-11188 (on issues.civicrm.org)

rares

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: WP 3.5
  • MySQL version: 5.0
  • PHP version: 5.2
Re: Google Checkout Notification Failure .. Failed to Get Basic Authentication Heade
February 17, 2013, 12:13:31 pm
If your server/host uses fastcgi, the Authentication headers are not passed on to PHP and you need to implement the workaround from Stoob here:
http://forum.civicrm.org/index.php/topic,22198.msg92950.html#msg92950
(also referenced in comment above)
Note that on some Apache servers, you need to change HTTP_AUTHORIZATION to REDIRECT_HTTP_AUTHORIZATION. Finally, I think there is a bug in CRM/Core/Payment/GoogleIPN.php. I had to replace
$status = $response->HttpAuthentication($headers);
with
$status = $response->HttpAuthentication();

for this to work.

See my comment here: http://issues.civicrm.org/jira/browse/CRM-11188?focusedCommentId=47315&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-47315

Please respond if this fixes your problem.
« Last Edit: February 17, 2013, 12:25:08 pm by rares »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Google Checkout Notification Failure .. Failed to Get Basic Authentication Heade

This forum was archived on 2017-11-26.