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

Results 2,681 to 2,700 of 3,921
This thread is locked. New replies are disabled.
2 Sep 2008, 2:53 PM
#2681
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Location:
Tempe, AZ
Posts:
316
Plugin Contributions:
0

Google Checkout module for ZC 1.3.x (beta)

lextechs:

both for sand box and live?

Here are my GC settings see if yours are the same?

Google Checkout Module Version
v1.4.7

Enable GoogleCheckout Module
True

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

Production Merchant ID
"your id for live"

Production Merchant Key
"your key for live"

Sandbox Merchant ID
"your id for sand box"

Sandbox Merchant Key
"your key for sand box"

.htaccess Basic Authentication Mode
True

Select Merchant Calculation Mode of Operation
https

You need to retest with a new order old orders will not come through after you fix the problem so that order that is five hours old will never show up in zen admin it's pretty much lost in the black whole of cyber space, but you can still process it in your google admin

This is weird, i had this working in sandbox and live where the orders show up in zencart admin, however i just had two GC orders and they didn't show up in zencart admin. none of my settings have changed since fixing this problem. question in Google does the call back have to be set to xml or html? I just wondering why when i tested in both sandbox and live it worked but when a real order came through it didn't work?

3 Sep 2008, 6:59 AM
#2682
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

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

alan_powerbrixx, nice call!

Going a step further, it would seem that an even better way to fix this problem would be to modify the code in GoogleCheckout and change it to require_once instead of require. This would fix the problem and not require any core file edits. However, when I look at gcheckout.php, it appears to already be a require_once function. responsehandler has require, but I don't see why responsehandler would be called on the shopping cart page, so this shouldn't be an issue. Strange...

3 Sep 2008, 11:38 AM
#2683
alan_powerbrixx avatar

alan_powerbrixx

New Zenner

Join Date:
Jul 2007
Location:
Durham, NC
Posts:
56
Plugin Contributions:
0

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

It looks to be a matter of the require_once coming before the require, so both are executed. If you look up require_once in the php on-line manual, and read the thread of replies posted to that page, there is a post clarifying the sequence: require followed by require_once will include the file the first time only, but require_once followed by require will include the file both times. That's why the require in the shipping estimator would need to be fixed in some way, instead of the one in the googlecheckout mod.

3 Sep 2008, 1:34 PM
#2684
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)

alan_powerbrixx:

It looks to be a matter of the require_once coming before the require, so both are executed. If you look up require_once in the php on-line manual, and read the thread of replies posted to that page, there is a post clarifying the sequence: require followed by require_once will include the file the first time only, but require_once followed by require will include the file both times. That's why the require in the shipping estimator would need to be fixed in some way, instead of the one in the googlecheckout mod.

The solution to the inline shipping estimator is located here:

http://www.zen-cart.com/forum/showpost.php?p=564616&postcount=29

3 Sep 2008, 7:51 PM
#2685
alan_powerbrixx avatar

alan_powerbrixx

New Zenner

Join Date:
Jul 2007
Location:
Durham, NC
Posts:
56
Plugin Contributions:
0

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

