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

Results 601 to 620 of 3,921
This thread is locked. New replies are disabled.
01 Feb 2007, 14:01
#601
ropu avatar

ropu

Zen Follower

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

Google Checkout module for ZC 1.3.x (beta)

signs:

Can you tell me if this has been implemented yet?

I don't know what version of the responsehandler.php you are referring to, but the one I have doesn't even go to line 785. It ends at line 625. I am using your link in your signature to get to the latest SVN and if that's incorrect please advise. It states last update was 1/12. I am getting the files from this link:
http://google-checkout-zencart.googlecode.com/svn/trunk/

The mod in the d/l section is date with last revision of 1/12 also. If there is an updated version of this please let me know. I can't even get the sandbox to work with the version I have installed on a fresh zen cart. The logo does not appear and when you click the word "Google" where the logo should be, it gives the browser error message that the page cannot be loaded. (This is in sandbox mode and I suspect that since the sandbox address recently changed, that I am using an outdated version of the necessary files).
hi Signs,

I think you dont have the latest version
try http://google-checkout-zencart.googlecode.com/svn/trunk/googlecheckout/responsehandler.php it has 993 lines. (version 1.0.5)
i think you are using responsehandler.php form version 1.0.4 (625 lines) from the branch link of my signature, try TRUNK to get the latest working code (beta++).

Try this version (1.0.5b1) in a fresh install and tell me how it goes.

Im planning to put a demo ZenCart with this module working. Im working on it so you can also see on real time the communication with GC srv, i think this could solve many of your doubts.

ropu

01 Feb 2007, 14:14
#602
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)

kebeid:

ropu,

I've had this error in the integration:
We encountered an error trying to access your server at https://kebeid.com/googlecheckout/responsehandler.php -- the error we got is: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: subject/issuer name chaining check failed

I've found it on the forum to be that the SSL cert. was installed incorrectly, and thats what Google says (the hierarchy isn't returned correctly by the responsehandler.php), but my SSL provider says otherwise - that it is installed correctly and my browsers say the same. Can this at all be from responsehandler.php? I'm just wondering because that is the only logical idea I can come up with right now. Thanks for your help!

-Pete

PS responsehandler.php has no probs loading - blank screen and no errors.
kebeid

As README file says, (TroubleShooting section, item 6)

  1. Problem: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target
    Solution: Your SSL certificate is not accepted by Google Checkout.
    My best guess is not incorrectly installed, is that google does NOT accept it. :S

If you want to PM (or post here) your ssl provider, i can ask at google if its supported or not.

ropu

01 Feb 2007, 14:38
#603
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)

Originally Posted by ropu [IMG]http://www.zen-cart.com/forum/images/ZCgreen/buttons/viewpost.gif[/IMG]
*Well, regarding this issue, we can add something so the buyer can know the password of its account, right now is a "random" number, and send it via email. (must double check GC TOS)

This is not implemented, right now i did an update so the buyer can login with his GC account number as password, see my post
http://www.zen-cart.com/forum/showpost.php?p=321428&postcount=595

As post http://www.zen-cart.com/forum/showpost.php?p=321424&postcount=594 says, you can send this info via that tool.

Double checking Admin UI, orders section, there is no easy way to find Buyers GC account Number. I can add this info near (See red)
Comments
Google Checkout Order No: 164671928710637
Merchant Calculations used: False
Buyer User: [email protected]
Buyer Pass: 123523412523


Do you think this could help you?

if so, ill add it.
(also looking for an other approach, any suggestions are welcome!)

Ropu
*

01 Feb 2007, 15:56
#604
eaglewu avatar

eaglewu

New Zenner

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

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

jacob13moon:

Hi everyone,

This is Jacob from the Google Checkout team.

I'd like to let you know that we just released Google Checkout module for Zen Cart. This module provides Level 2 implementation of Google Checkout with Zen Cart, enabling you to provide Google Checkout to buyers and process orders through your admin UI.

This project is hosted at http://code.google.com/p/google-checkout-zencart where you can find the latest release at any time.

Thanks,
Jacob
Great, will this solve the problem of inventory not update problem? I hope so.

01 Feb 2007, 20:36
#605
defluxx avatar

defluxx

New Zenner

Join Date:
Apr 2005
Location:
NJ
Posts:
34
Plugin Contributions:
0

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

Is the google checkout module in the downloads section supposed to work?

I followed all the instructions and tried several test orders, none of them ever show up in my sandbox account.

01 Feb 2007, 20:55
#606
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)

DeFluxx:

Is the google checkout module in the downloads section supposed to work?

I followed all the instructions and tried several test orders, none of them ever show up in my sandbox account.
Please, give us ur version, describe the problem and send the logs report

thank you

ropu

01 Feb 2007, 21:31
#607
slugo avatar

slugo

New Zenner

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

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

I saw that some other users were having this issue as well. It was mentioned earlier in the thread but no resolution followed. Basically I only have the Google Checkout module installed for "payments". Whenever I choose to use the regular (ZenCart's) checkout process (instead of the google fast checkout ) it says it is using google checkout for step 2.... however it never prompts for a CC number or anything. I can just move to step 3 and place the order without paying for it. Is it not suppossed to work this way? My intentions were to use it to process CCs. I have tried version 1.0.4r and the latest version in Ropu's trunk (1.0.5 beta i think). the 1.0.5 shows xml data at the bottum of the screen but that's another thing. Any answers would be great!

Many Thanks,

Slugo

:cry::cry:

01 Feb 2007, 22:30
#608
defluxx avatar

defluxx

New Zenner

Join Date:
Apr 2005
Location:
NJ
Posts:
34
Plugin Contributions:
0

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

ropu:

Please, give us ur version, describe the problem and send the logs report

thank you

ropu

I'm using 1.0.4r

I don't know where there is a log report.

I followed the instructions included to install, created a "live" Google Checkout Account and a Sandbox account.

I entered the info into the Zen Module for the Sandbox Account

I tried placing an order on my testing website and nothing ever showed up on the Google Sandbox.

02 Feb 2007, 13:51
#609
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)

slugo:

