Zen Cart Logo
Forums / Addon Payment Modules / Google Checkout module for ZC 1.3.x (beta)

Google Checkout module for ZC 1.3.x (beta)

Locked

Views: 1,099,826

Results 1,221 to 1,240 of 3,921
This thread is locked. New replies are disabled.
19 Apr 2007, 3:31 AM
#1221
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Google Checkout module for ZC 1.3.x (beta)

delia:

Please forgive me if this question has been answered but if you login and checkout the buyer does not go to google. I've seen this question posted but haven't found an answer yet. The quick buttons do show in the shopping cart and at login and they do take you to google.

All is by design. Google Checkout is an alternative CHECKOUT system, not just a payment module. Customer does not have to login to Zen Cart to use checkout via Google Checkout. So GC is available ONLY via login and shopping cart pages, (and GC option is not available on regular zen cart payment method page, which you would have to be logged into Zc to access). Hope this makes sense. Yes it is different from normal checkout and can be confusing to customers and shop-owners. I wish there was a better way. This point you make probably should be highlighted in the readme.

Woody

19 Apr 2007, 3:40 AM
#1222
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Google Checkout module for ZC 1.3.x (beta)

thanks for such a quick reply - I spent several hours going thru the install and the forums trying to find out what was going on.

I think all mods need a thorough description in the read me - something I'll remember when I get time to package mine!

19 Apr 2007, 5:02 AM
#1223
jtleon avatar

jtleon

New Zenner

Join Date:
Apr 2007
Posts:
1
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

w00gle:

Eva,

Use Ropu's response handler test to find out whether your PHP is installed as a CGI script.

Modify the following lines:

// Responsehandler.php URL
$url = 'http://www.your-store.com/googlecheckout/responsehandler.php';
// Your Merchant ID
$merid = '';
// Your Merchant Key
$merkey = '';
// Here put the xml u want to emulate! You can take the ones from googlecheckout/response_message.log
$postargs = '<xml replace!>';

> 
> 
> Upload the modified file into your <https://www.your-store.com/googlecheckout> folder.
> 
> Then open your browser and point it to:
> <http://www.your-store.com/googlecheckout/responsehandler_test.php>
> 
> Once executed, it'll return several environment variables.  Find the text: [GATEWAY_INTERFACE] =>  and see what is the next texts after it.  If it returns CGI/x.x then it means your PHP is run as a CGI script.  
> 
> BTW, what version of Googlecheckout are you using?

i didnt use the response handler script but i run phpinfo()
and what i got from GATEWAY INTERFACE is CGI/1.1

is that means my php is configured as CGI?
but i did configure it as apache module, as in httpd file
i set them as below 
LoadModule php5_module "C:\\Program Files\\PHP\\php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4

im using latest google checkout and zen-cart and got the same error as eva in the responsehandler error file,
HTTP Basic Authentication failed. Can't retrive Merchant Id/Key, Installed over CGI??

I cant find how eva solved it.....sorry if the answer is already here in this thread.
19 Apr 2007, 5:07 AM
#1224
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (beta)

Merchant Calculation timeout issue- When Google Checkout cannot calculate shipping because of time, it presents all options with default values in addition to Free Shipping Option and Free Shipper which doesn't have option to set default value.

This is not right as Google Checkout should remember the state it was before timing out. If the customer did not qualify for free shipping prior to time out why display free shipping option/free shipper along with the default values?

If this problem cannot be solve, then we should really have the option to set default value for all the non-calculated options like free shipper, free shipping option, etc.

Thanks!

19 Apr 2007, 5:17 AM
#1225
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (beta)

Any ideas why I am getting this errors?

Your server returned no data in its response; Checkout requires data of type merchant-calculation-results in response to merchant-calculation-callback

We timed out waiting for your server at <web address here> -- the error we got is: Read timed out Your server must respond faster to merchant calculation callback requests.

Error parsing XML; message from parser is: Invalid value for body of allowed-areas in checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/shipping-methods/merchant-calculated-shipping/address-filters: Must be a U.S. 2-letter postal code or state name

This error are not occuring consistently. Sometimes, the error happens and sometimes it doesn't.

Thu Apr 19 0:42:49 EDT 2007:- Shopping cart not obtained from session.

I am still getting the above error even though, I change the option in Admin to allow bot to create session (crazy). I also made sure there is no Jakarta in spider.txt. Any other ideas? I am running PHP 5.2 and PHP is installed as a module NOT over CGI.

19 Apr 2007, 5:26 AM
#1226
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (beta)

Ropu,

I am still getting this error when I use you tool to test responsehandler but I do not get the same error when I enter the url directly on our site for responsehandler.php

SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:func(144):reason(134)

19 Apr 2007, 8:05 AM
#1227
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (beta)

Ropu, the calculated shipping does not include the shipping and handling fees configured for each shipping module.

19 Apr 2007, 11:02 AM
#1228
fats1964 avatar

fats1964

New Zenner

