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

Results 1,521 to 1,540 of 3,921
This thread is locked. New replies are disabled.
16 May 2007, 5:59 PM
#1521
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Google Checkout module for ZC 1.3.x (beta)

Has anybody been able to get Google Analytics to work for Google Checkout? There are different methods posted here: http://code.google.com/apis/checkout/developer/checkout_analytics_integration.html but I have not been successful to get it to work. Regular Zen Cart is working just fine with Google Analytics tracking.

16 May 2007, 10:52 PM
#1522
shawnd avatar

shawnd

New Zenner

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

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

Woodymon:

Can you provide more details? Such at what happens in sandbox mode? (test with http, not https).

You can test responsehandler via tool at ropu's site. See link in his signature. Again test with http in sandbox.

Woody

By the tool I assume you meant the responsehandler_test_v1.2.php file. In sandbox mode, http I receive the following result

Responsehandler Test: Test your implementation

     	   	 	   	   		  XML We Sent: 		   			   			  	Authorization: Basic XXXXXX:XXXXXX

Content-Type: application/xml;charset=UTF-8
Accept: application/xml;charset=UTF-8

	   	   	   		  XML We Received: 		   			   			  	HTTP/1.1 404 Not Found

Date: Wed, 16 May 2007 22:44:54 GMT
Server: Apache
Transfer-Encoding: chunked
Content-Type: text/html

<HTML> <HEAD><TITLE>Page Not Found</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="maroon" VLINK="maroon" 

ALINK="maroon">
<CENTER>
<TABLE WIDTH="85%" BORDER="1" BORDERCOLOR="#000000"
CELLSPACING="0" CELLPADDING="3">
<TR>
<TD BGCOLOR="#e5dccd">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"
WIDTH="100%">
<TR>
<TD WIDTH="40%"><IMG
SRC="http://images.godaddy.com/hosting/hdr_sorry_small.gif" BORDER="1"
BORDERCOLOR="#000000"></TD>
<TD ALIGN="CENTER"><H2 STYLE="font-family: arial,
sans-serif">Page Not Found</H2></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>

<P STYLE="margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; font-size: 10pt; font-family: arial, sans-serif"> The page you tried to access does not exist on this server. This page may not exist due to the following reasons: <OL><LI STYLE="font-size: 10pt; font-family: arial, sans-serif"><STRONG>You are the owner of this web site and you have not uploaded</STRONG> (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, <A HREF="http://ftphelp.secureserver.net/index.html">click here for FTP Upload Information</A>. <P> <LI STYLE="font-size: 10pt; font-family: arial, sans-serif"><STRONG>The URL that you have entered in your browser is incorrect.</STRONG> Please re-enter the URL and try again. <P> <LI STYLE="font-size: 10pt; font-family: arial, sans-serif"><STRONG>The Link that you clicked on incorrectly points to this page.</STRONG> Please contact the owner of this web site to inform them of this situation. </OL> </TD> </TR> </TABLE> </BODY> </HTML>
	   	   	         Time to response: 0.35981106758118 segs

Further details:

  1. Zen Cart 1.37
  2. The button appears, but is "grayed" out in both "Sandbox" and the regular mode.

Anythig else? Thanks for your assistance.

16 May 2007, 11:36 PM
#1523
ollie2 avatar

ollie2

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

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

Hi All,

Currently integrating Google checkout into our Zen cart using the module and things are generally going well.

I have a query or two regarding discounts and I've done a search of the forums but haven't found the answers.

  1. If a customer has a group discount and is logged into Zen should this discount be applied and transferred to the Google Checkout? The discount works via the normal Zen checkout but not Google checkout.

  2. The customer is never offered the chance to enter a coupon discount even though they are set up and working in Zen. Is this because I'm only working in the sandbox at the moment? I've seen the discount options on other sites using Google checkout so I know where the entry field normally appears.
    I found a little info on coupons here http://www.zen-cart.com/forum/showpost.php?p=310083 but this is a different problem.

  3. Is there any way of displaying the discounted price on the first basket screen in Zen if the customer is already logged in? I've had a look around but can't see any options so I take it it needs a bit of custom code to do so.

Any help would be greatfully appreciated.

Cheers

Stu

16 May 2007, 11:47 PM
#1524
ollie2 avatar

ollie2

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

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

Meant to also add I'm using Zen 1.3.7 and the latest version of the checkout module.

Cheers

17 May 2007, 1:09 AM
#1525
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)

