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

Results 1,281 to 1,300 of 3,921
This thread is locked. New replies are disabled.
24 Apr 2007, 3:37 PM
#1281
zgraphic avatar

zgraphic

New Zenner

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

Google Checkout module for ZC 1.3.x (beta)

Thanks woody!
I download the 1.3RC2 and dont see the file "tpl_checkout_payment_default.php"
in the location /includes/templates/YOUR_TEMPLATE/templates/

I am not a programmer, I spent a night to read this forum and still counldn't get it done! Is there a easy way to set it up?

I agree that Paypal is much easier to set up than google check-out, but paypal required login to you site.

Sorry for the late reply WoOdy!

24 Apr 2007, 4:03 PM
#1282
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)

BlessIsaacola:

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!

Hi, i coded a little script to get shipping metrics of ur installed modules

here is the link
http://demo.globant.com/~brovagnati/tools/shipping_metrics/
btw, if u run it and send me the results, i'll send them too google, this way we can push a little to increase the timeout limit.

ropu

24 Apr 2007, 4:09 PM
#1283
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)

zgraphic, please read the readme and installation files included in the release. tpl_checkout_payment_default.php is no longer used, not needed.

I don't think many people here are programmers. My knowledge is limited to basic html and I've managed to do a lot things just by reading and following directions.

You don't have to read the whole thread either. If you have a question, first use the 'Search This Thread' feature at the top of this thread, note that this is more useful and different from the general 'Search'. Doing a quick search on this thread you will find that many of the same questions have been already asked and answered.

Many simple questions go unanswered, this is not because people here don't want to help, but because the same question has been asked and answered already and if a quick search had been done, the answer would have been found.

24 Apr 2007, 4:34 PM
#1284
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)

hi
ive just added FexEd Express and FedEx ground to the demo site

http://demo.globant.com/~brovagnati/zen_demo1
http://demo.globant.com/~brovagnati/zen_demo1/admin

they are installed but disabled, to test them enable any of them. With both installed u may have a big chance of timeout, with just one, it goes mostly fine.

remember to have a look to the http://demo.globant.com/~brovagnati/zen_demo1/tail/tail.php?file=2 (o the link in the Zencart page header **Notif Log Viewer) **to see the message between GC and Zencart with the times it take each one.

FedEx express offers int'l shipping

hope this helps u understand better the module and how it works.

In the demo is also added a new page for the continue shipping url, here is a sample

http://demo.globant.com/~brovagnati/zen_demo1/index.php?main_page=GC_return&products_ids=26,27
this will be in next package, ill post a patch for those who want it for this version

ropu

24 Apr 2007, 5:02 PM
#1285
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:

Thanks woody!
I download the 1.3RC2 and dont see the file "tpl_checkout_payment_default.php"
in the location /includes/templates/YOUR_TEMPLATE/templates/

I am not a programmer, I spent a night to read this forum and still counldn't get it done! Is there a easy way to set it up?

I agree that Paypal is much easier to set up than google check-out, but paypal required login to you site.

Sorry for the late reply WoOdy!

Paypal doesn't require your customer to login to your site if you're using Paypal Express included in Zen Cart v1.3.7.

24 Apr 2007, 5:13 PM
#1286
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:

hi
ive just added FexEd Express and FedEx ground to the demo site

http://demo.globant.com/~brovagnati/zen_demo1
http://demo.globant.com/~brovagnati/zen_demo1/admin

they are installed but disabled, to test them enable any of them. With both installed u may have a big chance of timeout, with just one, it goes mostly fine.

Hmm...this is very discouraging that now we have to pick between FedEx Express and FedEx Ground. Perhaps, merchant shipping should be completely disabled until it works.

I don't understand why Google Checkout cannot complete a basic function that is already built into Zen Cart which Paypal execute flawlessly. If using this GCO module means store owners have to start offering lousy service by disabling all sort of shipping options that customers are already used to, then this is not good.

