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

Results 541 to 560 of 3,921
This thread is locked. New replies are disabled.
12 Jan 2007, 01:07
#541
tjthecat3 avatar

tjthecat3

New Zenner

Join Date:
Jan 2007
Posts:
19
Plugin Contributions:
0

Google Checkout module for ZC 1.3.x (beta)

tjthecat3:

i am having the same issue, found this on google's integration page:

"the error we got is: Read timed out Your server must respond faster to merchant calculation callback requests."

any thoughts on how to fix this?

www.strangefamousrecords.com is the site

ah.. doh! you need it to be SSL. set that up now, i'll let you know how it progresses.

12 Jan 2007, 02:47
#542
kebeid avatar

kebeid

New Zenner

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

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

Isaacola, How'd you get the table rate to work for you in GCO?

Pete

12 Jan 2007, 03:49
#543
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)

kebeid:

Isaacola, How'd you get the table rate to work for you in GCO?

Pete

I enabled table rate under shipping in Admin and set up my rate as follows:
.8:2.49,2:5.99,4:7.99,6:9.99,8:11.99,10:12.99,15:15.99,20:19.99,100:24.99,150:0.00

Unfortunately, you cannot just use the table for one zone (when using GCO), it doesn't work. We posted a note for our customers during checkout to inform them that table rate and flat rate should only be selected for continental USA. The two customers who either didn't see this or ignored it were refunded since they didn't pay enough for shipping.

12 Jan 2007, 12:25
#544
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

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

Trying to figure out ehy I am getting this error message:

Time of occurence: Jan 12, 2007 7:12:35 AM EST

**Error: ** Error parsing XML; message from parser is: Invalid value for
body of tax-table-selector in
checkout-shopping-cart/shopping-cart/items/item: Required
field must not be blank

Warnings: XML failed to validate against the schema at line: 10,
column: 10, with error: cvc-minLength-valid: Value '' with
length = '0' is not facet-valid with respect to minLength '1'
for type 'null'.XML failed to validate against the schema at
line: 10, column: 10, with error: cvc-type.3.1.3: The
value '' of element 'tax-table-selector' is not
valid.

12 Jan 2007, 12:51
#545
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)

ctcentralinfo:

Trying to figure out ehy I am getting this error message:
Time of occurence: Jan 12, 2007 7:12:35 AM EST

**Error: ** Error parsing XML; message from parser is: Invalid value for
body of tax-table-selector in
checkout-shopping-cart/shopping-cart/items/item: Required
field must not be blank

Warnings: XML failed to validate against the schema at line: 10,
column: 10, with error: cvc-minLength-valid: Value '' with
length = '0' is not facet-valid with respect to minLength '1'
for type 'null'.XML failed to validate against the schema at
line: 10, column: 10, with error: cvc-type.3.1.3: The
value '' of element 'tax-table-selector' is not
valid.
Hi every one, this error arises due to a recent change in Google Checkout system.
In a few hours ill post the fix and the problem description.

ropu

12 Jan 2007, 14:29
#546
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)

Merchants because some of the shopping carts generated might fail to post to Google Checkout due to some of the recent changes in our system.

In particular, Google Checkout now strictly requires a value in the tag <tax-table-selector>. Therefore, if the shopping cart XML contains the tag <tax-table-selector> without a value ( i.e. <tax-table-selector/>), it will not be accepted by Google Checkout anymore.

In order to make sure that your system doesn't fail to post any shopping carts to Google Checkout due to this issue, please ensure that the tag <tax-table-selector> contains a value ( e.g. <tax-table-selector>food</tax-table-selector>) if it's used at all.

If you're currently using the Google Checkout module for osCommerce as your shopping cart software, please follow the instructions below to resolve this issue:

Step 1:

  • Open the following file from your Zencart directory for edit: /googlecheckout/gcheckout.php

