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,937

Results 1,881 to 1,900 of 3,921
This thread is locked. New replies are disabled.
19 Jul 2007, 5:56 AM
#1881
woodymon avatar

woodymon

Totally Zenned

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

Google Checkout module for ZC 1.3.x (beta)

believer1984:

Excellent . Thanx for sharing.

Believer-

Note the review info provided by jnetmcp was for an earlier mod version.

To answer your other question, the latest v1.4 mod suports "version control" and displays which version is installed under modules > payment > googlecheckout.

Woody

19 Jul 2007, 5:56 AM
#1882
sitehatchery avatar

sitehatchery

New Zenner

Join Date:
Mar 2007
Posts:
77
Plugin Contributions:
0

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

ner0tik:

i've been trying to get google checkout working for the last 2 days my knowledge of PHP is minimal at best the problem is GC module is not calculating my shipping. when i login to my google account i see this error

We encountered an error trying to access your server the error we got is: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

my hosting company uses a shared ssl certificate that needs to be accessed like
https://secure.HOSTINGCOMPANY.com/~USERACCOUNT/Domain/googlecheckout/responsehandler.php

but google checkout module is trying to use https://domain/googlecheckout/responsehandler.php

what files would i need to modify to change this?

im a newb and would appreciate any help. thanks

Your callback url should be https://domain/googlecheckout/responsehandler.php

What I've found is that shared SSL certs I tried did not work. Google is strict with regard to SSL certificates. For information on this and a link to accepted SSL certificate vendors, go here:

http://groups.google.com/group/google-checkout-developers-forum/web/google-checkout-and-ssl-certificates

19 Jul 2007, 1:45 PM
#1883
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

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

sitehatchery:

Your callback url should be https://domain/googlecheckout/responsehandler.php

What I've found is that shared SSL certs I tried did not work. Google is strict with regard to SSL certificates. For information on this and a link to accepted SSL certificate vendors, go here:

http://groups.google.com/group/google-checkout-developers-forum/web/google-checkout-and-ssl-certificates

I have a shared cert in use on my own site that works well. I also tried a host that had shared certs that didn't work at all. The one that didn't work was termed a self-signed certificate. The one that works is authenticated by a certificate authority (Equifax in this case). To use it I entered my API Callback URL in the form:

"https://secure.hostingcompany.com/~USERACCOUNT/googlecheckout/responsehandler.php"

as indicated a few posts above.

19 Jul 2007, 6:23 PM
#1884
sitehatchery avatar

sitehatchery

New Zenner

Join Date:
Mar 2007
Posts:
77
Plugin Contributions:
0

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

chain_man:

I have a shared cert in use on my own site that works well. I also tried a host that had shared certs that didn't work at all. The one that didn't work was termed a self-signed certificate. The one that works is authenticated by a certificate authority (Equifax in this case). To use it I entered my API Callback URL in the form:

"https://secure.hostingcompany.com/~USERACCOUNT/googlecheckout/responsehandler.php"

as indicated a few posts above.

What is the message you get in your google account when you try to process an order?

Also, are you in sandbox mode?

20 Jul 2007, 2:31 AM
#1885
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)

sitehatchery:

What is the message you get in your google account when you try to process an order?

Also, are you in sandbox mode?

Sitehatchery,

If you are observing isssues please post them here.

Visit Chainmans site and you will see GoogleCheckout is operating in production mode (not the sandbox) ;-)

I think Chainman would have elaborated if he was having issues with his certificate and/or Google Checkout configuration. ;-)

BTW Chainman, the link in your ZC forum sig is borked.

Reminder: 1.4beta1 to be released tomorrow in zip format. If everyone can help test we can quickly turn it into '1.4 gold'. Then Ropu can focus his energies on v.1.45.

Woody

20 Jul 2007, 2:44 AM
#1886
ner0tik avatar

ner0tik

New Zenner

Join Date:
Feb 2005
Location:
illinois
Posts:
48
Plugin Contributions:
0

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

thanks for the tips sitehatchery \ chain_man i'll give it a shot. alternatively i was thinking about buying a SSL Cert from godaddy its pretty cheap (19.99\y)

20 Jul 2007, 2:47 AM
#1887
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

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

sitehatchery:

What is the message you get in your google account when you try to process an order?

Also, are you in sandbox mode?

My GCO is in production mode on the host that has a shared cert that worked, so I don't get any error messages. I have been processing GCO orders successfully for a while.

When I tried the self-signed certificate, I didn't even try to get to GCO. At logon to both admin and my store, I got a browser message warning that the cert was unverified and to enter at my own risk. The alternative, according to that host, was to upgrade. at significant cost increase, to a private ip and certificate. I didn't find that acceptable so I changed hosts. I will be glad to give you details outside this forum.

(Thanks Woody on the signature snafu. It should be fixed now.)

20 Jul 2007, 3:47 AM
#1888
sitehatchery avatar

sitehatchery

