Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Offical Google Checkout module for osCommerce Support Thread


1175 replies to this topic

#1161 badbo

  • Community Member
  • 141 posts
  • Real Name:Bo Mccoury

Posted 24 November 2010, 06:28

View Postladykaren, on 17 September 2010, 03:16, said:

Back again;

I also checked the response_error log and this is listed

Thu Sep 16 17:35:07 MST 2010:- Failed to Get Basic Authentication Headers

How can I fix this please?

Be sure to check in your admin to make sure you have correct id and key for production and sandbox and make sure you have no spaces before or after the id's and key's Run htaccess.php from your cpanel it is under admin/htaccess.php or run it in your browser and it will set the id and password for googlecheckout. A form will appear for you to fill out. Make sure the files that should be writeable set with the correct permissions are it will not work.

#1162 Nigel_S

  • Community Member
  • 4 posts
  • Real Name:Nigel Streeter
  • Gender:Male
  • Location:Essex

Posted 07 January 2011, 16:50

View Postvideod, on 16 November 2010, 22:39, said:

I tried to disable everything, and just one default shipping method at a time . Either way the settings don't hold.

Hi,

I'm not sure if you got this sorted but, if not, after a over week of sheer frustration this is what I found:

In: 'googlecheckout/library/configuration/merchant_calculated_shipping_option.php'

Change Line 138 from:

$input .= ' id="hidden_' . $key . '"';

to:

$input .= ' id="hid_' . $key . '"';

The problem is caused because the 'hidden' input ID starts with 'hid_', not 'hidden_' !!!!!!!!!! :'(

Now all I need to figure out is why GC still gives me £1 rates, although the DB now updates perfectly!!!

Strewth! This thing is a pain to get working! :angry:

Edited by Nigel_S, 07 January 2011, 16:59.


#1163 speed777

  • Community Member
  • 241 posts
  • Real Name:Louis
  • Gender:Male
  • Location:Bozeman, Montana USA

Posted 14 January 2011, 17:52

View Postrick.t, on 19 November 2010, 19:53, said:

Using sandbox; Google Checkout button appears on site, and the order information is displayed in the GC sandbox when I click it. I can complete the order and click the link within the sandbox to return to the site. However...

/googlecheckout/logs/response_error.log has many of these:
Fri Nov 19 10:26:12 PST 2010:- Shopping cart not obtained from session.

/googlecheckout/logs/response_message.log contains lots of lines that look like this:
Fri Nov 19 10:27:15 PST 2010:- serial-number=861915187450702-00001-7

GC Integration Console reflects an error and provides this description: "We encountered an error trying to access your server at https://truelynatural.com/googlecheckout/responsehandler.php -- the error we got is Send failed with code: 500. Response body was: Shopping cart not obtained from session."

One recommendation I've found is to go to the osCommerce admin / Configuration / Sessions, and set Prevent Spider Sessions to False. This was done two days ago, and the error persists.

The /googlecheckout/responsehandler.php script contains a line of code to "Retrieve the XML sent in the HTTP POST request to the ResponseHandler," which is stored in $xml_response. I added a line of code to log this response, and this is what it looks like:
RESPONSEHANDLER: xml_response: serial-number=803763634704575-00001-7

The responsehandler.php script checks for the session variable 'cart' and attempts to restore its contents. However, if the session variable cannot be detected as registered, or if it doesn't contain an object, then the script generates the error message I'm receiving ("Shopping cart not obtained from session"). So I'm also dumping the $_SESSION variable to my log, and this is what I get:

CHECKING SESSION from GOOGLECHECKOUT
SESSION: Array
(
[cart] =>
[language] =>
[languages_id] =>
[currency] =>
[navigation] =>
[wishList] =>
)

So it seems the session data is missing by the time Google Checkout needs to access it. And, while the php installation very sensibly has register_globals turned off, there is a local php.ini for this domain that turns it on.

So I'm still looking for that magical combination of configuration settings, flicks of the wand, and / or sweet talk to get Google Checkout to send back the data I need. Any suggestions?

Thanks!
Try going in Sessions and disabling all, most likely it is cookies that is causing this.

#1164 Bekki

  • Community Member
  • 9 posts
  • Real Name:Bekki

Posted 29 January 2011, 13:37

I'm using osCommerce v2.3.1. As the code is so different to v2.2 the installation instructions for Google Checkout aren't very useful. Does anyone have any tips for integrating GC with v2.3?

Thanks

#1165 lyonsperf

  • Community Member
  • 252 posts
  • Real Name:Matt
  • Gender:Male
  • Location:CT

Posted 10 February 2011, 12:59

Does the 2.2 version work? Is the current mod up to date with the Google Checkout API?
If the only tool you have is a hammer, all your problems look like nails

#1166 Bekki

  • Community Member
  • 9 posts
  • Real Name:Bekki

Posted 14 February 2011, 16:09

View Postlyonsperf, on 10 February 2011, 12:59, said:

Does the 2.2 version work? Is the current mod up to date with the Google Checkout API?

No, I tried installing it but I can't because the code is so different. I noticed because I have to do it manually due to other mods. The mod is meant to work with 2.2 not 2.3, which is the problem.

#1167 speed777

  • Community Member
  • 241 posts
  • Real Name:Louis
  • Gender:Male
  • Location:Bozeman, Montana USA

Posted 15 February 2011, 18:11

View Postlyonsperf, on 10 February 2011, 12:59, said:

Does the 2.2 version work? Is the current mod up to date with the Google Checkout API?
I'm using osCommerce 2.2-MS2 and it works fine, I haven't tried to upgrade to 2.3 so I don't know if it'll work.

#1168 natasha21

  • Community Member
  • 52 posts
  • Real Name:natasha

Posted 07 April 2011, 16:41

I've been having trouble with my table rates transferring to Google Checkout.
Right now, it's only charging $0.00 at the checkout.

I've used the shipping generator to get the code to paste into the /googlecheckout/library/shipping/merchant_calculated_methods.php
So it shows Table Rate ($0.00) on google side's.

I've been looking at this for a couple of days and the only thing that I can think of is that the response handler url in the admin side is wrong.
Under my google dashboard, it says

API callback URL
For Level 2 integration, copy and paste this URL into the "API callback URL" field in the Google Checkout Merchant Center under "Integration->Settings" (links to this page in Sandbox and Production):

https://www.****.com/admgooglecheckout/responsehandler.php
instead of
https://www.****.com/admin/googlecheckout/responsehandler.php

I put the correct url on Google's website though.

Any help would be greatly appreciated.
I'm selling parts of all sizes and need to be able to charge shipping by weight.
Thanks!

#1169 speed777

  • Community Member
  • 241 posts
  • Real Name:Louis
  • Gender:Male
  • Location:Bozeman, Montana USA

Posted 10 April 2011, 16:12

View Postnatasha21, on 07 April 2011, 16:41, said:

I've been having trouble with my table rates transferring to Google Checkout.
Right now, it's only charging $0.00 at the checkout.

I've used the shipping generator to get the code to paste into the /googlecheckout/library/shipping/merchant_calculated_methods.php
So it shows Table Rate ($0.00) on google side's.

I've been looking at this for a couple of days and the only thing that I can think of is that the response handler url in the admin side is wrong.
Under my google dashboard, it says

API callback URL
For Level 2 integration, copy and paste this URL into the "API callback URL" field in the Google Checkout Merchant Center under "Integration->Settings" (links to this page in Sandbox and Production):

https://www.****.com/admgooglecheckout/responsehandler.php
instead of
https://www.****.com/admin/googlecheckout/responsehandler.php

I put the correct url on Google's website though.

Any help would be greatly appreciated.
I'm selling parts of all sizes and need to be able to charge shipping by weight.
Thanks!
I don't think that GC can be used with table rate shipping, it can be used with flat rate shipping.

#1170 natasha21

  • Community Member
  • 52 posts
  • Real Name:natasha

Posted 11 April 2011, 18:49

=(
thanks for responding

#1171 celluloidsnake

  • Community Member
  • 13 posts
  • Real Name:James

Posted 03 June 2011, 03:07

Whats the average installation time on this mod? It looks the ticket, so I am commisioning someone to install it, but I was wondering on hours.

#1172 hello8888

  • Community Member
  • 1 posts
  • Real Name:Robert Hay

Posted 09 June 2011, 18:18

Hi there,

Glad to find this topic, I am trying to install GC into 2.2 RC2.

And following:

http://code.google.com/p/google-checkout-oscommerce/wiki/Installation_1_5_0


I have done the modified and the unmodified one, the Module is not coming up in Payment Modules in OS.


Your help please.


Thanks

#1173 jon22

  • Community Member
  • 6 posts
  • Real Name:Jon

Posted 11 December 2011, 11:05

I've just installed the G checkout mod but when the button is clicked on domain.com/shopping_cart.php the page just refreshes and won't go to G checkout page.

http://www.hqcases.co.uk

Any ideas?

#1174 jon22

  • Community Member
  • 6 posts
  • Real Name:Jon

Posted 11 December 2011, 11:31

If anyone has the problem above when intergrating with 2.3.1, make sure none of the Google code is inside <form></fom> tags

So far so good!

#1175 jon22

  • Community Member
  • 6 posts
  • Real Name:Jon

Posted 11 December 2011, 11:47

Now it won't let me save any changes made to the advanced configuration module settings??

#1176 vashichino7

  • Community Member
  • 157 posts
  • Real Name:Von Essaghol

Posted 25 January 2012, 23:02

Hey guys,

I have had Google checkout installed for months now working well, today I installed more modules replicating the table.php....now, when more modules are running I get this written in red under the google checkout image in the cart page:

* THERE ARE MULTIPLE SHIPPING OPTIONS SELECTED AND THEY USE DIFFERENT SHIPPING TAX TABLES OR SOME DONT USE TAX TABLES


ERROR: SHIPPING METHODS NOT CONFIGURED
CANADA (IGNORED)
CANADA2 (IGNORED)
TABLE2 (IGNORED)
WORLD (IGNORED)


How do I fix this? Are customers able to check out? What am I doing wrong?