Step 2:

  • Find the following line:
   if(!in_array($products[$i]['tax_class_id'], $tax_array)) {
```- Replace the above line with the following:
  ```php
 if(!empty($tt) && !in_array($products[$i]['tax_class_id'], $tax_array)) { 
```Step 3:
- Find the following line:
```php
    $gcheck->element('tax-table-selector', $tt);
```- Replace the above line with the following:
    ```php
if(!empty($tt)) $gcheck->element('tax-table-selector', $tt); 
```Step 4:
- Save the changes.

Note: Empty Tax Classes names are NOT valid and will be ignored.

Also have in mind the new sandbox URL, this fix is also added in both version (v1.0.4r and 1.0.5b1) You must uninstall/install GC module to take effect
(have a look to Readme please)
> Hello,
> 
> We'd like to inform you of an upcoming change to the Google Checkout sandbox, the 
> system that allows you to test your Checkout integration.
>    
> On January 17, we're changing the Google Checkout sandbox URL to 
> sandbox.google.com/checkout. The current URL, sandbox.google.com, will no longer 
> work after this change takes place. The integration and testing process itself will be 
> unaffected.
> 
> As a reminder, the following URLs will change:
> 
> - Checkout buttons: <http://sandbox.google.com/checkout/buttons/checkout.gif>
> - Buyer UI: <http://sandbox.google.com/checkout>
> - Seller UI:  <http://sandbox.google.com/checkout/sell>
> - Cart post: 
> <https://sandbox.google.com/checkout/cws/v2/Merchant/>[[Merchant-ID]]/checkout
> - Command post: 
> <https://sandbox.google.com/checkout/cws/v2/Merchant/>[[Merchant-ID]]/request
> - Diagnose cart post:  
> <https://sandbox.google.com/checkout/cws/v2/Merchant/>[[Merchant-ID]]checkout/diagnose
> - Diagnose command post:  
> <https://sandbox.google.com/checkout/cws/v2/Merchant/>[[Merchant-ID]]/request/diagnose
> 
> If you have any questions about accessing the sandbox , please review our Developer's 
> Guide at 
> [http://code.google.com/apis/checkout/devel...ration\_overview](http://code.google.com/apis/checkout/developer/index.html#integration_overview). You 
> can also contact us at <http://checkout.google.com/support/sell/bin/request.py>.
> 
> Sincerely,
> 
> The Google Checkout TeamFiles are updated at <http://code.google.com/p/google-checkout-zencart/> and <http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_48&products_id=314>

any questions please feel free to ask.

ropu
12 Jan 2007, 15:39
#547
regenbauma avatar

regenbauma

New Zenner

Join Date:
Jul 2006
Posts:
40
Plugin Contributions:
0

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

created a coupon called "xxxx" on xencart with conditions that coupon is only to be used 1x and can only be used if sale is $100 or more .

If i place a product of less that $100 in my ZC, and use google checkout ..it correctly fetches the coupon upon entering "xxxx" , but it fetches the coupon despite the ZC rules ...... it allows the coupon for any transaction, and it also allws the coupon multiple times for the same customer.

Anyone find the same thing ? Any suggestions

=====================

also ..ship rates for table work ok ..but when we add UPS for certain categories, those ups categories always display as $0 on GCO .. so customers can select 2nd day air at $0 !! had a hard enough time getting table rates to work ...has anyone manged to get UPS rates to work ?

=====================

when we mark a product a shipped in ZC using ty tracker, that is not being transferred back to GCO , so we have double work in going to GCO to mark products as shipped ... is this supposed to work..or is this a known feature that requires completion ?

=====================

has anyone had experience with the "non free" GCO apps for zencart ..do they work better than the free one ..does anyone have any experience with them ?

thanks for the great work guys .....

12 Jan 2007, 17:52
#548
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

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

Thanks Ropu, that did the trick.

12 Jan 2007, 23:08
#549
bbg avatar

bbg

New Zenner

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

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

regenbauma:

created a coupon called "xxxx" on xencart with conditions that coupon is only to be used 1x and can only be used if sale is $100 or more .

If i place a product of less that $100 in my ZC, and use google checkout ..it correctly fetches the coupon upon entering "xxxx" , but it fetches the coupon despite the ZC rules ...... it allows the coupon for any transaction, and it also allws the coupon multiple times for the same customer.

Anyone find the same thing ? Any suggestions

I posted about this exact issue a week ago in this thread, where the minimum amount set by the coupon is ignored by GCO.
Here's the link to that post: http://www.zen-cart.com/forum/showpost.php?p=310083

Shawn

13 Jan 2007, 00:21
#550
kebeid avatar

kebeid

New Zenner

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

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

Isaacola, Thanks for your reply I have it setup the same way you do for the 48 states' zone. but it doesn't show up/shows up as 0 on GCO payment page and I see the same thing in the xml when I had a problem w/xml today (with changing the tax code stuff). I'll keep it on the site for you to try it (its linked to checkout.google.com).

Pete

13 Jan 2007, 02:41
#551
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)

kebeid:

Isaacola, Thanks for your reply I have it setup the same way you do for the 48 states' zone. but it doesn't show up/shows up as 0 on GCO payment page and I see the same thing in the xml when I had a problem w/xml today (with changing the tax code stuff). I'll keep it on the site for you to try it (its linked to checkout.google.com).

Pete

Can you do me a favor and select None for your zone for the table rate instead of selecting 48 states zone and report back what happens?

Thanks!

13 Jan 2007, 17:01
#552
tjthecat3 avatar

tjthecat3

New Zenner

Join Date:
Jan 2007
Posts:
19
Plugin Contributions:
0

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

tjthecat3:

ah.. doh! you need it to be SSL. set that up now, i'll let you know how it progresses.

ok.. so i set up SSL for my server, and google is receiving the info just fine. but when i get to the payment page on google checkout, it just reports whatever the numbers are set to in the admin settings for google checkout.. it doesn't actually calculate the postage. can someone please help me out?

14 Jan 2007, 03:49
#553
kebeid avatar

kebeid

New Zenner

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

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

Alrighty got that done, and its still not showing the shipping . . .

17 Jan 2007, 03:25
#554
tdslori avatar

tdslori

New Zenner

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

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

Did you get an answer to this issue? We are experiencing the same thing all of a sudden.

Thanks, tdslori

issy:

Hello Zenos,

I installed the Google Checkout Module and this is the error I get:

Oops!
Web-Smart Publishing has sent Google a shopping cart with errors in it. We'll contact them to ask that they fix this problem. If you're feeling lucky, you can go back in your browser and try to checkout again with your fingers crossed.

How can I fix this?
Does it have to do with the key?
Is the Merchant ID the same as the Merchant Key?

Thansk for all the help

Issy

17 Jan 2007, 04:27
#555
tdslori avatar

tdslori

New Zenner

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

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

Found my own answer...on an osc forum:

Merchants because some of the shopping carts generated might fail to post to Google Checkout due to some of the recent changes in our system.

In particular, Google Checkout now strictly requires a value in the tag <tax-table-selector>. Therefore, if the shopping cart XML contains the tag <tax-table-selector> without a value ( i.e. <tax-table-selector/>), it will not be accepted by Google Checkout anymore.

In order to make sure that your system doesn't fail to post any shopping carts to Google Checkout due to this issue, please ensure that the tag <tax-table-selector> contains a value ( e.g. <tax-table-selector>food</tax-table-selector>) if it's used at all.

If you're currently using the Google Checkout module for OsC as your shopping cart software, please follow the instructions below to resolve this issue:

Step 1:

  • Open the following file from your OsC directory for edit: /catalog/googlecheckout/gcheckout.php

Step 2:

  • Find the following line:

if (!in_array($products[$i]['tax_class_id'], $tax_array)) {

> - Replace the above line with the following:
> ```
if (!empty($tt) && !in_array($products[$i]['tax_class_id'], $tax_array)) {

Step 3:

  • Find the following line:

$gcheck->element('tax-table-selector', $tt);

> - Replace the above line with the following:
> ```
if(!empty($tt)) $gcheck->element('tax-table-selector', $tt);

Step 4:

  • Save the changes.
17 Jan 2007, 12:19
#556
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)

Please! READ the latest post!

I published that same fix for OSC and Zencart

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

fix is also uploaded in the latest download page and google code
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_48&products_id=314
http://code.google.com/p/google-checkout-zencart/

ropu

17 Jan 2007, 12:34
#557
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)

REMINDER: Today sandbox URL will change for good,

https://sandbox.google.com will not be valid, the now url is https://sandbox.google.com/checkout/

Have a look to the latest package in the contribution page. Only googlecheckout/gcheckout.php and includes/modules/payment/googlecheckout.php are modified.

Quick fix:
googlecheckout/gcheckout.php line ~384

change

    if ($srv_mode == 'https://sandbox.google.com/' && $http_mode == 'http') {
```with
```php
    if ($srv_mode == 'https://sandbox.google.com/checkout/' && $http_mode == 'http') {
```and 

includes/modules/payment/googlecheckout.php  line ~327

change
```php
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Select Mode of Operation', 'MODULE_PAYMENT_GOOGLECHECKOUT_MODE', 'https://sandbox.google.com/', 'Select either the Developer\'s Sandbox or live Production environment', '6', '3', 'zen_cfg_select_option(array(\'https://sandbox.google.com/\', \'https://checkout.google.com/\'),',now())");
``` with 

```php
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Select Mode of Operation', 'MODULE_PAYMENT_GOOGLECHECKOUT_MODE', 'https://sandbox.google.com/checkout/', 'Select either the Developer\'s Sandbox or live Production environment', '6', '3', 'zen_cfg_select_option(array(\'https://sandbox.google.com/checkout/\', \'https://checkout.google.com/\'),',now())");
```Those working with production server wont need the fix right now, but if you turn to sandbox it wont work,

IMPORTANT:
To apply this you **must** Uninstall/Install the Google Checkout module in Admin UI->Modules->Payments->google Checkout

Or for advanced User use PhpMyAdmin and Execute this SQL

UPDATE configuration SET configuration_value = 'https://sandbox.google.com/checkout/',
set_function = 'zen_cfg_select_option(array(''https://sandbox.google.com/checkout/'', ''https://checkout.google.com/''),' WHERE configuration_key = 'MODULE_PAYMENT_GOOGLECHECKOUT_MODE' and configuration_value = 'https://sandbox.google.com/';

UPDATE configuration SET configuration_value = 'ttps://checkout.google.com/',
set_function = 'zen_cfg_select_option(array(''https://sandbox.google.com/checkout/'', ''https://checkout.google.com/''),' WHERE configuration_key = 'MODULE_PAYMENT_GOOGLECHECKOUT_MODE' and configuration_value = 'https://checkout.google.com/';


Ropu
17 Jan 2007, 15:00
#558
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)

kebeid:

Alrighty got that done, and its still not showing the shipping . . .

Are you using production or sandbox? Your current Google button doesn't appear to be the current production button unless you've changed something. I am not sure how you have things set up. Do you have the right shipping optin checked on the google configuration page on the admin page?

17 Jan 2007, 15:18
#559
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)

I am wondering if someone can help with getting Googlecheckout to calculate tax. It's shows the tax order on order information but it's always zero. Please help if you have googlecheckout calculating tax right.

Thanks!

18 Jan 2007, 04:54
#560
spf avatar

spf

New Zenner

Join Date:
Jan 2007
Posts:
37
Plugin Contributions:
0

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

ropu:

Chainman, in fact my work is doing this projects.

Im working on a stable version, to avoid the problem we had with the last release. Im fixing several issues regarding merchant calculation, timeouts, and other implementation problems.

Im pretty sure next week ill have good news for all of you.

ropu

Ropu, I tried to test your 1.05beta R37... got the following error..

Warning: main(/home/xyzstore/public_html/beta/includes/languages/english/modules/payment/show_google_components.php) [function.main]: failed to open stream: No such file or directory in /home/xyzstore/public_html/beta/Color1/modules.php on line 174

I don't think file "show_google_components.php" should be even in that folder, /includes/languages/english/modules/payment/ Can you help explain this?

BTW, when you expect to release 1.05 this week? thanks