We've temporarily stopped offering UPS on our site to see if it will improve GCO timing out and that doesn't help. We are basically offering two options and GCO still can't handle that.

This thing has a lot of potential but to many issues...

Tax calculation is not working...
International shipping doesn't alway work
It offers free shipping when it shouldn't
It doesn't obey coupon restriction when it should
It restricts shipping option that can be offer due to timeout issues
It doesn't fully support zone restrictions
It doesn't fully support virtual products

Need I list more?

24 Apr 2007, 6:06 PM
#1287
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)

BlessIsaacola:

Hmm...this is very discouraging that now we have to pick between FedEx Express and FedEx Ground. Perhaps, merchant shipping should be completely disabled until it works.

I don't understand why Google Checkout cannot complete a basic function that is already built into Zen Cart which Paypal execute flawlessly. If using this GCO module means store owners have to start offering lousy service by disabling all sort of shipping options that customers are already used to, then this is not good.

We've temporarily stopped offering UPS on our site to see if it will improve GCO timing out and that doesn't help. We are basically offering two options and GCO still can't handle that.

This thing has a lot of potential but to many issues...

Tax calculation is not working...
International shipping doesn't alway work
It offers free shipping when it shouldn't
It doesn't obey coupon restriction when it should
It restricts shipping option that can be offer due to timeout issues
It doesn't fully support zone restrictions
It doesn't fully support virtual products

Need I list more?

bless, u dont understand, i just add fedex to the demo, u could add any shipper to the module, jsut needed to be correctly configured.

fedex works theere because i whitelisted their ip in the firewall and configured correctly in the modules

regarding this

Tax calculation is not working... (please, send me more info)
International shipping doesn't alway work (it works, maybe time out issue)
It offers free shipping when it shouldn't (i'll have a look to it, please send me a scenario)
It doesn't obey coupon restriction when it should (i added many restrictions in las version, please address me witch are missing)
It restricts shipping option that can be offer due to timeout issues (not a module issue :S)
It doesn't fully support zone restrictions (more info please)
It doesn't fully support virtual products (GC doesnt support it, not the module)

ur feedback is very appreciated

im working to solve all this issues

thx in advance

ropu

24 Apr 2007, 6:11 PM
#1288
zgraphic avatar

zgraphic

New Zenner

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

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

Can someone please Help!

I think I am screwed!

I configure my zen-cart exactly as **http://demo.globant.com/~brovagnati/zen_demo1/admin**

after adding the item to the cart and select google checkout page cannot be found.

I configured

**.htaccess Basic Authentication Mode
**False

**Select Mode of Operation
**https://sandbox.google.com/checkout/

**Rounding Policy Mode
**HALF_EVEN

Rounding Policy Rule
PER_LINE

Google Analytics Id
NONE

Continue shopping URL.
shopping_cart

If I login to my site, on the payment option, the radio GoogleCheckout appear.

I am compeletly lost. Do I need to re-install zen-cart?

24 Apr 2007, 6:28 PM
#1289
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)

Thanks ropu-

OK, that is the class file. So what is the related code for:

  1. the includes file;
  2. the snippet in tpl_product_info_display.php.

The code I previously posted for those two items don;t work with your new class file.

Once we get this figured out then can include in your mod package.

Thanks,
Woody

ropu:

woody try this

<?php class download_type { function download_type() { } function get_download_type($products_id) { global $db; $download_check = $db->Execute("select products_virtual from " . TABLE_PRODUCTS . " where products_id = '" . zen_get_prid($products_id) . "'"); if ($download_check->fields['products_virtual'] == '1') { return 'virtual'; } else { return 'physical'; } } } $type = download_type::get_download_type($_GET['products_id']); ?>
24 Apr 2007, 7:00 PM
#1290
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:

