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

Results 321 to 340 of 3,921
This thread is locked. New replies are disabled.
8 Dec 2006, 6:07 PM
#321
krypton1 avatar

krypton1

New Zenner

Join Date:
Dec 2006
Posts:
15
Plugin Contributions:
0

Google Checkout module for ZC 1.3.x (beta)

Google checkout has been successfully integrated with JROX affiliate manager. I stayed up all night trying to fix it and finally got it working, only to discover the JROX team posted a fix right before me:

http://www.zen-cart.com/forum/showthread.php?t=51485

8 Dec 2006, 6:22 PM
#322
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

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

Ok, another issue i'm seeing is the Quantity when it posts the transaction into Zen-Admin as an order.

someone ordered a quantity of 4 things, the total was right, but the quantity that popped up on the admin was just 1 X ITEM

Just thought i'd bring this up. I am really liking what i'm seeing so far.

I wouldn't mind googcheckout having an option to print invoice, label, etc.

Thanks for your hard work and hopefully i can start making use of my free processing.

8 Dec 2006, 6:25 PM
#323
apursell avatar

apursell

New Zenner

Join Date:
May 2004
Posts:
21
Plugin Contributions:
0

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

I've now done a FULL re-install of everything, still does not work.

8 Dec 2006, 6:31 PM
#324
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

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

ok make a folder in the main listing called googlecheckout:

https://www.yourstore.com/googlecheckout

copy all of the files from your admin/googlecheckout
into the folder you created.

do the editing of code as posted a few posts ago of the responsehandler in the main folder

make sure you have the google checkout info correct inyour website merchant ID and key

make sure you have the API Call Back url https://www.yourstore.com/googlecheckout/responsehandler.php

check whatever you want in there. I test in live mode with a 2nd email account and CC# and just decline the transaction.

anyways, hope it helps you out.

9 Dec 2006, 5:00 AM
#325
brimsjewelry avatar

brimsjewelry

Zen Follower

Join Date:
May 2006
Posts:
188
Plugin Contributions:
0

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

I edited the code in responsehandler.php as suggested but I'm still not getting orders in admin. It behaved exactly as it did before I made the changes.

Any other ideas?

Has anyone purchased and installed the mod from MagneticOne?

Jason

9 Dec 2006, 5:27 AM
#326
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

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

do you have the following files in googlecheckout:
gcheckout.php
responsehandler.php
xmlbuilder.php
xmlparser.php
response_message.log
response_error.log

9 Dec 2006, 5:28 AM
#327
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

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

you need those files in admin/googlecheckout and in googlecheckout

considering it's in beta form and a member from google has been contacting with me about how they are still working on certain aspects, i don't know if i would purchase a mod from somewhere online.

9 Dec 2006, 5:49 AM
#328
brimsjewelry avatar

brimsjewelry

Zen Follower

Join Date:
May 2006
Posts:
188
Plugin Contributions:
0

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

anjordan77:

you need those files in admin/googlecheckout and in googlecheckout

considering it's in beta form and a member from google has been contacting with me about how they are still working on certain aspects, i don't know if i would purchase a mod from somewhere online.

Yes, I have all those files in both admin/googlecheckout and /googlecheckout. I'm not gonna worry about it for now. as long as its processing payments properly I'm ok with it not sending the info to admin. I'm sure the guys at google will get it working correctly soon.

But thanks for the suggestions.

Jason

9 Dec 2006, 6:24 AM
#329
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

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

I'm thinking it's somewhere in here for the attributes:

//Insert entries into orders_products_attributes
$orders_products_id = $db->insert_ID();
if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
while (list($option, $value) = each($products[$i]['attributes'])) {
$attributes = $db->Execute("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix
from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa
where pa.products_id = '" . $products[$i]['id'] . "'
and pa.options_id = '" . makeSqlString($option) . "'
and pa.options_id = popt.products_options_id
and pa.options_values_id = '" . makeSqlString($value) . "'
and pa.options_values_id = poval.products_options_values_id
and popt.language_id = '" . $languages_id . "'
and poval.language_id = '" . $languages_id . "'");

      $sql_data_array = array('orders_id' => $orders_id,
                      'orders_products_id' => $orders_products_id,
                      'products_options' => makeSqlString($attributes->fields['products_options_name']),
                      'products_options_values' => $attributes->fields['products_options_values_name'],
                      'options_values_price' => makeSqlFloat($attributes->fields['options_values_price']),
                      'price_prefix' => makeSqlString($attributes->fields['price_prefix'])); 
      $db->Execute(TABLE_ORDERS_PRODUCTS_ATTRIBUTES, $sql_data_array);	
    }		
  }		
}

And somewhere in here for the quantity issue:

'products_quantity' => makeSqlInteger($products[$i]['quantity'] ));

Sihpping is a whole other monster

9 Dec 2006, 7:35 AM
#330
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

What is the status of this add-on?

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

9 Dec 2006, 7:50 AM
#331
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

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

still in the beta, i think we are getting close to getting mine working, i just need help with 3 issues.

I'm accepting payments via google checkout but i don't get the following:
correct Quantity, attributes, shipping charged.

I'm hoping to have my php expert scope it out whenever he can get some time.

10 Dec 2006, 5:19 AM
#332
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

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

