12 replies [Last post]
dmweyer's picture
Offline
Joined: 06/28/2009
Juice: 68
Was this information Helpful?

Hi All,

I have set up a google checkout account and orders are going through to google and I can process payment etc, but I keep receiving emails from google saying that the callback failed (error message below). My first questions is, in the unbercart google config its suggest that the callback url should be http://www.balancedenergy.co.uk/google_checkout (notice missing https) and google requires a secure URL. Does that make any difference or is there something that I missed i.e. a setting in ubercart to set it to use HTTPS?

This maynot be the problem, so if anyone has any other ideas on how I can fix this it would be most appreciated.

Error message:

We encountered an error trying to access your server at https://balancedenergy.co.uk/google_checkout -- the error we got is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Thanks in advance

Dill

dmweyer's picture
Offline
Joined: 06/28/2009
Juice: 68
Re: Google Checkout Integration Problems

anyone have any ideas?

ivansf's picture
Offline
Joined: 12/24/2008
Juice: 24
Re: Google Checkout Integration Problems

Well, Google Checkout will tell you MUST provide an HTTPS server (just try to remove the S from the URL on the Callback). In my case I forgot to set it up on Secure Pages (meaning it was trying to work with non secure) and didn't work. I just added to my Secure Pages config and now it works fine.

dmweyer's picture
Offline
Joined: 06/28/2009
Juice: 68
Hi ivansf, Thanks for your

Hi ivansf,

Thanks for your reply, not sure I understand. I have set the callback url in google as https, but like I said in ubercart settings in the google config it suggest I just use http. Is there something I need to change in the google ubercart settings? Secondly, from what I can tell, I have set the ssl on the entire site so really not sure what I am doing wrong. Doe the error message I provided not offer any clues?

Thanks
Dill

dmweyer's picture
Offline
Joined: 06/28/2009
Juice: 68
Re: Hi ivansf, Thanks for your

quick question, anyone that has ogle checkout working correctly, what is the exact URL displayed in the google ubercart config page (http://balancedenergy.co.uk/admin/store/settings/google_checkout). Mine is http://balancedenergy.co.uk/google_checkout. Surely this should be https://balancedenergy.co.uk/google_checkout? if so how do I change this?

Cayenne's picture
Offline
Joined: 01/01/2009
Juice: 533
Re: Re: Hi ivansf, Thanks for your

I have it working correctly. (Except for an unrelated bug)

It wants https://example.com/google_checkout as its callback.

Have you got https set up? When I go to your https, i get redirected to http.

dmweyer's picture
Offline
Joined: 06/28/2009
Juice: 68
Re: Re: Re: Hi ivansf, Thanks for your

yeah I definitely have ssl set up, not sure why you were redirected, I just tried now and it seemed to be ok for me. Cayenne, in your ubercart google checkout setup, does it say use http or https? I understand google needs https, but because my ubercart google setup says I should use http I am thinking that there is something that I need to change in ubercart google setup

dmweyer's picture
Offline
Joined: 06/28/2009
Juice: 68
Re: Google Checkout Integration Problems

Another question I have is, should https://balancedenergy.co.uk/google_checkout be a folder or is there a redirect setup. Not sure if I am asking the right question here, what I mean is how can I test the url to see if I have set up everything on my end, if I go to https://balancedenergy.co.uk/google_checkout I just get a blank page.

Cayenne's picture
Offline
Joined: 01/01/2009
Juice: 533
Re: Re: Google Checkout Integration Problems

mine says https. I have set my base URL to https in the settings.php file too.

I test by setting up a $1 product and buying it. Then i refund it later, if I remember.

dmweyer's picture
Offline
Joined: 06/28/2009
Juice: 68
Hi Cayenne, How did you

Hi Cayenne,

How did you manage to change it to show https in the ubercart settings?

lmfisher100's picture
Offline
Joined: 10/09/2008
Juice: 10
GOOGLE CHECKOUT

Integration settings
Shopping cart post security
My company will only post digitally signed carts. [?]
API callback URL (Level 2 integrations only) [?]
Specify a URL for Google to notify you of new orders and changes in order state. You must provide the URL of a server running 128-bit SSLv3 or TLS. [?]
API callback URL:

Callback contents:
Notification as XML
e.g. 123
Notification as HTML (name/value pairs)
e.g. google-order-number=123

Enabled Payment method List position Default gateway

Google Checkout

Google Checkout settings WONT LET ME CHECK IT! HELP LISA

Cayenne's picture
Offline
Joined: 01/01/2009
Juice: 533
Re: Hi Cayenne, How did you

Errr, not sure. I think it was in settings.php

mrag's picture
Offline
Joined: 11/12/2008
Juice: 40
Re: Re: Hi Cayenne, How did you

Are you using the SecurePages module (works well for me), and if so have you added google_checkout under the "pages which will be secure" section in admin/build/securepages. If not this might explain it.

If I'm off the mark sorry, just trying to help.

Andy