Ollie2,

In reply to question #1, that's a good question and one I don't recall being asked before. I don't use group discounts now, but I plan to start using in the near future. I just added this to my test shop and can confirm that group discount doesn't carry over to GoogleCheckout.
So this, group discounts, is another thing the GC module should take into consideration along with Low Order Fee and respecting all restriction on coupons.

For question 2, not really sure what could be wrong there. The field to enter the discount does show up in GC whether your using sandbox or production. You do have to log in before that field appears though.

For question 3, I don't know the answer to that one sorry. I believe it'll need some custom coding.

17 May 2007, 1:29 AM
#1526
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)

BlessIsaacola:

Here is a sample code modification you need for the new USPS international shipping:

'international_types' =>
array(
'Global Express' => 'Global Express Guaranteed',
'Express Mail Int' => 'Express Mail International',
'Priority Mail Int' => 'Priority Mail International'
),
),

> 
> Please keep in mind the above post ONLY reflects the 3 options we offer on our site. The file where this change is contained is **/includes/modules/payment/googlecheckout.php**

Hey Issac, have you got all those three shipping method working properly in GC?

I have the updated the file too, I removed all shipping services I don't use from the file as I think having too many can contribute to a time out. I copied the new descriptions from the USPS patch file that was released for ZenCart, and for the first time I finally got USPS international calculated shipping working...sort of anyway. :)

I offer Express Mail International, Priority Mail International, and First-Class Mail International. However, for some reason only Priority Mail International is the only one that shows up.