New Zenner

Join Date:
Mar 2007
Posts:
77
Plugin Contributions:
0

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

Woodymon:

Sitehatchery,

If you are observing isssues please post them here.

Visit Chainmans site and you will see GoogleCheckout is operating in production mode (not the sandbox) ;-)

I think Chainman would have elaborated if he was having issues with his certificate and/or Google Checkout configuration. ;-)

BTW Chainman, the link in your ZC forum sig is borked.

Reminder: 1.4beta1 to be released tomorrow in zip format. If everyone can help test we can quickly turn it into '1.4 gold'. Then Ropu can focus his energies on v.1.45.

Woody

I only go through options because it took me over 65 hours to finally get it installed. I started on IIS - after just under 40 hours researching, testing, etc, I finally discovered (through my own tests) that googlecheckout is not compatible with IIS due to some functions that are specific to Apache servers. I finally moved the site over to an Apache server and got it working. I say all this because I know what a pain it can be to get this working properly and several things can contribute to things not working. I don't have the time to test these possibilities for other people's sites, but hopefully one of my suggestions will inspire a resolution.

20 Jul 2007, 9:14 AM
#1889
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)

sitehatchery:

I started on IIS...
I'm fairly certain others running Zen Cart on IIS have been able to successfully employ the Google checkout mod.

20 Jul 2007, 4:42 PM
#1890
sitehatchery avatar

sitehatchery

New Zenner

Join Date:
Mar 2007
Posts:
77
Plugin Contributions:
0

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

Woodymon:

I'm fairly certain others running Zen Cart on IIS have been able to successfully employ the Google checkout mod.

Show me an example.

20 Jul 2007, 7:25 PM
#1891
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

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

I do not want to get into some sort of contest - IIS vs Apache... however, I went thru the same issues that sitehatchery went thru - and could not get any version of GC to run in IIS (6.0). My host also uses PHP version 5.2.

I recall sending you a note (Woodymon) describing my setup which included IIS 6.0 as my server. Your response to my GC issues indicated that you had not noted that... your replies discussed fixes that only applied to Apache... so I reiterated it in my next posts to you.

In the meantime I discovered amongst the previous GC posts that ROPU made a comment regarding the fact that GC will NOT work in IIS because some GC commands are only supported in the Apache/Unix/Linux environment.

Finally, I had to abandon my GC effort, because I could NEVER get it to work... BUT BUT BUT... this note is not an effort to disparage you (Woodymon) or Ropu. You both have worked too hard and too long trying to support us... however, it will NOT work on an IIS Server...

