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

Results 1,441 to 1,460 of 3,921
This thread is locked. New replies are disabled.
7 May 2007, 12:56 AM
#1441
woodymon avatar

woodymon

Totally Zenned

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

Google Checkout module for ZC 1.3.x (beta)

helpme:

Okay, I have tried everything I know to do. I installed google checkout...fixed everything I needed to fix in the files and I have an error I don't know what to do with. Any help is much appreciated!

Fatal error: Cannot redeclare compare() (previously declared in D:\hosting\member\tsjohnsonllc\site1\admin\includes\functions\extra_functions\added_function_for_google_checkout.php:188) in D:\hosting\member\tsjohnsonllc\site1\admin\googlecheckout\gcheckout.php on line 295

this error is in admin/modules/payments/google

THANKS!!

It appears that you may have uploaded /googlecheckout directory to the zen cart admin directory. /googlecheckout should be it's own subdirectory in your shop root.

And you may have also incorrectly uploaded other mod files to your admin directory.

I previously posted in this thread a graphical diagram of the mod directory structure.

Woody

7 May 2007, 2:35 AM
#1442
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)

Oops. Reposted.

Woody

7 May 2007, 3:15 AM
#1443
helpme avatar

helpme

Totally Zenned

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

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

Woodymon:

It appears that you may have uploaded /googlecheckout directory to the zen cart admin directory. /googlecheckout should be it's own subdirectory in your shop root.

And you may have also incorrectly uploaded other mod files to your admin directory.

I previously posted in this thread a graphical diagram of the mod directory structure.

Woody
I apoligize, I have looked been searching this thread for hours now, I uploaded to admin/googlecheckout is this not in my shop root? I am very new to this stuff (2 weeks!!) so I am still learning terms. If admin/googlecheckout is correct, what else could I have done wrong? I looked through all my files and followed the instructions to a T (I thought!) I have the latest verision of googlecheckout and the latest verision of zen-cart.

7 May 2007, 5:48 AM
#1444
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)

helpme, you uploaded to the wrong directory. Delete all the files you uploaded and upload to your shop's root directory. 'admin' is not the root directory, the folder containing 'admin' is your shop's root directory.

zencart/ <--shop's root directory
zencart/admin <--subdirectory

7 May 2007, 8:27 AM
#1445
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)

helpme:

I apoligize, I have looked been searching this thread for hours now, I uploaded to admin/googlecheckout is this not in my shop root? I am very new to this stuff (2 weeks!!) so I am still learning terms. If admin/googlecheckout is correct, what else could I have done wrong? I looked through all my files and followed the instructions to a T (I thought!) I have the latest verision of googlecheckout and the latest verision of zen-cart.

First you have installed Zen Cart on a server running Windows which might be problematic in itself. And your hosting environment utilizes non-standard naming conventions to directory names.

At any rate, read the full directory path in your error message.
\hosting\member\tsjohnsonllc\site1\admin\googlecheckout\

It is difficult for us to determine the directory structure which you installed Zen Cart into without a URL, but from what I can determine from your error message...

The path to your webroot is: \hosting\member\tsjohnsonllc\site1
(think of "site1" as equivalent to /public_html directory which is the common name for the "webroot").

And it appears you installed your shop directly into your webroot, so your shoproot is the same as your webroot.

(Generally it is better to install your shop in a subdirectory off your webroot, otherwise setup is more complex).

This is generally how the Zen Cart directory structure is set up:

webroot ( /public_html)
  |
  |- shoproot (/your_shop)
         |
         |- /googlecheckout
         |- /admin
         |- /includes
         |

But in your case, since you installed the shop directory in your webroot:

webroot ( \site1)
      |
      |- \googlecheckout
      |- \admin
      |- \includes
      |

NOTE: If you have not done much work yet I would create a directory in /site1, and then load Zen Cart to that directory and do a fresh install (or you could easily move the zen cart install to the new subdirectory...if you knew what directories to move... if you do this you would need to edit both your configure files.)

Then upload template files to your custom template override directory, but NOT to your /templates_default directory.

