I think I'll change the documentation recommending the usage of Google's API 2.2 instead of 2.5 for the time being.Best4Men wrote:Yes it does, I'll refer to my posting (in this thread) dated Thu Aug 05, 2010 9:25 pm
Is that what you meant or am I mis-reading your question?
Thanks for the help!
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I have installed this with v1.4.9. So far so good, I'm on local host and just using sandbox. The problem I'm experiencing is getting GC to pick up the shipping costs. I have tried Royal Mail. GC checkout page indicates that shipping is going to be Royal Mail but then shows a value of(£0.00)despite £8.00 being shown in the OC cart. The correct price, description and all other details are shown. I then tried disabling Royal Mail and then configured and enabled weight based shipping. GC opens a drop down box which indicates that "Weight Based Shipping-UK Shipping (£0.00) is selected despite the OC cart indicating £8.00 for shipping. I'm a shopkeeper and pretty new to OC and would greatly appreciate any help available.
First of all, I haven't yet ported Google Checkout to Opencart 1.4.9, you will have to wait for a few days till this is done.Dusty wrote:Hi,
I have installed this with v1.4.9. So far so good, I'm on local host and just using sandbox. The problem I'm experiencing is getting GC to pick up the shipping costs. I have tried Royal Mail. GC checkout page indicates that shipping is going to be Royal Mail but then shows a value of(£0.00)despite £8.00 being shown in the OC cart. The correct price, description and all other details are shown. I then tried disabling Royal Mail and then configured and enabled weight based shipping. GC opens a drop down box which indicates that "Weight Based Shipping-UK Shipping (£0.00) is selected despite the OC cart indicating £8.00 for shipping. I'm a shopkeeper and pretty new to OC and would greatly appreciate any help available.
Secondly, if you use localhost, merchant calculations won't work, because Google can't call back to your localhost, it is not a public URL.
Thirdly, the Royal Mail shipping method is not yet on my list of officially supported shipping methods.
There is a slightly newer version of Google Checkout which I haven't yet uploaded to the Opencart extensions section, and which I plan to port to Opencart 1.4.9.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Dusty wrote:Thanks for your reply. I'll just have to be patient. I have used GC for about 3 years with an OSCommerce site and have never bothered with the SSL call back. Basically all I need from GC is the email alerting me to an order and after that I deal with it in my GC merchant centre. When I put it into sandbox mode (or for that matter Live mode) it still emails all the info I need, product name, model, description, size, color, pricing, & shipping cost. It doesn't seem to matter if I was testing on local host or on the server. I think the weight shipping method will probably be what I end up using as I can assign weight values that reflect the price of the goods and thus allow me to build in insured shipping costs for more expensive items going to international destinations. I'll probably give the newer GC version a go tomorrow & post how I get on with it. Thanks again for your assistance.
I have now uploaded a new Google Checkout release for Opencart 1.4.9, you may want that one to give it a try.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Firstly it was generating errors upon callback based on the settings you suggested in the install.txt file. This was due to version 2.5 of the Checkout API requiring the 'serial-number' to be passed back on the acknowledgement. I fixed this by adding the following code on line 383 (/catalog/controller/checkout/gcheckout.php):
Code: Select all
$gSerialNumber = $data[$root]['serial-number'];
Code: Select all
$response->SendAck();
Code: Select all
$response->SendAck($gSerialNumber);
Code: Select all
case "authorization-amount-notification": {
$response->SendAck($gSerialNumber);
break;
}
As regards your suggested fix with the serial-number:
Were you using the
Settings > Integration > Callback contents: Notification as XML
Settings > Integration > API Version: 2.5
when you encountered the problems with the serial-number?
Or was your serial-number problem caused because you were using different settings?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
This is where you will see them if they are happening for you. The edit's I have made fixed the callback so now I am error free in the Integration Console. :-)
Have you ever tried to integrate the Google Analytics for Google Checkout as detailed here (http://code.google.com/apis/checkout/de ... ation.html) with your plugin?
First and foremost, thanks to JNeuhoff for creating this module. I'm a noob to OpenCart and to Google Checkout. I've been following this thread as I try to set it up, and am getting similar results as jdbreckenridge. Everything was set up based on the install.txt - the problem is that when a user goes back to my site, their cart is still full. The only error messages I am finding are under Google Checkout -> Tools -> Intergration Center. This is the error description:
Any thoughts about what I may be missing or messing up?We encountered an error trying to access your server at https://selfmadecowboy.com/index.php?ro ... t/callback -- the error we got is Send failed with code: 401. Response body was: Failed to Get Basic Authentication Headers
Thanks and Cheers
I have now included your suggested fixes with the serial-number in the Google Checkout module for 1.4.9.x. The Google API 2.5 should now be correctly supported. Also, the automatic Opencart stock level update is now fixed, too.jdbreckenridge wrote:I was using those settings in Google Checkout. The errors were not flagged up in Opencart but they did get emailed to the account owner and appear in the Google Checkout's admin console under Google Checkout -> Tools -> Integration Console.
This is where you will see them if they are happening for you. The edit's I have made fixed the callback so now I am error free in the Integration Console. :-)
Have you ever tried to integrate the Google Analytics for Google Checkout as detailed here (http://code.google.com/apis/checkout/de ... ation.html) with your plugin?
The supported Google API for Opencart 1.4.8 is 2.2. The documentation has been updated accordingly.
As regards your suggestion to integrate Google Analytics: Sounds interesting, I need to try it out.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I think yours is a different problem. Please use our latest Google Checkout for 1.4.8 which we updated today with some bugfixes. In your Google Settings > Integration use API 2.2, not 2.5!SashaG wrote:Hey guys,
First and foremost, thanks to JNeuhoff for creating this module. I'm a noob to OpenCart and to Google Checkout. I've been following this thread as I try to set it up, and am getting similar results as jdbreckenridge. Everything was set up based on the install.txt - the problem is that when a user goes back to my site, their cart is still full. The only error messages I am finding are under Google Checkout -> Tools -> Intergration Center. This is the error description:
Any thoughts about what I may be missing or messing up?We encountered an error trying to access your server at https://selfmadecowboy.com/index.php?ro ... t/callback -- the error we got is Send failed with code: 401. Response body was: Failed to Get Basic Authentication Headers
Thanks and Cheers
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
We have an upgraded version for 1.4.9.x, too. That one uses the Google API 2.5, to be set in yourSashaG wrote:I'm actually using 1.4.9 from your website. I do have 1.4.8, how should I go about downgrading?
Will implement tonight and get back to you.
Thanks for the prompt reply!
Settings > Integration
of your Google account.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Maybe this is were the mistake is? Becauses currently I amr unning 1.4.9.x with Google API v2.5 and no dice.
Something else I noticed. When I copy/paste the https://.../index.php?route=checkout/gcheckout/callback into my browser, I get a message asking me for a username/pass. This is not something I remember setting up. Could this be causing the error?
As regards your 401 error: Your secure URL for the callback should NOT use basic authentication, please remove it from your web server.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
JNeuhoff wrote:First of all, you should overwrite your Google Checkout module files with those from the correct version.
As regards your 401 error: Your secure URL for the callback should NOT use basic authentication, please remove it from your web server.
The weird thing is I have not set any basic authentications. I'm using GoDaddy Shared Hosting so it is a bit confusing (compared to CPanel, imo), but I have not set any permissions there as well.
I've tried all combinations of v1.4.8, v1.4.9.x, API 2.2 and API 2.5 and still no dice.
I do have s noob question that may help solve this issue. When I go to http://www. ... .com/index.php?route=checkout/gcheckout/callback - I get a prompt asking for a username/pass. Does Merchant ID / Merchant Key represent the username / pass? Because that is not working when I have my regular, or sandboxed accounts set up.
I think you should switch your web host to something better, e.g. Hostgator.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I will follow up on this thread with an update once I switch hosting.
In the meantime, thanks for all the help

Notice: Undefined index: in /home/tvieira2/public_html/catalog/controller/checkout/gcheckout.php on line 384Warning: Cannot modify header information - headers already sent by (output started at /home/tvieira2/public_html/index.php:92) in /home/tvieira2/public_html/system/google/library/googleresponse.php on line 146Warning: Cannot modify header information - headers already sent by (output started at /home/tvieira2/public_html/index.php:92) in /home/tvieira2/public_html/system/google/library/googleresponse.php on line 147Failed to Get Basic Authentication Headers
I'm also getting this message from Google when orders are placed:
We've made several unsuccessful attempts to send order notifications to your notification callback URL, https://www.xxxxxxxxxxx.com/index.php?r ... t/callback As a result, you aren't receiving order status, risk, or other notifications.
Any ideas why this is happening?
Users browsing this forum: Amazon [Bot] and 3 guests