Google Checkout

Stephen,

I will make one more point. I am having a hard time understanding how it is the Shopping Cart if the Google error that I am receiving is that it cannot communicate with the server. Here is the error from my Google Checkout Account:

We encountered an error trying to access your server at https://MYDOMAIN.com/store/scripts/60_PayXGoogle.asp -- the error we got is Send failed with code: 401. Response body was: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>You are not authorized to view this page</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"> <STYLE type="text/css"> BODY { font: 8pt/12pt verdana } H1 { font: 13pt/15pt verdana } H2 { font: 8pt/12pt verdana } A:link { color: red } A:visited { color: maroon } </STYLE> </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD> <h1>You are not authorized to view this page</h1> You do not have permission to view this directory or page using the credentials that you supplied. <hr> <p>Please try the following:</p> <ul> <li>Contact the Web site administrator if you believe you should be able to view this directory or page.</li> <li>Click the <a href="javascript:location.reload()">Refresh</a> button to try again with different credentials.</li> </ul> <h2>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.<br>Internet Information Services (IIS)</h2> <hr> <p>Technical Information (for support personnel)</p> <ul> <li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>401</b>.</li> <li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr), and search for topics titled <b>Authentication</b>, <b>Access Control</b>, and <b>About Custom Error Messages</b>.</li> </ul> </TD></TR></TABLE></BODY></HTML>

When someone clicks on Google Checkout from my shopping cart it sends it over to Google and processes the transaction, but Google cannot pass the information back. It gets stuck.
 
Stephen,

I will make one more point. I am having a hard time understanding how it is the Shopping Cart if the Google error that I am receiving is that it cannot communicate with the server. Here is the error from my Google Checkout Account:

We encountered an error trying to access your server at https://MYDOMAIN.com/store/scripts/60_PayXGoogle.asp -- the error we got is Send failed with code: 401. Response body was: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>You are not authorized to view this page</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"> <STYLE type="text/css"> BODY { font: 8pt/12pt verdana } H1 { font: 13pt/15pt verdana } H2 { font: 8pt/12pt verdana } A:link { color: red } A:visited { color: maroon } </STYLE> </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD> <h1>You are not authorized to view this page</h1> You do not have permission to view this directory or page using the credentials that you supplied. <hr> <p>Please try the following:</p> <ul> <li>Contact the Web site administrator if you believe you should be able to view this directory or page.</li> <li>Click the <a href="javascript:location.reload()">Refresh</a> button to try again with different credentials.</li> </ul> <h2>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.<br>Internet Information Services (IIS)</h2> <hr> <p>Technical Information (for support personnel)</p> <ul> <li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>401</b>.</li> <li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr), and search for topics titled <b>Authentication</b>, <b>Access Control</b>, and <b>About Custom Error Messages</b>.</li> </ul> </TD></TR></TABLE></BODY></HTML>

When someone clicks on Google Checkout from my shopping cart it sends it over to Google and processes the transaction, but Google cannot pass the information back. It gets stuck.

Can YOU view the page in question, if you supply the needed login info? Really all should be as easy as setting up the htaccess web protection wizard feature in webshell, it does exactly what you are asking for here.

The problem is they are trying to authenticate to something that doesn't, and won't exist(anon web user) but it can be emulated by using the web protection wizard in webshell.

Also this is not a google checkout issue, it is with the scripts, and software cart in question. Those are two different things.

As for what would psoft/parallels say....why would we even ask them? We know how their control panel works better than they do.
 
Stephen,

I emailed my Shopping Cart company to ask about moving the Google Checkout Callback file to another place and here is what they said:

It has nothing to do with folder access, Google uses Basic HTTP authentication which requires that the user be registered on the system.

It is not the shopping cart script nor is it the Google Checkout scripts but rather the lack of a user id that uses the merchant number as the userid and the merchant key as the password. I don't know how else to say it.

If your host can not set up a userid and password then you need to find a new host that does allow it, provided you wish to use Google Checkout with the shopping cart software.

Any ideas?

Thanks,

Adam
 
Stephen,

Just to make sure I tried everything I moved a copy of the Call Back file to a separate folder and then password protected it using the Control Panel. I changed the URL in the Google Checkout Integration Panel and then tried placing an order.

Here is the error I got. Same thing.

We encountered an error trying to access your server at https://......store.com/store/scripts/gc/60_PayXGoogle.asp -- the error we got is Send failed with code: 401. Response body was: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>You are not authorized to view this page</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"> <STYLE type="text/css"> BODY { font: 8pt/12pt verdana } H1 { font: 13pt/15pt verdana } H2 { font: 8pt/12pt verdana } A:link { color: red } A:visited { color: maroon } </STYLE> </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD> <h1>You are not authorized to view this page</h1> You do not have permission to view this directory or page using the credentials that you supplied. <hr> <p>Please try the following:</p> <ul> <li>Contact the Web site administrator if you believe you should be able to view this directory or page.</li> <li>Click the <a href="javascript:location.reload()">Refresh</a> button to try again with different credentials.</li> </ul> <h2>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.<br>Internet Information Services (IIS)</h2> <hr> <p>Technical Information (for support personnel)</p> <ul> <li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>401</b>.</li> <li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr), and search for topics titled <b>Authentication</b>, <b>Access Control</b>, and <b>About Custom Error Messages</b>.</li> </ul> </TD></TR></TABLE></BODY></HTML>

