Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

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

Results 21 to 40 of 3,921
This thread is locked. New replies are disabled.
28 Sep 2006, 6:50 AM
#21
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Google Checkout module for ZC 1.3.x (beta)

Thanks to you all for your modifications - I trust you implicitly. (Google I'm not so sure)

Novice question for you: I'm running Zen 1.3.0.1 and am wondering if your modified version for 1.3.5 would work as well on my current version.
I realize that I need to upgrade but it will be the first time for me and it is, to say the least, a daunting task. I'm avoiding it like the plague. (But would still like to implement this mod asap)

Thanks again - Tim

28 Sep 2006, 8:15 AM
#22
drbyte avatar

drbyte

Sensei

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

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

Should be fine on 1.3.0.1 and 1.3.0.2, if you consider the following:

-/admin/orders.php ... in 1.3.5 there were some corrections made to some of the legend icons on the page. Those may or may not show up properly using the GC version of the file.

  • the 3 template-file changes enclosed will need to be manually merged into your existing template files, or simply added to your custom template if you haven't made customizations to them already.

.
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.

28 Sep 2006, 10:10 AM
#23
willalbro avatar

willalbro

New Zenner

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

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

DrByte:

Will,

Thanks for your efforts. They are appreciated.

I took it one step further for you ...

I did the same thing last night, and when I studied the code changes while converting to 1.3.5, I came up with a number of changes to the code in order to make it more Zen-friendly and easier to plug in, etc. Some of the issues encountered are listed earlier in this thread in the form of questions.

Like you, I've packaged it as a set of files which can be uploaded by FTP. The readme explains which files should be modified to suit your own custom template, etc.

Extraneous unused code is also removed from the updated module.

The update is now available as an update to the original contribution:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=314

Awesome!! Thanks for taking it further. I applied your updates this morning!

28 Sep 2006, 3:12 PM
#24
globalvillage avatar

globalvillage

New Zenner

Join Date:
Aug 2006
Posts:
20
Plugin Contributions:
0

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

I got everything working except for the display on "Step 2 of 3 - Payment Information" /index.php?main_page=checkout_payment page.

When I enable Google Checkout I get only one selection and GC is not visible.

If I go to "Shopping Cart" /index.php?main_page=shopping_cart The Google Checkout button appears.

I am getting GC to function but it is only visible from the shopping cart.

Thanks all

GlobalVillage

28 Sep 2006, 8:40 PM
#25
blainehilton avatar

blainehilton

New Zenner

Join Date:
Sep 2004
Posts:
16
Plugin Contributions:
0

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

I had just started coding something like this last week and find this is great that Google did this.

I'm wondering though if there is a reason why Google Checkout doesn't appear in the main checkout process along with the other payment modules. Instead it is a separate button that goes to the Google Checkout page.

Also why is it that no other shipping types currently supported?

If I am missing something please let me know.

28 Sep 2006, 9:21 PM
#26
drbyte avatar

drbyte

Sensei

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

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

I think there may be a bit of confusion, as GC is not merely a "payment method" (in the traditional sense of payment methods use in Zen Cart or other systems) ....
Google Checkout is in fact an alternate checkout method, not another payment method.

(according to Google's words, anyway)

.
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.

28 Sep 2006, 9:41 PM
#27
globalvillage avatar

globalvillage

New Zenner

Join Date:
Aug 2006
Posts:
20
Plugin Contributions:
0

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

Doc,

Is that why it does not show in "Step 2 of 3 - Payment Information" in the checkout?

DrByte:

I think there may be a bit of confusion, as GC is not merely a "payment method" (in the traditional sense of payment methods use in Zen Cart or other systems) ....
Google Checkout is in fact an alternate checkout method, not another payment method.

(according to Google's words, anyway)

28 Sep 2006, 10:32 PM
#28
chinchilla2 avatar

chinchilla2

Banned

Join Date:
Dec 2005
Posts:
21
Plugin Contributions:
0

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

Okay, got it going on 1.3.0.2 (yes, i know, update!!! i'm working on it, the cart is heavily mod'ed).

Am I supposed to see any purchases on the main admin panel page? (admin home) or is there any place in the zen cart admin side where I see any google checkout orders? Just checking. Cause if there is, then it's not working afterall. Being an "alternative checkout" I wasnt sure.

Thanks in advance for the info

29 Sep 2006, 6:36 AM
#29
jvss avatar

jvss

New Zenner

Join Date:
Sep 2006
Posts:
12
Plugin Contributions:
0

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

I need some help... I want to use Google checkout, yet I am using version 1.3.2
I cant upgrade becuase my site is already fully moded and it would take years to put them back together...

Anyway my question is how do you add the google checkout to 1.3.2 also I am a novice user and I dont know how to put that .patch file into my zencart... I tried adding it to "Install SQL Patches" but I keep getting an error or something...

Is there a zip file with simple instructions to add this Google checkout feature???
Please note that my site is fully moded... Please help....

Keep up the good work...

J.

29 Sep 2006, 6:49 AM
#30
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)

Did anyone get the attribute name to display in the GC shopping cart?
Currently the attribute name shows as ' - '.
I tried playing with the code but wasn't able to fix it.
I think the problem lies at
gcheckout.php Line 128:```
while (list($option, $value) = each($products[$i]['attributes'])) {
$products_name .= "\n" .'- ' .
$products[$i][$option]['products_options_name'] . ' ' .
$products[$i][$option]['products_options_values_name'] . '';
}

It's going through the while loop but the values seem to be NULL.
I'm running it on ZC 1.3.5.

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

29 Sep 2006, 1:35 PM
#31
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

JVSS which modules have you added,
if they were done ring upgrade shouldnt be that hard

Zen cart PCI compliant Hosting

29 Sep 2006, 9:52 PM
#32
rmogstad avatar

rmogstad

New Zenner

Join Date:
Sep 2005
Posts:
4
Plugin Contributions:
0

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

Dr. Byte,

In your instructions, you have us rename the admin folder if we changed its name. In the /googlecheckout/gcheckout.php file, the first line is

require_once('admin/includes/configure.php');

If you don't change that to the new foldername as well, it simply leaves the rest of your page blank.

Is there a better way then hard coding that?

Thanks,

Rick

P.S. Is there any way to use this to integrate with Zen without an SSL cert? Seems google wants an HTTPS link to send data back.

4 Oct 2006, 12:25 AM
#33
brownsgreens avatar

brownsgreens

New Zenner

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

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

I installed the google checkout, and it seemed to work fine, however the google checkout button doesn't actually show up on the page.

Do I have to put the button on manually using the code given to me by google?

Thanks.

4 Oct 2006, 12:27 AM
#34
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

did you use the google checkout that Dr Byte provided?

Zen cart PCI compliant Hosting

4 Oct 2006, 12:30 AM
#35
brownsgreens avatar

brownsgreens

New Zenner

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

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

Yes, the most recent one. I also just recently installed zen, so I have the newest version and it is unmodded if that helps at all.

4 Oct 2006, 1:09 PM
#36
globalvillage avatar

globalvillage

New Zenner

Join Date:
Aug 2006
Posts:
20
Plugin Contributions:
0

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

I am seeing this error in the Integration Issue Detail:

 XML failed to validate against the schema at line: 48, column: 48, with error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'shipping-taxed'. One of '{"http://checkout.google.com/schema/2":rate, "http://checkout.google.com/schema/2":tax-area}' is expected.

Has anyone using GC had a sale complete yet?

4 Oct 2006, 2:18 PM
#37
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

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

I had several test orders complete,
all was good

Zen cart PCI compliant Hosting

4 Oct 2006, 5:36 PM
#38
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

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

Two things....

  1. If anyone finds any problems between this and Super Orders, let me know.
  2. I think it's pretty damn cool that Zen-Cart is big enough to get the attention of the Google people, in any explicit fashion. Big thumbs up ya'll! :thumbsup:

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com

4 Oct 2006, 7:27 PM
#39
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

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

How would you recommend integrating this with superorders? The mod calls for two edits to the file in admin/orders.php. If you use super orders, the file used it admin/super_orders.php?

BlindSide:

Two things....

  1. If anyone finds any problems between this and Super Orders, let me know.
  1. I think it's pretty damn cool that Zen-Cart is big enough to get the attention of the Google people, in any explicit fashion. Big thumbs up ya'll! :thumbsup:
4 Oct 2006, 10:35 PM
#40
njpins avatar

njpins

New Zenner

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

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

i recently installed zencart 1.35 and the patch.. then the dr byte revision of thegoogle checkout payment module.. when i make a test order google checkout shows up as a payment option, i select it, then the order just finishes without any errors. it mails a confirmation to the user and adds it to my orders page in admin. however it doesnt do anything with google. it doesnt ask the customer for their credentials and nothing shows up in my googlecheckout account.