orbitus Posted January 14, 2007 Share Posted January 14, 2007 osCommerce 2.2 I have ssl, and Google Checkout is set at the correct https callback but I keep getting "HTTP Basic Authentication failed. " in the response_error.log The implementation seems to be fine on my end, it send the cart to google just fine but after that my site does not get an update so I dont get any records of orders. I hope someone can point me in the right direction I have been at this for days. Chris Quote Link to comment Share on other sites More sharing options...
caspernova Posted January 31, 2007 Share Posted January 31, 2007 osCommerce 2.2I have ssl, and Google Checkout is set at the correct https callback but I keep getting "HTTP Basic Authentication failed. " in the response_error.log The implementation seems to be fine on my end, it send the cart to google just fine but after that my site does not get an update so I dont get any records of orders. I hope someone can point me in the right direction I have been at this for days. Chris The SAME EXACT thing is happening to me!!! I've been trying to figure this out for too long and i'm ready to just give up with Google Checkout... Does anyone know how to fix this??? I am using the sandbox, and i have a 256bit SSL connection through GoDaddy. The response_error log keeps saying "HTTP Basic Authentication failed.", and the response_message log fills up with lots of stuff (from what i can tell it gets the merchant-calculation-callback, new-order-notification, order-state-change-notification, finally the risk-information-notification)! So i know the API callback is working since my website is receiving this information, but for some reason it's not adding it to my orders. Does anyone know what to do? -justin Quote Link to comment Share on other sites More sharing options...
orbitus Posted January 31, 2007 Author Share Posted January 31, 2007 The SAME EXACT thing is happening to me!!! I've been trying to figure this out for too long and i'm ready to just give up with Google Checkout... Does anyone know how to fix this??? I am using the sandbox, and i have a 256bit SSL connection through GoDaddy. The response_error log keeps saying "HTTP Basic Authentication failed.", and the response_message log fills up with lots of stuff (from what i can tell it gets the merchant-calculation-callback, new-order-notification, order-state-change-notification, finally the risk-information-notification)! So i know the API callback is working since my website is receiving this information, but for some reason it's not adding it to my orders. Does anyone know what to do? -justin I was able to just turn off the authentication by changing the responsehandler.php file. //Parse the HTTP header to verify the source. if(isset($HTTP_SERVER_VARS['PHP_AUTH_USER']) && isset($HTTP_SERVER_VARS['PHP_AUTH_PW'])) { $compare_mer_id = $HTTP_SERVER_VARS['PHP_AUTH_USER']; $compare_mer_key = $HTTP_SERVER_VARS['PHP_AUTH_PW']; } else { error_func("HTTP Basic Authentication failed.\n"); // exit(1); <<<<<<<<<Note the commenting out of the exit>>>>>>>>>> } $googlepayment = new googlecheckout(); $merchant_id = $googlepayment->merchantid; $merchant_key = $googlepayment->merchantkey; if($compare_mer_id != $merchant_id || $compare_mer_key != $merchant_key) { error_func("HTTP Basic Authentication failed.\n"); //exit(1); <<<<<<<<<Note the commenting out of the exit>>>>>>>>>> } Good Luck Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.