regarding this

  • Tax calculation is not working... (please, send me more info)
  • International shipping doesn't alway work (it works, maybe time out issue)
  • It offers free shipping when it shouldn't (i'll have a look to it, please send me a scenario)
  • It doesn't obey coupon restriction when it should (i added many restrictions in las version, please address me witch are missing)
  • It restricts shipping option that can be offer due to timeout issues (not a module issue :S)
  • It doesn't fully support zone restrictions (more info please)
  • It doesn't fully support virtual products (GC doesnt support it, not the module)

ur feedback is very appreciated
im working to solve all this issues
ropu-

Thanks for the updates.

  1. Regarding your response to this statement:

It doesn't fully support virtual products (GC doesnt support it, not the module)
A "Google Checkout Pro" stated, on the Google Checkout Merchant and Developers discussion forums, that Google Checkout itself has no issue with instant downloads. The mod for the ecommerce application (e.g. Zen Cart) has to be programmed by the "integrator" to support instant downloads. So I'm confused by the mixed messages I read on this topic.

  1. Also specific examples of the other items in Isaac's list were previously (recently) posted to this list. Please explain what more details you need?

For instance:

It offers free shipping when it shouldn't (i'll have a look to it, please send me a scenario)

I previously provided the code in the two shipping arrays regarding the "freeshipper" issue I am still observing and I explained the the problem in detail. What more info do you need?

  1. A number of people have commented that international shipping is not working (I have not personally tested because I cannot yet get past the freeshipper issue).

  2. Regards to:

It doesn't obey coupon restriction when it should (i added many restrictions in las version, please address me witch are missing)

Isaac reported a significant coupon code issue only a day or so. Did you not review his post?

  1. Please respond directly to the posts made by people helping "beta test" this mod. Each one may have a slightly different configuration/installation than you are expecting.

Until these "individual" issues are ironed out for the majority of testers, please avoid announcing that it is "not an issue" or "it is working" (even if the mod is working for you and a few others).

Thanks,
Woody

24 Apr 2007, 7:21 PM
#1291
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)

zgraphic:

Can someone please Help! I configure my zen-cart exactly as http://demo.globant.com/~brovagnati/zen_demo1/admin
First you do not want to configure exactly like the demo. That is just an example.

Are you certain you have setup with Google a "Sandbox Sellers" account? (completely different accounts from your Live (production) Sellers account).

And are you certain the Merchant ID and Key numbers you entered are for your Sandbox Sellers account?

zgraphic:

after adding the item to the cart and select google checkout page cannot be found.
Please quote the specific error you are observing, commenting out any specific references to your account name and admin directory and Google Merchant ID/key. If not sure PM the error to me.

zgraphic:

If I login to my site, on the payment option, the radio GoogleCheckout appear.
I provided very specific details how to fix this issue. But you have yet to report back on if you followed those recommendations.

To be honest here, and with all respect, if you cannot follow directions and solve this very simple issue, then there is not much hope in solving any other google checkout mod config issues which you are likely to encounter.

zgraphic:

I am compeletly lost. Do I need to re-install zen-cart?
Probably not. if you cannot do this then you need to give some one you trust FTP access to upload a correct file and Zen Cart admin access to check module settings.

Woody

24 Apr 2007, 9:35 PM
#1292
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, et al-

The Zen Cart team just posted a fix for XSS vulnerabilities in Zen Cart 1.37. One of the files updated is /admin/orders.php. That file is distributed in the Google Checkout mod, so please remember to include the fix in the next mod release.

For info on the patch and some background:
http://www.zen-cart.com/forum/showthread.php?t=64115
Backgound: http://www.zen-cart.com/forum/showthread.php?t=63677

Woody

24 Apr 2007, 10:03 PM
#1293
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:

hi
ive just added FexEd Express and FedEx ground to the demo site

http://demo.globant.com/~brovagnati/zen_demo1
http://demo.globant.com/~brovagnati/zen_demo1/admin

they are installed but disabled, to test them enable any of them. With both installed u may have a big chance of timeout, with just one, it goes mostly fine.