Join Date:
Jan 2007
Posts:
34
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

I have installed the Google Checkout and had my bank account authorised, but the Google logo is greyed out and not accessible.

It says

"not available for these items"

Am I doing something wrong and will Google charge everything including delivery without additional setup

Regards

Richard:mellow:

19 Apr 2007, 11:26 AM
#1229
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (beta)

Hi ropu-

Finally had an opportunity to test your new 1.3RC2 version. Below are some questions, comments and requests for the wishlist.

  1. Shipping config is funny. For instance when purchasing a regular book the "review and place order" page listed two options in the Shipping & Handling dropdown:

"S&H Free Shipping (USA) ($0.00)"
"S&H (USA): USPS Media Mail ($5.00)"

I employ free shipping only on few items but not the item I was ordering. Why does the Free Shipper appear in the drop down for products which are not set for free shipping?

Here are my two arrays in /includes/modules/payment/googlecheckout.php

$this->mc_shipping_methods = array(
                        'freeshipper' => array(
                                    'domestic_types' =>
                                      array(
                                          'freeshipper' => 'Free Shipping (USA)'
                                           ),

                                    'international_types' =>
                                      array(
                                          'freeshipper' => 'Free Shipping (Intl)'
                                           ),
                                        ),
                        'itemnational' => array(
                                    'domestic_types' =>
                                      array(
                                          'itemnational' => 'USPS Media Mail',

                                           ),

                                    'international_types' =>
                                      array(

                                           ),
                                        ),
                        'iteminternational' => array(
                                    'domestic_types' =>
                                      array(

                                           ),

                                    'international_types' =>
                                      array(
                                          'iteminternational' => 'USPS Air Mail',

                                           ),
                                        ),
                                  );

	$this->mc_shipping_methods_names = array(	
                                         'freeshipper' => 'S&H',
                                         'itemnational' => 'S&H (USA)',
                                         'iteminternational' => 'S&H (Intl)',
                                        );	
  1. Can Google please make the shipping drop down wider (display more characters). The second shipping option above is cut off.

  2. Can something be done to delay the display of the "Place your order now" button, at least until the shipping dropdown menu and the pay with and ship to info is fully displayed and the grand total is updated to include shipping.

This is a serious flaw. The wait between the order button rendering and the shipping drop down and other ship info appearing can be fifteen seconds and more. I suspect many customers will be clicking the order BUTTON before they should be (before shipping is added to the total) and will be confused. I know I would be (or I am).

Better yet if a "Still Loading..." could be displayed until the ship info is updated. Then display the Order button.

  1. In the payment module configuration I changed the URL for the page to return to after checkout, to be the shop home page URL. However after clicking the place order button I still see Google's "Thanks yourname you're done" page. And the "Return to" link still points to the shopping cart page. Am I missing something?

OK I see now, rather than entering a proper URL, I changed the entry to "index" and the link then pointed to the shop home page. Stating "URL" in the instructions is not really correct but I understand it's difficult to come up with the correct term... maybe just provide a couple examples, e.g. for shop home page = index).

Relatedly, be sure to state in the readme that the return page cannot be the Zen Cart checkout_success page or any other Zen Cart page that requires you to be logged in.

  1. How about dynamically creating and displaying a secure special one-time only "google_checkout_success" page which would display when customer is returned from Google Checkout server back to the Zen Cart shop. Include on that page the Google Checkout order details, the Zen Cart order number and the Zen Cart password (which the Google Checkout mod created for the customer), and include a link to "My Account" (similar to what is displayed on Zen Cart Checkout success page). And include on the page a define where shop-owner could include custom text (e.g. further instructions, etc) to the shops customers. Maybe call the page "google-checkout_success".

  2. It would be good if customer could include some "comments" within the order 9directed to shop-owner), then display the comments in the order confirmation emails and in the zen cart admin orders page.

  3. How about the option of placing a small shop-owner logo on the Google checkout "review and place order" page along with Google Checkout logo.

Thank you for the mod update and your assistance,
Woody

19 Apr 2007, 8:22 PM
#1230
freerangepc avatar

freerangepc

New Zenner

Join Date:
Apr 2006
Posts:
65
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

Just a complete basic question but I'm not sure I am putting the googlecheckout folder in the zip file in the right place.

Does it go in my root folder or in my /shop/ folder? so when the response handler is installed where do i point it to?

I did have this working OK and all the details showing in my admin, but alas it's not anymore and I can't remember why!

19 Apr 2007, 8:54 PM
#1231
ropu avatar

ropu

Zen Follower

Join Date:
Oct 2006
Location:
argentina
Posts:
243
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

tj1:

Ropu, can you confirm whether international calculated shipping is working?

I really want to offer customers calculated USPS shipping rates, but so far the only ones that work are fixed rates, such as the 'flat rate', which I'd rather not use.

Please advise.

Tj, int'l shipping is fully working try http://demo.globant.com/~brovagnati/ zencart demo

ropu

19 Apr 2007, 8:55 PM
#1232
ropu avatar

