Re: Google Checkout module for Zen Cart (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...tegration.html but I have not been successful to get it to work. Regular Zen Cart is working just fine with Google Analytics tracking.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
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.
Re: Google Checkout module for Zen Cart (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
Re: Google Checkout module for Zen Cart (beta)
Meant to also add I'm using Zen 1.3.7 and the latest version of the checkout module.
Cheers
Re: Google Checkout module for Zen Cart (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.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
BlessIsaacola
Here is a sample code modification you need for the new USPS international shipping:
PHP Code:
'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 Code:
'international_types' =>
array(
'Express Mail Int' => 'Express Mail International (EMS)',
'Priority Mail International' => 'Priority Mail International',
'First-Class Mail Int' => 'First-Class Mail International',
),
Re: Google Checkout module for Zen Cart (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.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
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:
PHP Code:
$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.
Re: Google Checkout module for Zen Cart (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.
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
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