remember to have a look to the http://demo.globant.com/~brovagnati/zen_demo1/tail/tail.php?file=2 (o the link in the Zencart page header **Notif Log Viewer) **to see the message between GC and Zencart with the times it take each one.

FedEx express offers int'l shipping

hope this helps u understand better the module and how it works.

In the demo is also added a new page for the continue shipping url, here is a sample

http://demo.globant.com/~brovagnati/zen_demo1/index.php?main_page=GC_return&products_ids=26,27
this will be in next package, ill post a patch for those who want it for this version

ropu

Ropu, would like to try it, but there seems to be something wrong with the demo at this time, the GC button appears grayed out no matter what I add to the cart.

Have you installed USPS and checked if international calculated shipping works?
USPS is the international prefered shipping method by most, it is much more cost effective and with less hassles.

24 Apr 2007, 10:30 PM
#1294
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:

...
International shipping doesn't alway work (it works, maybe time out issue)...

ur feedback is very appreciated

im working to solve all this issues

thx in advance

ropu

International fixed rates work (flat rate, per item, etc).

International calculated rates do not work (USPS, UPS, etc). Ironically the only times it works is when there's a time-out, in which case it displays the defaults set in GC settings, not calculated.

24 Apr 2007, 11:44 PM
#1295
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)

Also, as Woodymon has pointed out before, supposedely there's a limit of 255 characters that can be sent in a message, otherwise we'll receive the error
Messages cannot be longer than 255 characters.

I really wish GC would at least allow this 255 character limit. I'm not sure what the actual limit is, but I've tried sending many messages less than 200 characters and still get that error. I'm not sure if this has to do with the module or the GC system itself.

Ropu, if this issue is with the GC system itself, please let them know that it is not even allowing the 255 characters it says it's allowed.

25 Apr 2007, 12:41 AM
#1296
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:

In the demo is also added a new page for the continue shipping url, here is a sample

http://demo.globant.com/~brovagnati/zen_demo1/index.php?main_page=GC_return&products_ids=26,27
this will be in next package, ill post a patch for those who want it for this version
Ropu-

Thanks for doing that!
I like you have the items purchased listed.

Is it possible to add some basic order details on that page. Something similar to as displays on standard Zen Cart "Checkout_success" page (/index.php?main_page=checkout_success).

For example:

  • Zen Cart order number (this will be the only point in the process where customer will have opportunity to observe/record the actual Zen Cart order number)
  • Google Checkout Order No
  • Subtotal
  • Total $ Shipping
  • Total $ Taxes
  • Total $ Gift certificate and Coupon applied
  • Total $ Discounts applied
  • Total $ Amount
  • Date/Time
  • Shipping Method (& Tracking number if applicable)
  • Link back to Buyers Google Checkout account (if they decide to print a receipt).
  • Product notification check box (opt-in).
    "Please notify me of updates to these products" with update button.

Also need ability for shopowner to add their own 'define" text.
For example:

Thank You! We Appreciate your Business!
Your Order Number is: 12345

We will be processing your order shortly.
If you have any questions please Contact Us.

Here is some additional info: blah,blah, blah

Thanks,
Woody

25 Apr 2007, 5:33 AM
#1297
zgraphic avatar

zgraphic

New Zenner

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

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

Thanks! Woody, Sorry for the late reply! I really dont know what went wrong. I download the latest version "google-checkout-zencart-v1.3RC2" upload the files.

Problems are

  1. when I use sandbox.google to check out, the link don't work(page can not be found), Maybe I set it up wrong on google part.

If I use checkout.google.com, it worked. I can see the order from my google account.

  1. But shipping still showing $0.00 on all shipping options on google check out. Where do I set up shipping charge? I use UPS and USPS. I want to limited to only few options for shipping, just ground and priority mail.

  2. Google check out option showing even after customer login to my web site. On the payment page, the radio "google check out" appear. If select it, it doesn't go to "google check out" page. It go to "Thank you you purchase" page. The order showing in the admin area, but nothing on google account.

