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

Google Checkout module for ZC 1.3.x (beta)

Locked

Started by jacob13moon on 26 Sep 2006, 8:09 PM · Views: 1,101,465

Results 281 to 300 of 3,921
This thread is locked. New replies are disabled.
28 Nov 2006, 9:20 PM
#281
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Google Checkout module for ZC 1.3.x (beta)

Hello!

Thank you to everyone for coming out with this contrib!

I am very anxious to get GCO working on my website.

So far GCO is working fine: orders can be placed and I get email notices...

but the orders do not appear in my Admin.

I have read through the forums and have tried everything so far, I have no errors, logs etc set at 777 still

cannot get the API callback URL: http://mylovesupreme.com/dev/googlecheckout/responsehandler.php
to work.

any suggestions?

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

29 Nov 2006, 3:29 AM
#282
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

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

asking if the mod will be eventually developed to support the current Zen Cart function which can be enabled to "force" buyers to read/agree to your shops TOS/Priv Stmt, before check out?

Yes, I was asking if the "forcing" of buyers to read/ agree to our shops TOS before checkout was built in. This plays into your following comments, as I was confused by some prior indirect answers from "those in the know".

When I went to the Google TOS I got a headache trying to understand much of it, I'll need to go back and try again when inclined. I have vaguely concluded that Google Cart will be bypassing all checkout systems (in Zen Cart plus other carts) and that may include our built in TOS requirements. Sort of a One stop super cart for all, but this all may not be for the one.

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

30 Nov 2006, 2:52 PM
#283
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)

dharma:

Hello!

Thank you to everyone for coming out with this contrib!

I am very anxious to get GCO working on my website.

So far GCO is working fine: orders can be placed and I get email notices...

but the orders do not appear in my Admin.

I have read through the forums and have tried everything so far, I have no errors, logs etc set at 777 still

cannot get the API callback URL: http://mylovesupreme.com/dev/googlecheckout/responsehandler.php
to work.

any suggestions?

Hi all, it seems that many couldn't get their orders into the Admin UI.

A possible issue is that Zen Cart treats Google Checkout Srv (sandbox and production) as a spider!

This prevents GC module to store sessions and retrieve cart contents from it.

try setting to False admin->configuration->session->Prevent Spider Sessions configuration (Thx dawnmariegifts, beta tester)
Side effects: You'll see spiders as active users. Working on a permanent fix.

I would like some feedback!

ropu

30 Nov 2006, 3:27 PM
#284
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

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

Thanks ropu for your response.

I changed: False admin->configuration->session->Prevent Spider Sessions configuration. Still does not show up in Admin:sadwalk:

here is the error I got from google yesterday, I have tried both SSL and no SSl API call back URLs:

We encountered an error trying to access your server at http://mylovesupreme.com/dev/googlecheckout/responsehandler.php -- the error we got is: Sending failed with HTTP response code: 502. 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="http://mylovesupreme.com/dev/googlecheckout/responsehandler.php">http://mylovesupreme.com/dev/googlecheckout/responsehandler.php</A> <P> The following error was encountered: <UL> <LI> <STRONG> Zero Sized Reply </STRONG> </UL> <P> Squid did not receive any data for this request. <P>Your cache administrator is <A HREF="mailto:admin">admin</A>. <BR clear="all"> <HR noshade size="1px"> <ADDRESS> Generated Tue, 28 Nov 2006 20:55:09 GMT by proxy.google.com (squid) </ADDRESS> </BODY></HTML>

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

30 Nov 2006, 4:09 PM
#285
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

dharma:

Hello!

Thank you to everyone for coming out with this contrib!

I am very anxious to get GCO working on my website.

So far GCO is working fine: orders can be placed and I get email notices...

but the orders do not appear in my Admin.

I have read through the forums and have tried everything so far, I have no errors, logs etc set at 777 still

cannot get the API callback URL: http://mylovesupreme.com/dev/googlecheckout/responsehandler.php
to work.

any suggestions?

Check your response_error.log in your googlecheckout folder and check to see if there's any error at checkout.google.com (under settings ->Intergration)

Did you make any changes to the files?

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