If you're still not certain what any of this means, then you will need to learn about template overrides. Consult the FAQ (and the wiki) if more info on overrides or other general Zen Cart topics are needed. And please post your general questions to the "General Questions" or "New Installation" forums. Then when ready come back and post your Google Checkout mod for Zen Cart questions here.

Good luck,
Woody

8 May 2007, 4:08 PM
#1446
addvant avatar

addvant

New Zenner

Join Date:
Aug 2005
Location:
NJ, USA
Posts:
35
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?

After spending few hours on the forum I kindly ask for assistance - We having same problem - GC go well there is 2 main issues:

  1. Zen back-office is not updated
  2. Shipping get only the fixed rates (for caces do not have connection with service)

Install on 1.3.7 Apach server with PHP, Server API:CGI/FastCGI GC Ver.v1.3RC2 with SSL that was tested. Using sandbox account
*** We have Prefix for the tables GC did not add the table with the prefix *** .
The responsehandler.php looks ok and we see the data in the response_message.log.
We did set the URL call back but it does not direct automatically and it go to the main page.
We have UPS shipping module is installed.
When trying to run the includes/modules/payment/googlecheckout.php we get the following:
Fatal error: Class googlecheckout: Cannot inherit from undefined class base in /home/content/a/r/e/aregev/html/Zen-Demo_3_7/includes/modules/payment/googlecheckout.php on line 26.

Please advise how can we get from this situation.
Appreciate Zen Help!!!
May I suggest that each forum will be divided in a way that each specific Thread will be separated by some divider or other method.

AddVant

8 May 2007, 8:56 PM
#1447
robamacaf avatar

robamacaf

New Zenner

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

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

I installed teh google checkout module and added it as the only way to checkout and it works great.....but.....The info doesn't ever seem to get to google checkout. I keep checking my google checkout and it never shows any orders although I placed 3 orders. Maybe I am doing it wrong because when I placed the test orders it never asked me for credit card info or even google sign in info....how does it know where to charge the money?

MI-Designs.net/zen/ is the address if anyone wants to try it.

Rob

8 May 2007, 9:45 PM
#1448
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)

RobAMacAF:

I installed teh google checkout module and added it as the only way to checkout and it works great.....but.....The info doesn't ever seem to get to google checkout. I keep checking my google checkout and it never shows any orders although I placed 3 orders. Maybe I am doing it wrong because when I placed the test orders it never asked me for credit card info or even google sign in info....how does it know where to charge the money?

MI-Designs.net/zen/ is the address if anyone wants to try it.

Rob

If you have a Google Checkout with radio button on your checkout page, you are using wrong checkout_payment template. You need to fix this. Your google checkout button works just fine put your checkout page is where your problem is. Unless you want your customers to get products for free you need to fix that template. Simply deleting the one in your custom folder should fix this problem. If you all do some reading backwards you will see that this issues you're raising has been over-discussed.

8 May 2007, 9:53 PM
#1449
robamacaf avatar

robamacaf

New Zenner

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

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

I got things working now. The Checkout with google works....Now here is a question. If you look at my site mi-designs.net/zen/ and add something to a cart you'll see some buttons...

  • Continue Shopping - - Update Cart - -Check Out -
  • Estimate Shipping -

or use
Google Checkout

I want to make it that -Check Out- button and Google Checkout button point to the same place, the google checkout button location.....or even better, how do I get rid of the first Check Out button?

8 May 2007, 11:13 PM
#1450
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)

RobAMacAF:

I got things working now. The Checkout with google works....Now here is a question. If you look at my site mi-designs.net/zen/ and add something to a cart you'll see some buttons...

  • Continue Shopping - - Update Cart - -Check Out -
  • Estimate Shipping -

or use
Google Checkout

I want to make it that -Check Out- button and Google Checkout button point to the same place, the google checkout button location.....or even better, how do I get rid of the first Check Out button?

Basically, you ONLY want to offer Google Checkout as the only payment option even though Google Checkout have more than a dozen bugs?

8 May 2007, 11:43 PM
#1451
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)