ropu

Zen Follower

Join Date:
Oct 2006
Location:
argentina
Posts:
243
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

freerangepc:

Just a complete basic question but I'm not sure I am putting the googlecheckout folder in the zip file in the right place.

Does it go in my root folder or in my /shop/ folder? so when the response handler is installed where do i point it to?

I did have this working OK and all the details showing in my admin, but alas it's not anymore and I can't remember why!

Hi

double check the permissions in ur response_message.log and response_error.log in the googlecheckout/ folder

they must be 777

ropu

19 Apr 2007, 9:40 PM
#1234
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (beta)

Woody and ropu, you two should get busy solving my problem in previous posts instead of just sitting back in this thread drinking pinnacolada like you're on some island. Of course I am just kidding but I really do need help :lookaroun

19 Apr 2007, 10:36 PM
#1235
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (beta)

BlessIsaacola:

Woody and ropu, you two should get busy solving my problem in previous posts instead of just sitting back in this thread drinking pinnacolada like you're on some island. Of course I am just kidding but I really do need help :lookaroun

Isaac-

Yum, pina coloda. Have not had one of those for awhile now. Will have to wait one more day, for the weekend. :wink2:

I wish I could help you with your issue. At this point I don't need to connect to a 3rd party ship provider for ship calculation, so my understanding of THID PARTY ship config support issues is minimal.

As posted recently I am observing free shipping displaying in the ship dropdown when it should not be an option. I need to do further testing on that.

And hoping Google can solve the delay between the order button rendering and the ship info displaying. That's plain backwards. Order button should display last!

And hope Google is able to solve the lack of text email support. All that needs to be done there is look how it's done by Zen Cart (and PayPal) and emulate.

I'm sure ropu is thinking through the shipping questions. Remember that international ship support was only announced by Google several weeks ago so need to give the 'integrators" some time on this. So no more vacations for ropu til Winter (in Argentina). :wink2:

Woody

19 Apr 2007, 11:10 PM
#1236
jwball avatar

jwball

New Zenner

Join Date:
Apr 2007
Posts:
17
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

If I complete a transaction through my sandbox account should it come back to my zencart database as an order?

19 Apr 2007, 11:24 PM
#1237
jwball avatar

jwball

New Zenner

Join Date:
Apr 2007
Posts:
17
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

I have answered my question above, after logging into the sandbox account I'm getting the following integration issue

" We encountered an error trying to access your server at https://www.(MYSERVER).com/shop/googlecheckout/responsehandler.php; the error we got is: Sending failed with HTTP response code: 503. Response body was: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <TITLE>ERROR: The requested URL could not be retrieved</TITLE> <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE> </HEAD><BODY> <H1>ERROR</H1> <H2>The requested URL could not be retrieved</H2> <HR noshade size="1px"> <P> While trying to retrieve the URL: <A HREF="www.(MYSERVER).com:443">www.(MYSERVER).com:443</A> <P> The following error was encountered: <UL> <LI> <STRONG> Connection Failed </STRONG> </UL> <P> The system returned: <PRE><I> (110) Connection timed out</I></PRE> <P> The remote host or network may be down. Please try the request again. <P>Your cache administrator is <A HREF="mailto:admin">admin</A>. <BR clear="all"> <HR noshade size="1px"> <ADDRESS> Generated Thu, 19 Apr 2007 23:13:36 GMT by proxy.google.com (squid) </ADDRESS> </BODY></HTML> Warnings:

19 Apr 2007, 11:24 PM
#1238
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (beta)

jwball:

If I complete a transaction through my sandbox account should it come back to my zencart database as an order?
If you follow the instructions :wink2:

Google Checkout Sellers sandbox account:
Settings > Integration >
set proper URL to your /googlecheckout/responsehandler.php
and set callback method to XML.

If you've gone live with Google Checkout then you need to do the same for your regular Sellers account (non-sandbox). Same configuration settings apply. See the mod readme for more info on this.

Woody

19 Apr 2007, 11:30 PM
#1239
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (beta)

jwball:

I have answered my question above, after logging into the sandbox account I'm getting the following integration issue

Did you submit an order again after making the adjustments recommended above? Callback Method should be XML (not HTML).

Woody

20 Apr 2007, 4:27 AM
#1240
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

ropu:

Tj, int'l shipping is fully working try http://demo.globant.com/~brovagnati/ zencart demo

ropu

Ropu, I have checked the zencart demo. And as I mentioned earlier, fixed rates do work for internationally, this includes Flat Rate, Per Item, Free Shipping, Zones, etc.

Unfortunately, calculated shipping doesn't work, this includes USPS, UPS, etc. Just tested on your the demo shop you set up, I installed and configured both the USPS and UPS shipping modules, neither one works for international customers, no rates are displayed.

I really want to offer USPS calculated shipping rates to international customers.
Can you please confirm whether international USPS CALCULATED shipping is working? If it's not, do you have any possible solutions?

Thanks.