The 'struggle' between IIS and Apache has been going on for as long as I can recall (I first saw this back in the early 90's and it was a struggle of Micorsoft servers and all open source servers). Every few years the cycle goes from one faction to another (MS vs 'Apache') - and the customers and clients try to keep up.

However, GOOGLE has really not stepped up to the plate on this one. I repeat, this is not meant to place blame or make disparaging remarks... it is that I feel GOOGLE has not adequately supported those of us who have no choice but to use IIS servers. The highway we travel is the same, the mode of transportation is different, but we all must coexist at the whims of our customers and clients. And, when two factions as big as Google and Microsoft get into their tractor trailers and drive down the web road, my little VW has to ride their too...

Bottom line - we all need a working example of IIS using Google. My client was ready to 'fire me' because I cannot support his Google needs... and I asked him to be patient because I acted on faith - faith that you (Woodymon) and Ropu will provide a good IIS solution. I still have faith in you both - but with guarded skepticism.

Please show me ALSO an example.

Respectfully,
jund

20 Jul 2007, 9:22 PM
#1893
sitehatchery avatar

sitehatchery

New Zenner

Join Date:
Mar 2007
Posts:
77
Plugin Contributions:
0

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

jund:

I do not want to get into some sort of contest - IIS vs Apache... however, I went thru the same issues that sitehatchery went thru - and could not get any version of GC to run in IIS (6.0). My host also uses PHP version 5.2.

I recall sending you a note (Woodymon) describing my setup which included IIS 6.0 as my server. Your response to my GC issues indicated that you had not noted that... your replies discussed fixes that only applied to Apache... so I reiterated it in my next posts to you.

In the meantime I discovered amongst the previous GC posts that ROPU made a comment regarding the fact that GC will NOT work in IIS because some GC commands are only supported in the Apache/Unix/Linux environment.

Finally, I had to abandon my GC effort, because I could NEVER get it to work... BUT BUT BUT... this note is not an effort to disparage you (Woodymon) or Ropu. You both have worked too hard and too long trying to support us... however, it will NOT work on an IIS Server...

The 'struggle' between IIS and Apache has been going on for as long as I can recall (I first saw this back in the early 90's and it was a struggle of Micorsoft servers and all open source servers). Every few years the cycle goes from one faction to another (MS vs 'Apache') - and the customers and clients try to keep up.

However, GOOGLE has really not stepped up to the plate on this one. I repeat, this is not meant to place blame or make disparaging remarks... it is that I feel GOOGLE has not adequately supported those of us who have no choice but to use IIS servers. The highway we travel is the same, the mode of transportation is different, but we all must coexist at the whims of our customers and clients. And, when two factions as big as Google and Microsoft get into their tractor trailers and drive down the web road, my little VW has to ride their too...

Bottom line - we all need a working example of IIS using Google. My client was ready to 'fire me' because I cannot support his Google needs... and I asked him to be patient because I acted on faith - faith that you (Woodymon) and Ropu will provide a good IIS solution. I still have faith in you both - but with guarded skepticism.

Please show me ALSO an example.

Respectfully,
jund

Here was my thread on this a while ago:

http://www.zen-cart.com/forum/showpost.php?p=367262&postcount=1397

It shows one reason why it doesn't work on IIS.

20 Jul 2007, 11:09 PM
#1894
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

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

sitehatchery:

Ok, I wish there was documentation somewhere which said that this ONLY works on an Apache server! I've spent weeks on this trying to figure out why it wouldn't work! Searched just about every forum thread I could find on this, searched google, looked at google documentation. I couldn't find anything on this. Well, all you out there who have had the same trouble I have had, here is your documentation.

Line 104 of responsehandler.php:

if(MODULE_PAYMENT_GOOGLECHECKOUT_CGI != 'True') {
if(isset($HTTP_SERVER_VARS['PHP_AUTH_USER']) && isset($HTTP_SERVER_VARS['PHP_AUTH_PW'])) {
$compare_mer_id = $HTTP_SERVER_VARS['PHP_AUTH_USER'];
$compare_mer_key = $HTTP_SERVER_VARS['PHP_AUTH_PW'];
} else {
error_func("HTTP Basic Authentication failed. Can't retrive Merchant Id/Key, Installed over CGI??\n");
exit(1);
}

>  
> **PHP_AUTH_USER only works with Apache. **[\*\*\[COLOR=red\]http://us.php.net/features.http-auth\[/COLOR\]\*\*](http://us.php.net/features.http-auth)
>  
> The reason I was getting this error and the google checkout hasn't worked is because it doesn't work on IIS!
 
You nailed it - Thank you - that is precisely the comment that sent me away - bewildered - a few monsoons ago...
 
So the question remains the same... To ROPU - does the new drop for Monday take care of the IIS issue?
 
respectfully submitted,
jund
21 Jul 2007, 1:05 AM
#1895
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)

You all asking questions about v.1.4 mod are doing so on the wrong forum. This thread is for v.1.3x versions.

But for those who would like to know...

v.1.4alpha3 = v.1.4beta1

No differences.

So if you are already running alpha3 then there will be no need to install beta1.

Only reason to wait until Monday for beta1 is if you want to download in zip format.

Woody

21 Jul 2007, 1:27 AM
#1896
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)

Re: IIS

My recollection is sometime early this Spring another developer (other than Ropu) posted to this thread workaround code to make the v.1.3x mod work with IIS. He was very happy that he was able to make the mod work with IIS.

I'm not sure which version of PHP he was testing with so that might be significant.

Maybe contact the developer to see if he can offer some hints on supporting the code on IIS.

I recall the IIS issue had to do with IIS not supporting
Basic authentication on CGI php installations.

For reference, in the latest mod version (1.4alpha3/1.4beta1)
PHP_Auth mechanism is employed in /googlecheckout/library/googleresponse.php
and
/admin/htaccess.php

Sorry, I don't have any more info to offer on the subject. Good luck.

Woody

21 Jul 2007, 4:29 PM
#1897
redcinamn avatar

redcinamn

Zen Follower

Join Date:
Oct 2006
Posts:
175
Plugin Contributions:
0

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

Can anyone tell me if there is a particular port that must be opened for the cart to connect to the google checkout?

Zen 1.3.7

Renee

22 Jul 2007, 12:49 PM
#1898
redcinamn avatar

redcinamn

Zen Follower

Join Date:
Oct 2006
Posts:
175
Plugin Contributions:
0

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

Anyone on this question above? I have two orders that are just sitting in pending and I have a feeling it is due to firewall or the port. Any help would be appreciated.

~Renee

22 Jul 2007, 6:36 PM
#1899
w00gle avatar

w00gle

New Zenner

Join Date:
Feb 2007
Posts:
39
Plugin Contributions:
0

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

Redcinamn:

Anyone on this question above? I have two orders that are just sitting in pending and I have a feeling it is due to firewall or the port. Any help would be appreciated.

~Renee

The only ports you need to open really are port 80 for http and 8080 for https

22 Jul 2007, 8:28 PM
#1900
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

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

Redcinamn:

Anyone on this question above? I have two orders that are just sitting in pending and I have a feeling it is due to firewall or the port. Any help would be appreciated.

~Renee
Are you testing or live? Are you on a host or at home?
jund