RobAMacAF:

If you look at my site mi-designs.net/zen/ and add something to a cart you'll see some buttons...

  • Continue Shopping - - Update Cart - -Check Out -
  • Estimate Shipping -

or use
Google Checkout

I want to make it that -Check Out- button and Google Checkout button point to the same place, the google checkout button location.....or even better, how do I get rid of the first Check Out button?

That would require custom coding.

As Isaac suggested the GC mod is still beta (and the GC API/service is undergoing constant changes).

I recommend not putting all your eggs in one basket.

Woody

9 May 2007, 12:16 AM
#1452
fireflyz avatar

fireflyz

New Zenner

Join Date:
May 2007
Location:
Los Angeles
Posts:
89
Plugin Contributions:
0

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

Hi everyone! Please someone, help this newbie out! I've been stuck on this for a day!
I've installed the Google Checkout and is working fine except for the State Tax. Google shows the tax as $0 for CA which I have set to 8.25% in Admin/Tax Rate. Where can I go to change this? file/location?
Thanks in advance!

9 May 2007, 1:08 AM
#1453
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)

Fireflyz:

Hi everyone! Please someone, help this newbie out! I've been stuck on this for a day!
I've installed the Google Checkout and is working fine except for the State Tax. Google shows the tax as $0 for CA which I have set to 8.25% in Admin/Tax Rate. Where can I go to change this? file/location?
Thanks in advance!

Do you only have one tax zone or more than one?

9 May 2007, 3:30 AM
#1454
fireflyz avatar

fireflyz

New Zenner

Join Date:
May 2007
Location:
Los Angeles
Posts:
89
Plugin Contributions:
0

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

BlessIsaacola:

Do you only have one tax zone or more than one?
Only one zone.
thanks!

9 May 2007, 4:32 AM
#1455
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)

Fireflyz:

Only one zone.
thanks!

Make sure that all your shipping option also have the tax zone enabled. If this is set correctly, you should notice that all your shipping options that you have configured have a green circle. If any is yellow/gold you want to take a look at those.

If you only have one tax zone it should work if configured right.

9 May 2007, 4:42 AM
#1456
fireflyz avatar

fireflyz

New Zenner

Join Date:
May 2007
Location:
Los Angeles
Posts:
89
Plugin Contributions:
0

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

BlessIsaacola:

Make sure that all your shipping option also have the tax zone enabled. If this is set correctly, you should notice that all your shipping options that you have configured have a green circle. If any is yellow/gold you want to take a look at those.

If you only have one tax zone it should work if configured right.

ahh! What a relief! It's working like it should! Thank you! You are a true Zen Master!:clap:

9 May 2007, 7:50 PM
#1457
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

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

I turned off my tables because of a possible bug where the tables weren't being sent to GC.

I turned on UPS shipping mod in ZC Admin and configured it properly, but the GC mod states that UPS is not configured.

Any ideas?

9 May 2007, 8:36 PM
#1458
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)

birdoasis:

I turned off my tables because of a possible bug where the tables weren't being sent to GC.

I turned on UPS shipping mod in ZC Admin and configured it properly, but the GC mod states that UPS is not configured.

Any ideas?

Because the GC payment mod has to be configured for your UPS config (two arrays in the payment module), Please see my email.

Woody

9 May 2007, 9:11 PM
#1459
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)

I am still awaiting feedback from ropu/Google regards to weight basis table ship config issues. I have submitted several support tickets on this and have been promised a code fix, but have yet to receive anything.

If anyone here has an example table rate config for GC (two arrays in the payment module) which supports more than five weight classes please PM me a copy of the arrays so I can test. I have the mod working for three wight classes but not more. And I do not want to twek the code away from the non-standard approach so the shopowner can easily configure in the future.

Doug, if you see this post can you please PM me?

But it would be preferable if ropu/google could respond to me on this on going open issue. The lack of support from Google is deafening.

Thanks,
Woody

9 May 2007, 9:12 PM
#1460
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

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

Ahh,

I'll have to wait for my GC guru then.