30 Nov 2006, 4:15 PM
#286
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

dharma:

-- the error we got is: Sending failed with HTTP response code: 502. 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> ...

This happens occasionally with Google. Sometimes the page Google is trying to access times out. You will get this once in awhile. If it happens for every order you have, then you may have a problem.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

30 Nov 2006, 4:22 PM
#287
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

Correct,
After reviewing the TOS, GoogleCheckout should not show up in Step 2 of the Checkout page. The way the module is set up, ZenCart automatically adds Google as an option since it is in the module folder.

I have found a temporary solution for this.
Go to Admin->Payments & edit GoogleCheckout
Change the sort order to a value that already exist. My example, I have moneyorder as sort order = 5. I also set Google Checkout sort order to = 5.

Test the page. When you go to step 2 of the checkout. Google checkout should not appear. My example, Money Order appears but not Google Checkout. This works on zc 1.3.6. I am not sure of other version. Please post if it works with earlier versions.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

30 Nov 2006, 4:29 PM
#288
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

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

colosports:

This happens occasionally with Google. Sometimes the page Google is trying to access times out. You will get this once in awhile. If it happens for every order you have, then you may have a problem.

Hello colosports,

Thanks for your help.

None of my orders have made it into my Admin, I have yet to see success.

here is what my google response error log displays, I have not changed any files:

"# This file is used to record all the response errors encountered by Google Checkout Plugin Wed Nov 29 1:06:25 EST 2006:- Shopping cart not obtained from session."

here are some other errors I have got from google sandbox:

non SSL:

-- the error we got is: Read timed out

using SSL: -- the error we got is: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: basic constraints check failed: pathLenConstraint violated - this cert must be the last cert in the certification path

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

30 Nov 2006, 4:38 PM
#289
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

dharma:

Hello colosports,

Thanks for your help.

None of my orders have made it into my Admin, I have yet to see success.

here is what my google response error log displays, I have not changed any files:

"# This file is used to record all the response errors encountered by Google Checkout Plugin Wed Nov 29 1:06:25 EST 2006:- Shopping cart not obtained from session."

here are some other errors I have got from google sandbox:

non SSL:

-- the error we got is: Read timed out

using SSL: -- the error we got is: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: basic constraints check failed: pathLenConstraint violated - this cert must be the last cert in the certification path

Your ssl is invalid. This is annotated in the readme file.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

30 Nov 2006, 4:39 PM
#290
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

To all users:
Attach is a screenshot of what the admin ui should look like after the order is placed with Google Checkout.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

30 Nov 2006, 4:57 PM
#291
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

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

colosports:

Your ssl is invalid. This is annotated in the readme file.

I have a shared SSL (powweb) : https://USER_NAME.powweb.com

does this mean I will not be able to use GCO as I am on a shared SSL?

Assuming of course I can get it work on my non SSL first: http://mylovesupreme.com/dev/googlecheckout/responsehandler.php

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

30 Nov 2006, 6:31 PM
#292
andrescolombia avatar

andrescolombia

New Zenner

Join Date:
Nov 2006
Posts:
1
Plugin Contributions:
0

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

Not installing until it becomes easier to do so. Why? I'm a smal, very small business without the time to copy here and paste there. Modules like the extended attributes work great because files are uploaded via filezille in a snap, and it works as promise. Instead, this google module is cumbersome for the inexpert user like me.

Don't take me wrong, I just can't afford to screw all my store when trying to install this little module from the biggest media company in the world.

https://www.sensualitelingerie.com/shopping

30 Nov 2006, 8:49 PM
#293
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

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

Hello,

I checked my CGI error log at my hosting company (a week ago, I never thought I would be looking at cgi scripts)

it showed this error:

PHP Warning: Zend Optimizer does not support this version of PHP - please upgrade to the latest version of Zend Optimizer in Unknown on line 0
PHP Fatal error: Call to undefined function: getallheaders() in /hermes/web09/b2476/pow.USER_NAME/htdocs/dev/googlecheckout/responsehandler.php on line 112