I've been working with this in the sandbox for a while tonight. I've mostly concentrated on the section of the responsehandler.php in the area where you parse the header: //Parse the http header to verify the source
/* $headers = getallheaders(); etc.

When I leave these two sections, mentioned a few posts ago, as original I get an error in the response_error.log like:
Sat Dec 9 20:58:28 PST 2006:- Line 119: headers['Authorization'] is NULL.

When I comment out the two sections mentioned the error changes to:
Sat Dec 9 21:04:07 PST 2006:- InvalidSat Dec 9 21:04:09 PST 2006:- InvalidSat Dec 9 21:04:13 PST 2006:- Invalid

In neither case does the order appear in the Admin screens, although GCO says the order went through.

I've deactivated GCO in my cart for now.

Can anyone tell me if I'm getting close?

Thanks.

11 Dec 2006, 4:17 AM
#333
snipe avatar

snipe

New Zenner

Join Date:
Jan 2005
Location:
San Diego, CA
Posts:
1
Plugin Contributions:
0

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

I'm running into the same problem. Zencart accepts the choice of Google Checkout, but the information never makes it to Google. Anyone have any luck?

11 Dec 2006, 1:53 PM
#334
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

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

chain_man:

I've been working with this in the sandbox for a while tonight. I've mostly concentrated on the section of the responsehandler.php in the area where you parse the header: //Parse the http header to verify the source
/* $headers = getallheaders(); etc.

When I leave these two sections, mentioned a few posts ago, as original I get an error in the response_error.log like:
Sat Dec 9 20:58:28 PST 2006:- Line 119: headers['Authorization'] is NULL.

When I comment out the two sections mentioned the error changes to:
Sat Dec 9 21:04:07 PST 2006:- InvalidSat Dec 9 21:04:09 PST 2006:- InvalidSat Dec 9 21:04:13 PST 2006:- Invalid

In neither case does the order appear in the Admin screens, although GCO says the order went through.

I've deactivated GCO in my cart for now.

Can anyone tell me if I'm getting close?

Thanks.

I'm having the exact issues with GC and my ZC , same errors on edit of responsehandler.php. Though i still offer GC as for of checkout, and have to add the info to admin manually. Hope this will be resolved soon.

11 Dec 2006, 2:05 PM
#335
apursell avatar

apursell

New Zenner

Join Date:
May 2004
Posts:
21
Plugin Contributions:
0

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

Alik:

I'm having the exact issues with GC and my ZC , same errors on edit of responsehandler.php. Though i still offer GC as for of checkout, and have to add the info to admin manually. Hope this will be resolved soon.

Does anyone know how to cancel their Google Checkout account? because this is pointless as far as i'm concerned.

11 Dec 2006, 2:44 PM
#336
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

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

I think it's worth trying to get it running for the most part. It can be a pain if you do have attributes on things because you will have to email the customer to figure out what color, size, etc. someone ordered for every order.

Now interms of payment choices i have the following:
authorize.net AIM
Echeck
Paypal
Google checkout

about 40% of customers are using google checkout now.

I suggest everyone change the code that was mentioned before to comment out a big chunk of the responsehandler. copy your googlecheckout folder from the admin folder and into a new created one in your main area (yourstore.com/googlecheckout)

That's what i did and i'm getting lots of orders through there now.

I guess this is a beta for a reason...i've enabled table shipping and it's been going into google checkout so far charging shipping charges.

11 Dec 2006, 6:41 PM
#337
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

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

anjordan77:

I suggest everyone change the code that was mentioned before to comment out a big chunk of the responsehandler. copy your googlecheckout folder from the admin folder and into a new created one in your main area (yourstore.com/googlecheckout)

That's what i did and i'm getting lots of orders through there now.

I guess this is a beta for a reason...i've enabled table shipping and it's been going into google checkout so far charging shipping charges.

I haven't tried having the modules in two places (admin and not...), only at the (yourstore.com/googlecheckout) level. Does that make a difference?

I also have table shipping selected, but the GC selection is offered before the shipping method is even selected by the customer. How do you get the shipping charges to GC?

Thanks,

11 Dec 2006, 7:45 PM
#338
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

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

I tried copying the googlecheckout folder to Admin. No difference.

I enabled Table Shipping and then created a table of values. These shipping charges were passed to GC along with the order. But I generally use mzmt tables and usps. These are evidently not supported yet with the GC module. Has anyone configured it for these shipping modules?

I still get the Invalid error in the error log. Could this be because I am still testing in the Sandbox?

And the order does not appear in New Orders. Also because of the sandbox?

Thanks,

11 Dec 2006, 8:15 PM
#339
lala_g_clef_jewelry avatar

lala_g_clef_jewelry

Zen Follower

Join Date:
Apr 2006
Location:
Kansas
Posts:
233
Plugin Contributions:
0

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

I am using GCO and have a few issues...

its not responding back to my admin area with what was sold. but then im not sure it is supposed to...

shipping works fine. i have it set to charge a flat rate though so i dont know if that makes a diffrence or not.

it does not tell me the model number of the product bought but it does tell me the name of it, so it not to bad, i can look it up (id have to either way since each item is one of a kind and i have to know what im looking for)

G Clef Jewelry
Dichroic and Beaded Jewelry

12 Dec 2006, 4:34 AM
#340
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

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

Woo Hoo!!!

I got it working!!!

I've incorporated the commented out sections as suggested by anjordan77. What did the trick, I think, was that I re-entered the GC key in the Admin->GC module. I probably did a copy and paste from the integration screen and and grabbed an extra space at the end of the key. Thus the "Invalid" message I was getting.

Or the fact that I selected XML as the callback method instead of named pairs. This makes sense when you consider the XML parser functions included with the GC module...

The order showed up in my Admin screen and the Shopping Cart was emptied for my customer! And shipping was there - as configured in the Table method!