I saw that some other users were having this issue as well. It was mentioned earlier in the thread but no resolution followed. Basically I only have the Google Checkout module installed for "payments". Whenever I choose to use the regular (ZenCart's) checkout process (instead of the google fast checkout ) it says it is using google checkout for step 2.... however it never prompts for a CC number or anything. I can just move to step 3 and place the order without paying for it. Is it not suppossed to work this way? My intentions were to use it to process CCs. I have tried version 1.0.4r and the latest version in Ropu's trunk (1.0.5 beta i think). the 1.0.5 shows xml data at the bottum of the screen but that's another thing. Any answers would be great!

Many Thanks,

Slugo

:cry::cry:
Slugo, hi

question?

have you add the correct templates?

includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php line 128.

    if (sizeof($selection) > 1) {
      if($selection[$i]['id'] == "googlecheckout")
        continue;

this code skips googleCheckout from the Regular Checkout Payment.

Double check this.

ropu

02 Feb 2007, 16:03
#610
slugo avatar

slugo

New Zenner

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

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

ropu:

Slugo, hi

question?

have you add the correct templates?

includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php line 128.

if (sizeof($selection) > 1) {
  if($selection[$i]['id'] == "googlecheckout")
    continue;
> 
> Double check this.
> 
> ropu

Yes it's there. I double checked both my template and template_default. Is google checkout supposed to even be used this way though? I believe the "Fast checkout through Google" works Okay. Do I need to have any other Payment Modules enabled? Right now I only have the Google Checkout "module" enabled. :dontgetit
03 Feb 2007, 10:40
#611
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)

ropu:

Version 1.0.4 is the one that does NOT support merchant calculations and is more stable. Version 1.0.5 is the one that DOES support MC but is in beta.
Thank you ropu for the version clarification. That helped a lot.

I will await when a version supporting zone based shipping method is available (e.g. USA vs all other countries). Or is that even on the roadmap?

Woody

03 Feb 2007, 18:45
#612
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

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

I have a question regarding google checkout manual setup
in the instructions it says to change the following code, but mine is different, I have posted what mine looks like below it, just the relevant parts, can someone please tell me which one to change, as there are two different references in my code to selection:

  1. YOUR_ZENCART_FOLDER/includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php LINE 127
    ===============================================================================================================================
    REPLACE:
<?php if (sizeof($selection) > 1) { ?>

WITH:

<?php if (sizeof($selection) > 1) { // ** GOOGLE CHECKOUT ** if($selection[$i]['id'] == "googlecheckout") continue; // ** END GOOGLE CHECKOUT ** ?>

My file looks like this (lines 117 - 152):

<?php $selection = $payment_modules->selection(); if (sizeof($selection) > 1) { ?><p class="important"><?php echo TEXT_SELECT_PAYMENT_METHOD; ?></p> <?php } elseif (sizeof($selection) == 0) { ?> <p class="important"><?php echo TEXT_NO_PAYMENT_OPTIONS_AVAILABLE; ?></p> <?php } ?> <?php $radio_buttons = 0; for ($i=0, $n=sizeof($selection); $i<$n; $i++) { ?> <?php if (sizeof($selection) > 1) { if (empty($selection[$i]['noradio'])) { ?> <?php echo zen_draw_radio_field('payment', $selection[$i]['id'], ($selection[$i]['id'] == $_SESSION['payment'] ? true : false), 'id="pmt-'.$selection[$i]['id'].'"'); ?> <?php } ?> <?php } else {

?>

<?php echo zen_draw_hidden_field('payment', $selection[$i]['id']); ?> <?php } ?>

<label for="pmt-<?php echo $selection[$i]['id']; ?>" class="radioButtonLabel"><?php echo $selection[$i]['module']; ?></label>

<?php **As you can see there are 2 instances of ** **** <?php if (sizeof($selection) > 1) { ?>

and neither are exactly like the example he listed, what do i do?

04 Feb 2007, 08:54
#613
tme avatar

tme

New Zenner

Join Date:
Dec 2006
Posts:
7
Plugin Contributions:
0

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

hi ropu, i have a question, ive done the mods for GCO and the usps has now appear in the dropdown of GCO. My question is that what is it calculating? Becasue it doesnt callback to the site of usps to calculate the shipping, instead it only calculates the value i entered in the payment admin in google checkout.

04 Feb 2007, 13:44
#614
tme avatar

tme

New Zenner

Join Date:
Dec 2006
Posts:
7
Plugin Contributions:
0

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

dont bother i got it working now! :lamo:

05 Feb 2007, 15:14
#615
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)

humbll:

I have a question regarding google checkout manual setup
in the instructions it says to change the following code, but mine is different, I have posted what mine looks like below it, just the relevant parts, can someone please tell me which one to change, as there are two different references in my code to selection:

  1. YOUR_ZENCART_FOLDER/includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php LINE 127
    ===============================================================================================================================
    REPLACE:
<?php if (sizeof($selection) > 1) { ?>

WITH:

<?php if (sizeof($selection) > 1) { // ** GOOGLE CHECKOUT ** if($selection[$i]['id'] == "googlecheckout") continue; // ** END GOOGLE CHECKOUT ** ?>

My file looks like this (lines 117 - 152):

<?php $selection = $payment_modules->selection(); if (sizeof($selection) > 1) { ?><p class="important"><?php echo TEXT_SELECT_PAYMENT_METHOD; ?></p> <?php } elseif (sizeof($selection) == 0) { ?> <p class="important"><?php echo TEXT_NO_PAYMENT_OPTIONS_AVAILABLE; ?></p> <?php } ?> <?php $radio_buttons = 0; for ($i=0, $n=sizeof($selection); $i<$n; $i++) { ?> <?php if (sizeof($selection) > 1) { if (empty($selection[$i]['noradio'])) { ?> <?php echo zen_draw_radio_field('payment', $selection[$i]['id'], ($selection[$i]['id'] == $_SESSION['payment'] ? true : false), 'id="pmt-'.$selection[$i]['id'].'"'); ?> <?php } ?> <?php } else {

?>

<?php echo zen_draw_hidden_field('payment', $selection[$i]['id']); ?> <?php } ?>

<label for="pmt-<?php echo $selection[$i]['id']; ?>" class="radioButtonLabel"><?php echo $selection[$i]['module']; ?></label>

<?php **As you can see there are 2 instances of ** <?php if (sizeof($selection) > 1) { ?>

and neither are exactly like the example he listed, what do i do?
humbll, hi!

yes, is true, there are 2
<?php if (sizeof($selection) > 1) { ?>
But there is just ONE at line 127 :D, the second one. Im adding some bigger part of the code so you can see how the final code must be.

<?php
  $radio_buttons = 0;
  for ($i=0, $n=sizeof($selection); $i<$n; $i++) {
?>
<?php
    if (sizeof($selection) > 1) {
      if($selection[$i]['id'] == "googlecheckout")
        continue;
 ?>
<?php echo zen_draw_radio_field('payment', $selection[$i]['id'], ($selection[$i]['id'] == $_SESSION['payment'] ? true : false), 'id="pmt-'.$selection[$i]['id'].'"'); ?>
<?php
    } else {
?>
<?php echo zen_draw_hidden_field('payment', $selection[$i]['id']); ?>
<?php
    }
?>
```ropu
05 Feb 2007, 15:17
#616
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)

tme:

dont bother i got it working now! :lamo:

Cool!

but have in mind the timeout problem

Google Checkout has a 3 sec timeout, sometimes USPS, UPS, fedex or any provider takes more than that time to response :S, so that could be the reason for Default Values appearing in the GC page.

Im working on an other approach, trying to parallelize calls and add timeout.

ropu

05 Feb 2007, 21:23
#617
kebeid avatar

kebeid

New Zenner

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

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

ropu,

thanks for replying. it turns out that the certificate wasn't installed correctly. I have that corrected now. But a new problem arises and that is GCO communicated with my zencart to send the old order information I only got the first letter/number of all the information. Thanks for helping out.

-Pete

06 Feb 2007, 08:22
#618
aharper78 avatar

aharper78

New Zenner

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

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

Hello,

I have had trouble with the install of google checkout for 1.3.7 . Every time I install the google checkout mod, it seems to overwrite my paypal EC buttons and displaying the GC button where the paypal EC button goes. Has this been happening to anyone else? I have read the install directions and done everything to the letter. Please let me know if there is a fix to this or if I may have done something wrong.

Thanks in advance.

06 Feb 2007, 14:09
#619
rosenblum68 avatar

rosenblum68

New Zenner

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

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

Problem: Orders with Zencart using googlecheckout do not show up in zencart/admin orders list.

PLEASE HELP!
jeff

I'm using:

zen-cart-v1.3.7-full-fileset-12302006
(w/theme "silverfish")
google checkout 1.04r

I have doublechecked GoogleCheckout installation

In "response_error.log" I get:
Tue Feb 6 4:54:35 PST 2007:- Line 119: headers['Authorization'] is NULL.

At GC, Am using callback:
https://www.newenglandparkingcouncil.org/zencart/googlecheckout/responsehandler.php

have tried both XML and HTML settings.

06 Feb 2007, 16:05
#620
rothkj1022 avatar

rothkj1022

New Zenner

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

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

I have a zen cart that only sells virtual products (downloadable software). The google checkout payment module still does not appear to support this. The orders go through, but the products_attributes and products_downloads records do not get inserted. I had been inserting these records manually after an order goes through so I could still use Google Checkout on my site, but this has become far too cumbersome to deal with.

Is anyone working on this issue?