I finally solved the memory limit problem I had during installation of the module. (See earlier post http://www.zen-cart.com/forum/showpost.php?p=600063&postcount=2651) It literally was a memory limit error in the table_block.php (specifically during the table_block() function within that file).

We are running PHP 5.2.6, but the memory limit has been set to 8Mb (apparently by my host support). I don't have access to change the setting at that level. But I was able to override the limit using the ini_set() function in php, which I placed at the beginning of the table_block() fuction in the admin/includes/classes/table_block.php file:

ini_set('memory_limit', '16M');

I thought I'd pass this along in case someone else could use the ini_set() function to override the memory_limit during the execution of a php script, or any of a long list of php.ini directives listed in the php on-line manual. The scope of the function is limited to the execution of the one script. Afterwards, the setting reverts to whatever it was before, if I understand correctly.

So now I can finish testing and (hopefully) upgrade to 1.3.8a. Finally, after months of waiting for a solution that I thought was a version-related conflict between 1.3.8a and googlecheckout mod.
:blush:

4 Sep 2008, 1:37 AM
#2686
meknownowt avatar

meknownowt

New Zenner

Join Date:
Dec 2007
Posts:
78
Plugin Contributions:
0

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

sean046:

I'd like to know if this is possible too - it will just NOT accept my postage module.

My solution at the moment is to dump it, and just go with the Nochex merchant account.

Add this as a send out payment request option for those that wish to pay through google checkout.

There are a lot of questions about this in this thread, as the search brings them up, but keeps going to page one rather than the post, but there do not seem to be any answers showing up in the search.

Shame it looked OK.

9 Sep 2008, 6:47 AM
#2687
cellz4less avatar

cellz4less

New Zenner

Join Date:
Mar 2008
Posts:
16
Plugin Contributions:
0

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

I HAVE INSTALLED GOOGLE CHECKOUT (1.4.7 AND ZEN VERSION 1.38A)

I COPIED ALL THE FILES OVER - BUT GET THE FOLLOWING ERROR UNDER MODULES / PAYMENTS IN THE ADMIN PANEL:

Fatal error: Cannot redeclare class googlecheckout in /home/mycellzf/public_html/includes/modules/payment/googlecheckout.php on line 308

CAN SOMEONE PLEASE HELP?

WEBSITE LINK: HTTP://WWW.MYCELLZ4LESS.COM

11 Sep 2008, 3:49 PM
#2688
cadi1999 avatar

cadi1999

New Zenner

Join Date:
May 2008
Posts:
16
Plugin Contributions:
0

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

:smile: Did you change the name of the folder in '\includes\templates' to your template name??? This will definitely screw things up if you didn't. :smile:> cellz4less:

I HAVE INSTALLED GOOGLE CHECKOUT (1.4.7 AND ZEN VERSION 1.38A)

I COPIED ALL THE FILES OVER - BUT GET THE FOLLOWING ERROR UNDER MODULES / PAYMENTS IN THE ADMIN PANEL:

Fatal error: Cannot redeclare class googlecheckout in /home/mycellzf/public_html/includes/modules/payment/googlecheckout.php on line 308

CAN SOMEONE PLEASE HELP?

WEBSITE LINK: HTTP://WWW.MYCELLZ4LESS.COM

11 Sep 2008, 10:46 PM
#2689
lovely avatar

lovely

New Zenner

Join Date:
Feb 2008
Location:
Colorado
Posts:
77
Plugin Contributions:
0

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

Admin and inventory issue with GCO.

I tried to go back and find info on this, but the posts are so intertwined that I can't make heads or tails out of it. I'm afraid I'll screw it up.

The orders for GCO are not subtracting from inventory.

I've read about htaccess and not understanding that fully. I set it to true in the payment module, entered keys for both regular and sandbox, click create and ... nothing. What's it supposed to do? How can I check that it did what it's supposed to do.

Another question. How did you all deal with the double checkout buttons? One for Zen Cart and one for GCO seems a bit confusing for customers.

14 Sep 2008, 4:05 PM
#2690
qwert302 avatar

qwert302

Zen Follower

Join Date:
Mar 2008
Posts:
148
Plugin Contributions:
0

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

Has anyone gotten GCO to work with Flat Rate and Free Options as shipping methods?

Right now GCO is letting people select free shipping even if they haven't qualified for it, and it's not automatically selecting free shipping for those that do.

Something is not being calculated here and sent to GC. Any ideas?

15 Sep 2008, 1:56 AM
#2691
srturner47 avatar

srturner47

Zen Follower

Join Date:
Oct 2007
Posts:
385
Plugin Contributions:
0

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

I haven't tried Flat Rate/Free shipping, but I use table rate just fine with Google Checkout. You can use table rate to set up free shipping over a certain amount and flat rate below that amount.

15 Sep 2008, 3:15 PM
#2692
letsmod avatar

letsmod

New Zenner

Join Date:
Sep 2008
Posts:
42
Plugin Contributions:
0

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

Qwert302:

Has anyone gotten GCO to work with Flat Rate and Free Options as shipping methods?

Right now GCO is letting people select free shipping even if they haven't qualified for it, and it's not automatically selecting free shipping for those that do.

Something is not being calculated here and sent to GC. Any ideas?

here is what I did to stop that:

Get rid of GCO calculating shipping, ensure it set to zen cart totals

Disable -- Free Shipping Options
Enable --FREE SHIPPING!

Any item that is free shipping must be selected by the item in the catalog.

I figured this out after a fee people got away with it, now it is correctly working, I also have USPS and UPS enabled in shipping module

Good luck

Ed
https://www.vgcrepairs.com

16 Sep 2008, 12:30 PM
#2693
slck avatar

slck

New Zenner

Join Date:
Jul 2008
Posts:
9
Plugin Contributions:
0

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

Hi all,

I've set the .htaccess Basic Authentication Mode to TRUE, but how should I configure my .htaccess file ?

Thanks!

16 Sep 2008, 3:47 PM
#2694
slck avatar

slck

New Zenner

Join Date:
Jul 2008
Posts:
9
Plugin Contributions:
0

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

slck:

Hi all,

I've set the .htaccess Basic Authentication Mode to TRUE, but how should I configure my .htaccess file ?

Thanks!

Ok, I've configured my .htaccess file, but it's still redirecting to the TIME OUT page upon order completion.

Also, there are no orders in the admin section.

Any ideas ?

17 Sep 2008, 4:19 AM
#2695
emist avatar

emist

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

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

Hello,

I've configured zen cart with the google checkout module. Everything seems to be working properly, i can see the orders on the zen cart admin interface, the product stock decreases when purchased, etc.

However, once someone completes a purchase through google checkout he is not redirected back to my site, instead he is left in the google screen.

Any ideas what can be wrong?

Thanks.

17 Sep 2008, 1:22 PM
#2696
dr_f_ust avatar

dr_f_ust

New Zenner

Join Date:
Jun 2006
Posts:
13
Plugin Contributions:
0

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

Hi All

I installed GC, and I need shipping table rate to set on weight.
And hi is don't work true.
Table rate on price or item calculated true, but on weight calculated shipping 0.

Any ideas?

18 Sep 2008, 2:30 PM
#2697
hmmg avatar

hmmg

New Zenner

Join Date:
Sep 2008
Posts:
1
Plugin Contributions:
0

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

I've been using the module fine for a while, appreciate all the work done. However, two orders came in and google checkout only charged $1 shipping. I can't figure out why. I can't seem to reproduce it either. In the comments log on the orders page in zen cart admin I see the line "Merchant Calculations used: False" whereas it was "True" for every other order. This has never happened before, just these two in the last week. I haven't touched a single setting anywhere. Does anyone know what could be causing this?

18 Sep 2008, 3:26 PM
#2698
emist avatar

emist

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

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

Update on the no-redirect issue:

It seems i'm timing out for some reason.

I've configured the htaccess files for htaccess basic auth and have tried it without also. Neither way works. Although the callback url seems to work(inventory decreases, etc).

The google page displays "Thanks [Customer Name], here's how to access your purchase." While the address bar reads:

"https://checkout.google.com/authorizationTimeout?t=[numbers]"

Any help is appreciated, thanks.

19 Sep 2008, 2:36 AM
#2699
emist avatar

emist

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

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

Another update in case anyone is reading this.

Its only happening on items that have free shipping enabled. (Digital Delivery). If I change the delivery options it goes through in seconds and everything is fine.

I'm out of ideas, no errors on the logs, no errors on the integration console, nothing.

If anyone has any ideas feel free to jump in.

thanks.

19 Sep 2008, 2:50 AM
#2700
emist avatar

emist

New Zenner

Join Date:
Sep 2008
Posts:
5
Plugin Contributions:
0

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

Hey guys,

my short term solution has been to require shipping address on virtual goods and give free shipping for items weighting 0.00lbs or less.

It seems the gc module is bugged regarding digital delivery items.