This is what I have on my file, do you see anything wrong with it?:
```php
'international_types' =>
                                      array(
                                          'Express Mail Int' => 'Express Mail International (EMS)',
                                          'Priority Mail International' => 'Priority Mail International',
                                          'First-Class Mail Int' => 'First-Class Mail International',
                                           ),
17 May 2007, 1:49 AM
#1527
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)

Issac, following on my post above. I just went to your website to see if you had international shipping working, but got the usual
'Clevershoppers.com does not ship to this address'

I used a UK and a Canadian address. Not sure if you really don't ship to the UK and Canada or if GC just failed.

17 May 2007, 2:24 AM
#1528
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)

tj1:

Issac, following on my post above. I just went to your website to see if you had international shipping working, but got the usual
'Clevershoppers.com does not ship to this address'

I used a UK and a Canadian address. Not sure if you really don't ship to the UK and Canada or if GC just failed.

Actually my international was working but I just realized as a result of your post that my array is wrong. Thanks for pointing that to me. This is from the updated Zen Cart usps.php file:

    $this->types = array('Express' => 'Express Mail',
        'First Class' => 'First-Class Mail',
        'Priority' => 'Priority Mail',
        'Parcel' => 'Parcel Post',
        'Media' => 'Media Mail',
        'BPM' => 'Bound Printed Material',
        'Library' => 'Library'
        );

    $this->intl_types = array(
        'Global Express' => 'Global Express Guaranteed',
        'Global Express Non-Doc Rect' => 'Global Express Guaranteed Non-Document Rectangular',
        'Global Express Non-Doc Non-Rect' => 'Global Express Guaranteed Non-Document Non-Rectangular',
        'Express Mail Int' => 'Express Mail International (EMS)',
        'Express Mail Int Flat Rate Env' => 'Express Mail International (EMS) Flat Rate Envelope',
        'Priority Mail International' => 'Priority Mail International',
        'Priority Mail Int Flat Rate Env' => 'Priority Mail International Flat Rate Envelope',
        'Priority Mail Int Flat Rate Box' => 'Priority Mail International Flat Rate Box',
        'First-Class Mail Int' => 'First-Class Mail International'
         );

Based on the above information my array should be Priority Mail International instead of Priority Mail Int. It would be nice if things would have been consistent. Please retest international shipping again.

17 May 2007, 4:08 AM
#1529
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)

Issac, I have retested. Now it's working like mine, only Priority Mail International is showing.

Do you what could be the reason the others aren't showing?

At least one is working, but I really would like 1st-class international to show up, most of the packages I ship are small 2 to 5 ounces so it does make a big difference.

17 May 2007, 10:09 AM
#1530
ollie2 avatar

ollie2

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

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

tj1:

Ollie2,

In reply to question #1, that's a good question and one I don't recall being asked before. I don't use group discounts now, but I plan to start using in the near future. I just added this to my test shop and can confirm that group discount doesn't carry over to GoogleCheckout.
So this, group discounts, is another thing the GC module should take into consideration along with Low Order Fee and respecting all restriction on coupons.

For question 2, not really sure what could be wrong there. The field to enter the discount does show up in GC whether your using sandbox or production. You do have to log in before that field appears though.

For question 3, I don't know the answer to that one sorry. I believe it'll need some custom coding.

Thanks for the reply.

WRT 1. I'm glad to hear that the group discount problem is not just related to my install and as you say it would be nice if this gets resolved in a future release.

WRT 2. Regardless of whether I log into GC or not the discount coupon entry field is not being shown. Do you know if the field is shown regardless of whether a coupon is set up? I've tried with none and also with a basic coupon with no restrictions too.

Do you have a UK based account?

WRT 3. I thought that would be the case, I wondered about it in case GC takes it's figures from the first checkout screen and if the discounts could be displayed would they be transferred.

I may do some delving into the code to see how it all works.

Cheers

17 May 2007, 11:28 AM
#1531
ollie2 avatar

ollie2

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

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

With a bit more digging I've found a couple of references to coupons and discounts which may explain my problems.

The first mentions as tj1 has to setup coupons in GC seller account under settings, well there are no options in there that I can find to do this in either our sandbox or real sellers account.

Next I reread the developer notes and noticed
http://code.google.com/apis/checkout/developer/index.html#coupons_and_discounts

The key part being

  • Use the Merchant Calculations API to compute discounts after the buyer reviews the order. If you choose this option, the customer will have the option to enter coupon or gift certificate codes on the Google Checkout Place Order page. This option requires you to create and operate a fast, highly reliable web service to compute discounts. (That service could also calculate tax and shipping costs.) Please see the Merchant Calculations API section for more information.

It seems that coupons are handled by the Merchant Calculations API which at the moment UK Merchants don't get.

So that along with Zen not posting group discounts probably explains why it won't work for us at the moment. We can't really release the GC integration on our site until this is working as trade customers can't buy via it as they get different prices to joe public.

If anyone knows if the mod is likely to change anytime soon to integrate discounts being posted to GC then it would be great to hear. In the meantime I may have a look at the code myself but I fear it's going to be a little bit above my talent.

Cheers

17 May 2007, 2:37 PM
#1532
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)

tj1:

Issac, I have retested. Now it's working like mine, only Priority Mail International is showing.

Do you what could be the reason the others aren't showing?

At least one is working, but I really would like 1st-class international to show up, most of the packages I ship are small 2 to 5 ounces so it does make a big difference.

Please retest but using this product to test the check: http://www.clevershoppers.com/index.php?main_page=product_music_info&products_id=7994

Make sure that's the only product in your shopping cart and then try GC and let me know the result.

Thanks!

17 May 2007, 2:42 PM
#1533
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)

Ollie2:

With a bit more digging I've found a couple of references to coupons and discounts which may explain my problems.

The first mentions as tj1 has to setup coupons in GC seller account under settings, well there are no options in there that I can find to do this in either our sandbox or real sellers account.

Next I reread the developer notes and noticed
http://code.google.com/apis/checkout/developer/index.html#coupons_and_discounts

The key part being

It seems that coupons are handled by the Merchant Calculations API which at the moment UK Merchants don't get.

So that along with Zen not posting group discounts probably explains why it won't work for us at the moment. We can't really release the GC integration on our site until this is working as trade customers can't buy via it as they get different prices to joe public.

If anyone knows if the mod is likely to change anytime soon to integrate discounts being posted to GC then it would be great to hear. In the meantime I may have a look at the code myself but I fear it's going to be a little bit above my talent.

Cheers

Regular ZC coupon works for us using GC. The only problem is it doesn't follow the restrictions in ZC. For example if you create a coupon in ZC that is suppose to be a one time use GC will allow the customer to use it more than one time. I am in the US so this may explain the difference in our coupon usage.

It appears that the folks at Google are really not detail oriented when it comes to programming. Google terminated the $10 promotion on 5/15/07 and our customers are still getting $10 off from Google even though the button for the promotion has been updated with the standard button. I pointed this out to say that Google doesn't even do it right even when it cost then millions of dollars let alone a free mod to support the program.

17 May 2007, 2:50 PM
#1534
brian_the_brain avatar

brian_the_brain

New Zenner

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

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

I'm getting two entries for each new customer and order. The message from Sandbox is

"We encountered an error trying to access your server at http://www.brianmccorkle.us/store/googlecheckout/responsehandler.php -- the error we got is: java.net.SocketTimeoutException: Read timed out"

I suspect, that this is the first order and the second order is entered on retry.

Using "Ropus ResponseHandler Test," the first gave an immediate error (sorry, I didn't write it down), subsequent attempts responded with "200 OK."

I'm not sure where the problem is occurring.

May be related? I had checkout_success as the continue shopping URL. That generated a Session Expired on return.

Any hints or pointers?

17 May 2007, 3:02 PM
#1535
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)

Brian the Brain:

I'm getting two entries for each new customer and order. The message from Sandbox is

"We encountered an error trying to access your server at http://www.brianmccorkle.us/store/googlecheckout/responsehandler.php -- the error we got is: java.net.SocketTimeoutException: Read timed out"

I suspect, that this is the first order and the second order is entered on retry.

Using "Ropus ResponseHandler Test," the first gave an immediate error (sorry, I didn't write it down), subsequent attempts responded with "200 OK."

I'm not sure where the problem is occurring.

May be related? I had checkout_success as the continue shopping URL. That generated a Session Expired on return.

Any hints or pointers?

Your return page cannot be checkout_success. The reason for this has been discussed in previous posts. I am not sure if that's related to your problem or not but I will start there by changing the return to page to another page that DOES NOT require custom login.

17 May 2007, 4:27 PM
#1536
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)

BlessIsaacola:

Please retest but using this product to test the check: http://www.clevershoppers.com/index.php?main_page=product_music_info&products_id=7994

Make sure that's the only product in your shopping cart and then try GC and let me know the result.

Thanks!

No, retested with that product, still the same, this is the only available option:
USPS: Priority Mail International ($21)

17 May 2007, 4:48 PM
#1537
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)

tj1:

No, retested with that product, still the same, this is the only available option:
USPS: Priority Mail International ($21)

Hmm...I am lost for answers. I am just glad that we get less than 1% international sales so for us this is really not a critical problem. Hopefully, when someone else takes over this mod they will fix this or perhaps Woody and Chain_Man can provide a solution.

17 May 2007, 5:45 PM
#1538
cam_oai avatar

cam_oai

New Zenner

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

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

shawnd:

I am trying to install the latest version of the the Google Checkout module (google-checkout-zencart-v1.3RC2). I mod'ed the files as per the instructions. When intalling the module I get the following error:

Fatal error: Call to undefined function: zen_cfg_select_shipping() in /home/content/e/o/v/eoverhead/html/store/admin/modules.php(283) : eval()'d code on line **1

**Any ideas? Thanks in advance.

edit man, so blind LOL. forgot to change the admin folder, uploaded the "admin" folder to a wrong path....how blind :p

17 May 2007, 7:23 PM
#1539
dkerfoot avatar

dkerfoot

New Zenner

Join Date:
Mar 2007
Posts:
72
Plugin Contributions:
0

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

Help!

I installed Google Checkout - had problems with it and decided to give up on it for now. But the errors from the test orders I ran are still coming. I deleted the orders and have selected to not receive e-mail notifications for orders - but they just won't stop.

It has been three or four weeks and I've tried everything I can think of to stop the error notifications. What am I missing?

Help!

17 May 2007, 9:52 PM
#1540
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)

Ollie2:

If anyone knows if the mod is likely to change anytime soon

Yes it will. Not sure how soonest but still in development...

Ollie2:

to integrate discounts being posted to GC then it would be great to hear.

And not sure if discounts are being worked on at the moment.

Google Checkout mod does not process "order totals" mods as we want/need. As I've posted previously, I hope to see the "Better Together" mod discount which is an "Order Totals" type mod, supported by Google Checkout.

Wish I could be of assist.

Woody