I deleted the zend optimizer code at the bottom of my php.ini file (i am using php 4.4.4):
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/Zend-2.5.7/lib/Optimizer-2.5.7
zend_extension_manager.optimizer_ts=/usr/local/Zend/Zend-2.5.7/lib/Optimizer_TS-2.5.7
zend_extension=/usr/local/Zend/Zend-2.5.7/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/Zend-2.5.7/lib/ZendExtensionManager_TS.so

and tried using google check out again, no success but the CGI error log now only reads:

PHP Fatal error: Call to undefined function: getallheaders() in /hermes/web09/b2476/pow.USER_NAME/htdocs/dev/googlecheckout/responsehandler.php on line 112

I hope this helps..

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

30 Nov 2006, 9:20 PM
#294
nuin avatar

nuin

New Zenner

Join Date:
Jan 2006
Posts:
6
Plugin Contributions:
0

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

Alright, I've got Google Checkout working and testing out OK. I'm a bit frustrated since for the time being I only want to use Google Checkout and take my shop live so I would like to:

  1. Remove the zen Checkout Button from appearing

and

  1. Drop the login from the Navigation bar.

I cannot seem to fing the appropriate code to comment out?

Is there some help from some a bit more experienced that I?

Thanks

30 Nov 2006, 9:57 PM
#295
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)

Does the GCO for ZC mod support custom ship rate configurations where ship cost is charged for each item in order and handling fee is charged only once per order. Such as the following two S&H configs:

Total S&H (USA) =
$3 ship cost + $2 handling fee
w/ shipping zone = USA
(USA is only country in this zone)

So in this instance a one item order is $5 total S&H and each add'l item adds $3 so total S&H for a two item order would be $8.

Total S&H (Non-USA) =
$4 ship cost + $6 handling fee
w/ shipping zone = international
(all countries except USA are in this zone)

So in this instance a one item order is $10 total S&H and each add'l item adds $4 so total S&H for a two item order would be $14.

1 Dec 2006, 5:55 AM
#296
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

dharma:

PHP Fatal error: Call to undefined function: getallheaders() in /hermes/web09/b2476/pow.USER_NAME/htdocs/dev/googlecheckout/responsehandler.php on line 112

The solution is located in the Google checkout readme file.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

1 Dec 2006, 7:03 AM
#297
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

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

I deleted the code as specified in the read me. I now get no errors from google or my hosting company's CGI error log. Still, orders do not show up in the admin. I will try creating a fresh google account/merch ID to see if that will help.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

3 Dec 2006, 9:24 AM
#298
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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

Woodymon:

ropu:

  1. Is dificult to know where is the admin directory with out having the file that tell us where is located! (in fact where is located the admin directory is the config file!) ill have a look to this an see if is an other way of solving it!
    A conundrum which I have no expertise in. I am only now beginning to educate myself of the theory behind the init system and notifier system. Are not the defines in /admin/includes/configure.php available to mods via a sniffer. How is the PayPal IPN payment mod is acquiring the name of the "admin" directory. Maybe DrByte, ajeh and/or wilt can provide some insight?

The /admin/ path is not defined anywhere outside the admin folder. This is for security reasons. If nobody can find the path to your admin folder, it is much more difficult to exploit.

It would be more prudunt for the GC module to include an appropriate path in its return post-back so that it knows where to find relevant files, rather than to hard-code the path into any particular file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Dec 2006, 3:32 AM
#299
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

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

dharma:

I deleted the code as specified in the read me. I now get no errors from google or my hosting company's CGI error log. Still, orders do not show up in the admin. I will try creating a fresh google account/merch ID to see if that will help.

I am having the same problem here...orders are coming in but not in the ZC Admin
response_message file getting info, no errors in google edited response_handler file ....no errors showing...but still nothing in admin.

4 Dec 2006, 2:22 PM
#300
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)

DrByte:

The /admin/ path is not defined anywhere outside the admin folder. This is for security reasons. If nobody can find the path to your admin folder, it is much more difficult to exploit.

It would be more prudunt for the GC module to include an appropriate path in its return post-back so that it knows where to find relevant files, rather than to hard-code the path into any particular file.

thx DrByte

im taking note of this!

ropu