If you can help me, I can email you the login for the FTP. Thanks!

25 Apr 2007, 12:50 PM
#1298
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)

zgraphic:

I really dont know what went wrong. I download the latest version "google-checkout-zencart-v1.3RC2" upload the files.

Problems are

  1. when I use sandbox.google to check out, the link don't work(page can not be found), Maybe I set it up wrong on google part.

Very likely. In the module config try setting to http (not https) for sandbox testing. Be sure the 'sandbox' merchant key/id are properly entered (no spaces at the end of either).

In Google 'sandbox' Seller account (on Google server) be sure to set proper responsehandler URL and callback method.

zgraphic:

If I use checkout.google.com, it worked. I can see the order from my google account.
That is good news. Pretty much verifies you have made a simple mistake in setting up the sandbox config.
zgraphic:

  1. But shipping still showing $0.00 on all shipping options on google check out. Where do I set up shipping charge? I use UPS and USPS. I want to limited to only few options for shipping, just ground and priority mail.
    Many of us are observing this issue. Note I have posted this problem several times during the last week, and as of yet no reply from ropu. I assume it is in his "queue". Should be a top priority.

zgraphic:

  1. Google check out option showing even after customer login to my web site. On the payment page, the radio "google check out" appear. If select it, it doesn't go to "google check out" page. It go to "Thank you you purchase" page. The order showing in the admin area, but nothing on google account.
    Again I ask: Did you re-upload the CORE (un-edited) Zen Cart 1.37 file "tpl_checkout_payment_default.php" to your templates directory. Do not upload from a previous Google Checkout mod. You need to do this. Please review my previous instructions on this.

OK, since for whatever reason you are failing to re-upload a copy of 1.37 core template file "tpl_checkout_payment_default.php", here is what you likely need to edit in that file (depends on the previous mod version you had installed).

CHANGE:

<?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'].'"'); ?>

TO:

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

But best to not edit the file. Instead as I've suggested you should upload the new 1.37 version (as ropu previously distributed an OLD version of that file with his mod and which does not include new 1.37 code).

Good luck,
Woody

25 Apr 2007, 3:40 PM
#1299
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)

zgraphic:

Can someone please Help!

I think I am screwed!

I configure my zen-cart exactly as **http://demo.globant.com/~brovagnati/zen_demo1/admin**

after adding the item to the cart and select google checkout page cannot be found.

I configured

**.htaccess Basic Authentication Mode
**False

**Select Mode of Operation
**https://sandbox.google.com/checkout/

**Rounding Policy Mode
**HALF_EVEN

Rounding Policy Rule
PER_LINE

Google Analytics Id
NONE

Continue shopping URL.
shopping_cart

If I login to my site, on the payment option, the radio GoogleCheckout appear.

I am compeletly lost. Do I need to re-install zen-cart?

Hi, no u dont have to reinstall Zencart

the issue is that u haven put the templates in the correct folder

have a look to the INSTALLATION file http://google-checkout-zencart.googlecode.com/svn/trunk/INSTALLATION

  1. YOUR_ZENCART_FOLDER/includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
  2. YOUR_ZENCART_FOLDER/includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php
  • Note: The folder YOUR_TEMPLATE refers to the folder that contains your templates.
    The folder YOUR_TEMPLATE in the package refers to the folder that contains
    your templates, you must put the files in /includes/templates/YOUR_TEMPLATE/
    in your own templates dir there you should see the GC buy button.

hope this helps

ropu

25 Apr 2007, 4:19 PM
#1300
zgraphic avatar

zgraphic

New Zenner

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

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

Thanks Woody! I am really a Newbie on this. I did download "google-checkout-zencart-v1.3RC2"
Where is "tpl_checkout_payment_default.php" located?
And where should I upload it to?

How do I remove google check out icon after customer login to my site?

and remove the radio GCO payment option after login to my site.

To tell you the ture, I feel so stupid, everyone set it up correctly, exact me!

:frusty: