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

Results 1,321 to 1,340 of 3,921
This thread is locked. New replies are disabled.
26 Apr 2007, 7:23 PM
#1321
woodymon avatar

woodymon

Totally Zenned

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

Google Checkout module for ZC 1.3.x (beta)

Ropu,

What is the status of the other important outstanding issues that have been presented in this thread since 1.3RC2 release?

Could you start directing people to the bugtracker to post issues. I think much of the info posted in this thread regarding issues/bugs here is getting lost and not followed up on. At least with a bug tracker facility we could check the status of bugs, and not have to constantly repeat ourselves.

As long as the issues i have posted in last two weeks remain unresponded to and unresolved I cannot employ Google Checkout.

So I guess I will have to begin posting my issues to the Google Checkout merchant and developers forums on Google Groups.

Any news on initiating a discussion forum for this mod, one which supports multiple threads? Maybe in Google Groups?

Thanks,
Woody

26 Apr 2007, 7:27 PM
#1322
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:

thx woody!

ill drop the fix!

I'm not sure if I understand this statement. Did you include the one liner fix to orders.php in the latest mod version, so those whom are downloading 1.3RC2 from here on out will not have to apply themselves? Or are you just stating that it will be included in next version 1.3RC3?

And is there any hint of when 1.3RC3 will be available, containing fixes for many of the ongoing issues with 1.3RC2. Please let us know what's up.

Thanks,
Woody

27 Apr 2007, 12:03 AM
#1323
pio_pio avatar

pio_pio

New Zenner

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

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

I just installed Zen-Cart + Google Checkout plugin
It works great except that after the order is processed, and you click the link to go back to my site, the shopping cart is still full...
Is this standard behavior? I would think that since the order was processed, it would clear the cart...

Thanks
David

27 Apr 2007, 1:11 AM
#1324
mgrade avatar

mgrade

New Zenner

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

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

I have followed the instructions to a hilt. I have tried this 3 times 2 of which were just copying over the original files and changed permissions on a couple log files, and I manually tried it in with the exact same results.

The link is grayed out, I have two google checkout accounts 1 is the sandbox. I have tried both accounts with same issue. If you contiinue to checkout you see the words Google Checkout with no Radio button which is weird because it does not show up that way when I set it up on OS Commerce.

I setup google checkout on OS Commerce latest version and it worked fine.

Any smart people out there that can tell me where to look or why I cannot get it work with Zen Cart Latest Version 1.3.7?

PLEASE HELP :) & THANKS

27 Apr 2007, 1:58 AM
#1325
pio_pio avatar

pio_pio

New Zenner

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

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

mgrade:

I have followed the instructions to a hilt. I have tried this 3 times 2 of which were just copying over the original files and changed permissions on a couple log files, and I manually tried it in with the exact same results.

The link is grayed out, I have two google checkout accounts 1 is the sandbox. I have tried both accounts with same issue. If you contiinue to checkout you see the words Google Checkout with no Radio button which is weird because it does not show up that way when I set it up on OS Commerce.

I setup google checkout on OS Commerce latest version and it worked fine.

Any smart people out there that can tell me where to look or why I cannot get it work with Zen Cart Latest Version 1.3.7?

PLEASE HELP :) & THANKS
for me, it was greyed out becuase I didn't assign any weights to the products, so it couldn't calculate shipping for me...once I gave my products weight, it turned into a good checkout button

27 Apr 2007, 4:36 AM
#1326
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 & Everyone-

I installed 1.3RC2 GC mod on another shop. And then I observed what some have been reporting in this thread, that is the LABEL "Google Checkout" is still appearing on the checkout payment page WITHOUT the radio button.

So ropu, your adjustment in 1.3RC2 removed the radio button but did not prevent the display of the shipping method label.

Below is what you will observe in the HTML source:

<label for="pmt-googlecheckout" class="radioButtonLabel">GoogleCheckout</label>

So I copied a few lines of relevant Google Checkout code from the 1.3RC1 version of
tpl_checkout_payment_default.php and integrated it into the latest Zen Cart 1.37 version of the same file.

(thus I added two new lines of code and commented out two other lines).

For those who want to edit themselves.

/includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php
At appx line 136

CHANGE THIS:

<?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  } ?>

TO THIS:

<?php
    if (sizeof($selection) > 1) {
        // if (empty($selection[$i]['noradio'])) {
      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 //  } ?>

(note the last right brace commented out)

Hope this helps.

Woody

27 Apr 2007, 4:48 AM
#1327
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)

Forgot to attach... Here it is...

Zen Cart 1.37 tpl_checkout_payment_default.php
edited for Google Checkout 1.3RC2

Copy file into /includes/templates/YOUR_TEMPLATE/templates/

-Woody

27 Apr 2007, 4:48 AM
#1328
mgrade avatar

mgrade

New Zenner

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

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

Thanks for the info but that did not seem to work.

I am completely baffled unless I am missing something that was not in the documentation for some reason.

27 Apr 2007, 5:40 AM
#1329
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)

mgrade:

Thanks for the info but that did not seem to work.

I am completely baffled unless I am missing something that was not in the documentation for some reason.

This was a reply to pio!pio!, correct?

Since we have many threads going on at once here best to include at least a small snippet of the original post when responding.

Thanks,
Woody

27 Apr 2007, 5:50 AM
#1330
zgraphic avatar

zgraphic

New Zenner

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

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

BlessIsaacola:

For Google Checkout, you do not need to modify anything. Assuming you have the original file in the default template folder, you customer will not be able to checkout for free on step 2. Basically, google checkout is available to your customer from the login page and shopping cart. In step 2 it will display a static google checkout text. If you do not want this text you will need to modify the tpl_checkout_payment_default.php to remove like. You will notice the static text is not on our step 2 page on our site.

Sorry just got back from work. So on "tpl_checkout_payment_default.php" Do you mind telling me what do I need to modify? I know I messed up and don't know where to start to fix it. I am taking it step by step, please help and thanks for your helps!

27 Apr 2007, 6:54 AM
#1331
justwade avatar

justwade

Zen Follower

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

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

I have not yet installed this mod.
So, as I read and re read all these posts and become dazed in the process....

Am I concluding correctly the following for all you braver than myself?

A. An older version of Google checkout had a payment radio button choice on Step 2 for those who logged in.

B. The radio button at Step 2 is no longer in the latest version if installed properly, (because it does not work as it should, I am guessing ,and also maybe is conflicting with Google's terms and conditions)

C. The corresponding text at Step 2 still remains as "Google checkout" with no button but you can edit it out to avoid customer confusion.

Is this an accurate summery?:unsure:

27 Apr 2007, 7:02 AM
#1332
gunzanroses avatar

gunzanroses

New Zenner

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

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

This is getting frustrating... could someone please tell me how to fix this error that i get when checking out using the sandbox.

  [Your server returned no data in its response; Checkout requires data of type merchant-calculation-results in response to merchant-calculation-callback](https://sandbox.google.com/checkout/sell/settings?section=Integration&userToken=1177656696053+PFxqXqLGZaKA0RPxf9iGMDgxmFE%3D&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3Fsection%3DIntegration%26userToken%3D1177656696053%2BPFxqXqLGZaKA0RPxf9iGMDgxmFE%253D&serialNumber=e357c447-c8ee-4ee8-a0ce-5b3592967440)

i have set my api url call back to the response handler. I believe this to be one reason i am not getting shipping quotes? My apologies is someone has answered this question in this thread but i have been sifting through posts for 2 hours and nothing. This thread is freaking huge! any help would be fantastic!

27 Apr 2007, 7:10 AM
#1333
zgraphic avatar

zgraphic

New Zenner

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

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

Just like many others! I am lost too. And I think I messed up my site. I read and read, but still couldn't get it fix. Now, I re-installed zen-cart. And hoping someone can provide us an easy way to install GCO for our web site. Thanks!:smile:

27 Apr 2007, 8:09 AM
#1334
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)

zgraphic:

Just like many others! I am lost too. And I think I messed up my site. I read and read, but still couldn't get it fix. Now, I re-installed zen-cart. And hoping someone can provide us an easy way to install GCO for our web site. Thanks!:smile:

What exactly is the problem you're having? Do you have a site we can take a look at to see your installation (you can PM if you don't want your site in the public)?

27 Apr 2007, 8:10 AM
#1335
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)

Justwade:

I have not yet installed this mod.
So, as I read and re read all these posts and become dazed in the process....

Am I concluding correctly the following for all you braver than myself?

A. An older version of Google checkout had a payment radio button choice on Step 2 for those who logged in.

B. The radio button at Step 2 is no longer in the latest version if installed properly, (because it does not work as it should, I am guessing ,and also maybe is conflicting with Google's terms and conditions)

C. The corresponding text at Step 2 still remains as "Google checkout" with no button but you can edit it out to avoid customer confusion.

Is this an accurate summery?:unsure:

You have accurately summarized above. However, what you've summarized is the easiest part to deal with. There are about a dozen or so issues with this mod that you need to be aware of.

27 Apr 2007, 8:58 AM
#1336
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)

Gunzanroses:

This is getting frustrating... could someone please tell me how to fix this error that i get when checking out using the sandbox.

  [Your server returned no data in its response; Checkout requires data of type merchant-calculation-results in response to merchant-calculation-callback](https://sandbox.google.com/checkout/sell/settings?section=Integration&userToken=1177656696053+PFxqXqLGZaKA0RPxf9iGMDgxmFE%3D&returnURL=https%3A%2F%2Fsandbox.google.com%2Fcheckout%2Fsell%2Fsettings%3Fsection%3DIntegration%26userToken%3D1177656696053%2BPFxqXqLGZaKA0RPxf9iGMDgxmFE%253D&serialNumber=e357c447-c8ee-4ee8-a0ce-5b3592967440)

i have set my api url call back to the response handler. I believe this to be one reason i am not getting shipping quotes? My apologies is someone has answered this question in this thread but i have been sifting through posts for 2 hours and nothing. This thread is freaking huge! any help would be fantastic!

When you click on the actual error on the google checkout integration tab, what's the full error description? Are you sure your sandbox is pointing to the right responsehandler.php? Are you using your sandbox merchant id (which is different than production)? Did you set the url callback for sandbox to http or https and if https do you have one of Googlecheckout supported SSL installed?

Have you configured shipping accurately in both Zen Cart admin and googlecheckout? When you test your respondhandler using the test tool did you get any error?

27 Apr 2007, 9:20 AM
#1337
gunzanroses avatar

gunzanroses

New Zenner

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

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

BlessIsaacola:

When you click on the actual error on the google checkout integration tab, what's the full error description? Are you sure your sandbox is pointing to the right responsehandler.php? Are you using your sandbox merchant id (which is different than production)? Did you set the url callback for sandbox to http or https and if https do you have one of Googlecheckout supported SSL installed?

Have you configured shipping accurately in both Zen Cart admin and googlecheckout? When you test your respondhandler using the test tool did you get any error?

Hi BlessIsaacola, first off just wanna say thanks for taking time to help us out. I'll answer you questions in the same order.

  1. Error message is :
<?xml version="1.0" encoding="UTF-8"?>
<merchant-calculation-callback xmlns="http://checkout.google.com/schema/2" serial-number="e357c447-c8ee-4ee8-a0ce-5b3592967440">
  <shopping-cart>
    <items>
      <item>
        <quantity>1</quantity>
        <unit-price currency="USD">1.99</unit-price>
        <merchant-item-id>182</merchant-item-id>
        <item-name>test 3</item-name>
        <item-description></item-description>
        <merchant-private-item-data>********************==</merchant-private-item-data>
      </item>
      <item>
        <quantity>1</quantity>
        <unit-price currency="USD">4.99</unit-price>
        <merchant-item-id>185</merchant-item-id>
        <item-name>test 6</item-name>
        <item-description></item-description>
        <merchant-private-item-data>**************</merchant-private-item-data>
      </item>
    </items>
    <merchant-private-data>
      
      
      <session-data>**************;zenid</session-data>
      
      
      <product-data>;1892;1865</product-data>
      
      
      <ip-address>71.220.148.144</ip-address>
      
    
    </merchant-private-data>
  </shopping-cart>
  <buyer-id>############</buyer-id>
  <calculate>
    <shipping>
      <method name="Fedex Ground: FedEx Ground Service" />
      <method name="UPS: Next Day Air Early AM" />
      <method name="UPS: Next Day Air Early AM Letter" />
      <method name="UPS: Next Day Air" />
      <method name="UPS: Next Day Air Letter" />
      <method name="UPS: Next Day Air Intra (Puerto Rico)" />
      <method name="UPS: Next Day Air Saver" />
      <method name="UPS: Next Day Air Saver Letter" />
      <method name="UPS: 2nd Day Air AM" />
      <method name="UPS: 2nd Day Air AM Letter" />
      <method name="UPS: 2nd Day Air" />
      <method name="UPS: 2nd Day Air Letter" />
      <method name="UPS: 3 Day Select" />
      <method name="UPS: Ground" />
      <method name="UPS: Ground Commercial" />
      <method name="UPS: Ground Residential" />
      <method name="UPS: Canada Standard" />
      <method name="UPS: Worldwide Express" />
      <method name="UPS: worldwide Express Letter" />
      <method name="UPS: Worldwide Express Plus" />
      <method name="UPS: Worldwide Express Plus Letter" />
      <method name="UPS: Worldwide Expedited" />
      <method name="USPS: Express Mail" />
      <method name="USPS: First-Class Mail" />
      <method name="USPS: Priority Mail" />
      <method name="USPS: Parcel Post" />
      <method name="USPS: Bound Printed Material" />
      <method name="USPS: Library" />
    </shipping>
    <addresses>
      <anonymous-address id="###########">
        <country-code>US</country-code>
        <city>fort worth</city>
        <region>TX</region>
        <postal-code>22222</postal-code>
      </anonymous-address>
    </addresses>
    <merchant-code-strings />
    <tax>false</tax>
  </calculate>
  <buyer-language>en_US</buyer-language>
</merchant-calculation-callback>
  1. response handler is pointing to :
    http://www.my-site.com/googlecheckout/responsehandler.php

  2. yes i am using sandbox ID and Key

  3. sandbox call back url is http: not https: ( does this need to be secure even in sandbox?)

  4. i will be installing a godaddy SSL which i have read in this thread IS supported

  5. all shipping prices are default and have been untouched

  6. i saw a post mentioning this response tool... is this on Ropu's site? i will look for it now and report my results

again, thank you for you help BlessIsaacola

27 Apr 2007, 9:39 AM
#1338
gunzanroses avatar

gunzanroses

New Zenner

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

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

hmmm sorry for two posts in a row, guess you can't edit posts here?

found the response handler tool you mentioned at :

http://demo.globant.com/~brovagnati/tools/responsehandler_test.php

unfortunately i am unsure what to put into the xml portion of the page. i tried putting in "Merchant-calculation-callback" but i received a content length of zero so i'm sure i'm doing it wrong.

27 Apr 2007, 3:10 PM
#1339
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)

Justwade:

Is this an accurate summery?
Correct on all accounts.

Regarding #3 in your list, the checkout template file posted today is the solution (or follow instructions to edit the same file).

Woody

27 Apr 2007, 3:32 PM
#1340
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)

Gunzanroses:

hmmm sorry for two posts in a row, guess you can't edit posts here?

found the response handler tool you mentioned

unfortunately i am unsure what to put into the xml portion of the page. i tried putting in "Merchant-calculation-callback" but i received a content length of zero so i'm sure i'm doing it wrong.

You can edit posts for five minutes or so after posting.

What is your URL for your shop index page?

The URL responsehandler URL you previously provided
http://www.my-site.com/googlecheckout/responsehandler.php
indicates your shop is in your webroot. Are you certain?

If you shop is in a directory (as most people will install) then the URL would be something like:
http://www.my-site.com/your_shop/googlecheckout/responsehandler.php

If you provide a real URL we could tell you.

The XML, which you can paste into ropu's responsehandler test tool, should be in your log files in /googlechckout directory.

Copy/process one error entry at a time.

In your Google Sellers sandbox account are you certain you have selected XML for the Callback Method?

Testing sandbox via http is fine.

BTW I would not recommend posting callback XML info in the clear without first obfuscating (contains zenid, etc). Or PM to trusted people (ropu, etc).

Woody