Any ideas?

Adam
 
I'm just butting in here. I don't really know anything about Google Checkout but I've been following the thread.

I don't think you answered Stephen's question (unless you did privately). If you point a browser at the protected callback page, does the browser's login dialog appear and prompt you for the name and password? If it does then can you login with what Google expects?
 
I'm just butting in here. I don't really know anything about Google Checkout but I've been following the thread.

I don't think you answered Stephen's question (unless you did privately). If you point a browser at the protected callback page, does the browser's login dialog appear and prompt you for the name and password? If it does then can you login with what Google expects?

The login prompt comes, as long as what google expects authenticates it should work flawlessly. I type in random chars user/pass and get the same auth failed error :)
 
I went to the URL and tried typing in the Merchant ID and Password and it did not work. I went to my control panel and made sure that the username and password were typed in correctly and tried it again and it didn't work.

What did I do wrong?

Adam
 
I went to the URL and tried typing in the Merchant ID and Password and it did not work. I went to my control panel and made sure that the username and password were typed in correctly and tried it again and it didn't work.

There seems to be some discrepancy between what you and Stephen are saying. If it doesn't work with your merchant id and password then, that's the problem. You need to get that simple test to work before doing anything with Google Checkout or your shopping cart software.

As an experiment, on a JodoHost Windows account, I just password protected a folder using webshell and had no problem making it the user and password I wanted. If you can't do that then support should be able to fix it without needing to know anything about Google Checkout or your cart.

But, it seems like Stephen has already been through all that so ... I don't know, maybe a misunderstanding somewhere.
 
There seems to be some discrepancy between what you and Stephen are saying. If it doesn't work with your merchant id and password then, that's the problem. You need to get that simple test to work before doing anything with Google Checkout or your shopping cart software.

As an experiment, on a JodoHost Windows account, I just password protected a folder using webshell and had no problem making it the user and password I wanted. If you can't do that then support should be able to fix it without needing to know anything about Google Checkout or your cart.

But, it seems like Stephen has already been through all that so ... I don't know, maybe a misunderstanding somewhere.

I have also been following this thread off and on. I'm curious to if you actually have a Google Checkout account set up. As in did you go to the google checkout web site and create an account so you have a merchant ID and password?
 
Yes sir I did. In fact I was able to ask a person who owned the same shopping cart to put in my details (merchant ID and key) in their cart and we tested it. It worked just fine. So the Shopping Cart worked, Google worked, and their hosting worked.

Now we just need to figure out how to get JodoHost to work and we will be great!

Stephen, any ideas?

Thanks,

Adam
 
I have never used Google Checkout or the shopping cart you are using so I'm trying to brainstorm on what could be wrong and like Stephen said it has be something with the webshell/protected page.

The only other thing I can think of would be in your shopping cart settings itself do you have to input what your Merchant ID and Password are and activate Google Checkout as a real payment method?
 
eric06, you are correct. I entered my merchant id and password into my shopping cart and when a customer clicks on it, it transfers over to Google Checkout correctly. Google takes the payment information and then tried to pass that information back to my shopping cart software. Google is not able to because it does not have access to do that. That is what I am trying to work out with JodoHost is how to set this up so it works.

Stephen, any updates or ideas? I tried webshell and it didn't work.

Thanks,

Adam
 
eric06, you are correct. I entered my merchant id and password into my shopping cart and when a customer clicks on it, it transfers over to Google Checkout correctly. Google takes the payment information and then tried to pass that information back to my shopping cart software. Google is not able to because it does not have access to do that. That is what I am trying to work out with JodoHost is how to set this up so it works.

Stephen, any updates or ideas? I tried webshell and it didn't work.

Thanks,

Adam

I haven't had time to do anything with it since the upgrade went haywire.
 
Stephen,

Are you now in a better position to look into getting Google Checkout to work with JodoHost?

Thanks,

Adam

Adam,


There is nothing more we can do, we've gone far beyond normal here in experimenting we don't normally go creating random ID users on the server but we tried it out. Anything we do since the new update will get wiped clean on a regular basis anyway at this point.

Google doesn't like the htauth/htaccess webshell interface as it doesnt replied with confirmation that it is 'basic' in its headers.
;(
 
Adam,
Google doesn't like the htauth/htaccess webshell interface as it doesnt replied with confirmation that it is 'basic' in its headers.
;(

Is the shopping cart a classic ASP application? This doesn't help the immediate situation but it's a pity the authors haven't thought of building the authentication for the Google Checkout callback directly into their code. I think it could be done very easily using Request.GetHeader() and Response.SetHeader(). That would eliminate the dependence on configuration at the host.
 
Is the shopping cart a classic ASP application? This doesn't help the immediate situation but it's a pity the authors haven't thought of building the authentication for the Google Checkout callback directly into their code. I think it could be done very easily using Request.GetHeader() and Response.SetHeader(). That would eliminate the dependence on configuration at the host.

yes it is a classic asp app, and there are ways it can work with classic ASP, just not this method :( and it is the only one this cart supports.
 
Back
Top