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

Results 1,801 to 1,820 of 3,921
This thread is locked. New replies are disabled.
26 Jun 2007, 6:55 PM
#1801
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

Google Checkout module for ZC 1.3.x (beta)

Please help me.

I got my first order via GCO, Google processes everything, including the charge and I can service the order using the GCO backend system.

But there is no sign of this order having ever taken place on ZC. Why would this happen?

The error log keeps repeating this.

Tue Jun 26 2:22:05 EDT 2007:- HTTP Basic Authentication failed. Can't retrive Merchant Id/Key, Installed over CGI??

Can someone help me to undertand what I need to do, in no uncertain terms. Please.

26 Jun 2007, 9:14 PM
#1802
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)

Zinfandel:

Please help me.

I got my first order via GCO, Google processes everything, including the charge and I can service the order using the GCO backend system.

But there is no sign of this order having ever taken place on ZC. Why would this happen?

The error log keeps repeating this.

Can someone help me to undertand what I need to do, in no uncertain terms. Please.

Is the error you are seeing in response_error.log or in response_message.log? Is there any error message in the Google logs? Do you have SSL?

26 Jun 2007, 9:37 PM
#1803
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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

chain_man:

Is the error you are seeing in response_error.log or in response_message.log? Is there any error message in the Google logs? Do you have SSL?

How's it going chain_man,

The message I displayed came from my ZC googlecheckout directory within the response_error.log

The response_message.log contains alot of useful XML messages with buyer order information, buyer shipping address, buyer billing address, etc..., that I thought ZC would make use of, but it did not.

So if all this information made into the response_message.log in XML format, what do you suppose stopped ZC from processing the data?

As for SSL, I'm using a shares SSL available from the host, and pointing the API call back thru that server. Just checked the URL and it looks good to me.

The call back method that I have clicked off at google is XML, could that be the problem? Is ZC parsing XML or does it expect HTML name/value pairs?

Anyone?

26 Jun 2007, 10:08 PM
#1804
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)

Zinfandel:

The call back method that I have clicked off at google is XML, could that be the problem? Is ZC parsing XML or does it expect HTML name/value pairs?

Anyone?

XML is the right choice in the Google setup.

What's happening, I think, is that the communication to Google and back to ZC is OK. But your ZC does not think that the authentication info passed back from Google is good. Thus the error.

As to why - I don't know. Hopefully someone with a better grip on the Authentication side will help.

27 Jun 2007, 12:04 AM
#1805
carlozdre avatar

carlozdre

New Zenner

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

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

Hi,

I have the same problem.
Plus the order isn't shown in Admin/Customers/Orders.

Obviously, my stock doesn't update at all after a live transaction.

Any ideas?

Thank you.

27 Jun 2007, 12:09 AM
#1806
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)

Do you have any entries in response_error.log or response_message.log? Any errors in the Google Checkout side?

Do you have a good SSL cert?

27 Jun 2007, 2:52 AM
#1807
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)

Linux:

Where is the thread for GC 1.4.
It's not a thread. It's a new support forum. The URL has been recently purposely repeatedly mentioned in this thread. It amazes me some still can't figure out the URL :wink2:

27 Jun 2007, 2:57 AM
#1808
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)

Dave Wilson:

Thanks Woodymon for the reply. It gives me some insight. I hope this isuue can be resolved soon. I would appreciate hearing from others as well as to their ideas.

I'm not sure it's an "issue" unless you present it as an issue on the mod wishlist. :wink2:

27 Jun 2007, 3:09 AM
#1809
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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

Woody:

Can I get Google to resend order information to my ZC so I can test the response handler in live again?

The sandbox tests were not https and without SSL, and the live environment is completely different.

I've restored the htaccess and htpasswd files in my googlecheckout directory, and set the basic authentication mode in admin to false.

Now I need to resent the order information and see if response handler accepts it.

27 Jun 2007, 3:21 AM
#1810
carlozdre avatar

carlozdre

New Zenner

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

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

Yes, I have a private one bought from Hostgator (about 80 pounds) and it's on that list with SSL certificates which works with Google.

It's an TLS 1.0, RC4 with 128 bit encryption (High); RSA with 1024 bit exchange.

Hmm, yes I have errors in GC/Settings/Integration related to a order number ended with 855. It's a 403 error message:

We encountered an error trying to access your server at [URL]https://www.somewebsite.co.uk/googlecheckout/responsehandler.php[/URL]; the error we got is: Send failed with code: 403. Response body was: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>403 Forbidden</TITLE> </HEAD><BODY> <H1>Forbidden</H1> You don't have permission to access /googlecheckout/responsehandler.php on this server.<P> <P>Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. <HR> <ADDRESS>Apache/1.3.37 Server at [URL="http://www.urbangod.co.uk/"]www.urbangod.co.uk[/URL] Port 443</ADDRESS> </BODY></HTML>

But I have reasons to suspect that was an old issue when I had "Deny from all" in .htaccess. Not it's empty.

It worked with a Sandbox account. I saw the orders in admin but with no changes on the stock (stock_by_attributes_4.4, works like a charm with PayPal).

Another fresh try:

Ordered something, checked out with Google, logged in Google account and set the status of the order to "Post", checked the response_message from googlecheckout/:

 
Tue Jun 26 21:45:32 CDT 2007:- charge-amount-notification
Tue Jun 26 21:48:32 CDT 2007:- <?xml version="1.0" encoding="UTF-8"?>
<order-state-change-notification xmlns="[URL]http://checkout.google.com/schema/2[/URL]" serial-number="135333021456148-00010-1">
  <timestamp>2007-06-27T02:48:26.000Z</timestamp>
  <google-order-number>135333021456148</google-order-number>
  <new-fulfillment-order-state>DELIVERED</new-fulfillment-order-state>
  <new-financial-order-state>CHARGED</new-financial-order-state>
  <previous-fulfillment-order-state>PROCESSING</previous-fulfillment-order-state>
  <previous-financial-order-state>CHARGED</previous-financial-order-state>
</order-state-change-notification>
 
Tue Jun 26 21:48:32 CDT 2007:- order-state-change-notification

That's the last paragraph and it seems it the way it should be .. right?

Then, the last line from response_error is:

Tue Jun 26 21:48:32 CDT 2007:- HTTP Basic Authentication failed. Can't retrive Merchant Id/Key, Installed over CGI??

It's a Zen Cart v1.3.7 with Google Checkout v1.3RC2 / PHP over CGI server.

.htaccess Basic Authentication Mode is set to false. That's it?!

Thanks for helping me getting through this mess.

27 Jun 2007, 3:35 AM
#1811
carlozdre avatar

carlozdre

New Zenner

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

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

And btw, I don't know if does matter but "checkout_succes" is set as "Continue shopping URL".

After checking out, I am not given any order number. Just the standard message:

 
Thank You! We Appreciate your Business!
Your Order Number is: 
 
You can view your order history by going to the My Account page and by clicking on "View All Orders".
Please direct any questions you have to customer service.
Thanks for shopping with us online!
27 Jun 2007, 4:21 AM
#1812
linux avatar

linux

Zen Follower

Join Date:
Apr 2004
Posts:
173
Plugin Contributions:
0

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

............................

27 Jun 2007, 10:23 AM
#1813
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

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

chain_man:

As I said before, you can process the order as you would any other zen-cart order. You have customer info and order details, right?
I'm puzzled by this, but haven't started using it. I'd like to clarify how it works before I set it up! Can anyone help?

As things stand, a guest to the site can put things into their basket and then pay through GC. Is there anything to force them to create an account in ZC? If not, all the order tracking etc will be done in GC.

Does GC send back customer details to ZC so that normal order processing can continue?

If so, what happens if the customer's details in ZC don't exactly match the customer details in GC?

If not, am I right in thinking that order details will have to be tracked from two sources? For merchants who import ZC order details into their accounting system, this will be a bit of a disaster!

27 Jun 2007, 3:42 PM
#1814
carlozdre avatar

carlozdre

New Zenner

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

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

I finally did it. Some tips on what and how I have done, I hope it helps:

Specifications:
Zen Cart v1.3.7
Google Checkout v1.3RC2
PHP over CGI server (private SSL certificate)

Issues:

  1. My orders aren't shown in Zen Cart Admin section/Customers/Orders if the customer checks out with Google Checkout. I've been able to checkout but nothing more. [Done]
  2. My shopping cart not clear itself after a live Google transaction. [Done]
  3. Products With Attributes Stock v4.4 installed. This is still an issue for me, it doesn't update on itself.

I've had an "HTTP Basic Authentication failed. Can't retrieve Merchant Id/Key, Installed over CGI??" message in response_error.log from googlecheckout directory.

How it worked for me (live mode):

  1. CHMOD googlecheckout directory to 777 with Filezilla (right click on the folder, choose "File attributes", write 777 in "Numeric Value" field and pressed OK)
  2. Set the .htaccess Basic Authentication Mode to TRUE (in Zen Cart Admin/Modules/Payment/GoogleCheckout) and pressed the Update button from the bottom.
  3. Ran the htaccess.php from http://www.yourwebsite.co.uk/admin/htaccess.php
    a) Unchecked Sandbox Account
    b) Filled Merchant ID and Key with the ones from my real account.
    c) Checked "Check if dir exists:" and "Create files:"
    d) Clicked "Create"
  4. Closed the window and checked on my webserver; .htaccess and .htpasswd files have been created in the googlecheckout directory (sometime it takes a while to refresh, close the connection to the server and open it again)
  5. CHMOD googlecheckout through cpanel/File Manager of my server to 755 (this is a must in my opinion in order to work)

If it doesn't work, you must check the response_error.log and response_message.log from googlecheckout directory after you place an order. Also, look for your order number which is listed in your Google account and check in the Settings/Integration/Integration issues what is happening there. On my previous unsuccessful attempts I had 403 and 500 errors and all were due to the fact I didn't really CHMOD the googlecheckout directory properly (from cpanel).

I'm not a specialist and it’s possible to be wrong on some points but it worked for me. So please correct me if this is the case. I've wrote this after I read several pages with no real/direct info on how to get this done and I noticed there are many others in my situation.

*sorry for the way this post is written, english is not my native language

27 Jun 2007, 3:58 PM
#1815
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)

Thanks for the detailed explanation!

27 Jun 2007, 4:07 PM
#1816
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'll try to work through this for you:

hairydog:

I'm puzzled by this, but haven't started using it. I'd like to clarify how it works before I set it up! Can anyone help?

As things stand, a guest to the site can put things into their basket and then pay through GC. Is there anything to force them to create an account in ZC? If not, all the order tracking etc will be done in GC.

Google checkout creates an account for the customer and passes the info back to ZC admin.

hairydog:

Does GC send back customer details to ZC so that normal order processing can continue?

Yes

hairydog:

If so, what happens if the customer's details in ZC don't exactly match the customer details in GC?

A new account is created in ZC with the GCO details

hairydog:

If not, am I right in thinking that order details will have to be tracked from two sources? For merchants who import ZC order details into their accounting system, this will be a bit of a disaster!

Order details will still appear in your ZC admin. Use it or don't - your choice...

27 Jun 2007, 4:45 PM
#1817
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

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

chain_man:

I'll try to work through this for you:
Thanks. That was a big help.

I guess that if the order is added that way it will be in the database like all other orders.

All that will be missing will be the customer's login password, so they'll need to go to Google to see the status of their order, instead of going to the ZC store. That's not a problem.

27 Jun 2007, 6:13 PM
#1818
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

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

Great job Carlozde!

Thank you for the information.

Now that we have that straightened out. Does anyone know how to post the XML sitting in the response_message.log that didn't get processed?

I couldn't find a way to repost it from Google. Is there a way to repost it from ZC?

Anyone?

27 Jun 2007, 8:24 PM
#1819
darkazrael avatar

darkazrael

New Zenner

Join Date:
Feb 2007
Posts:
29
Plugin Contributions:
0

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

Ok guys, last question..... I swear!!!

How do I change the order of options in the shipping dropdown menu in google checkout. After placing item in cart and clicking the google checkout option the google checkout screen that display populates with "Expedited" shipping not "Standard" and as such the initial cost that you see is higher, which may put someone off. In the Zen checkout Standard shows above Expedited (Configured by sort order).

The drop down menu on the google checkout page has the Expedited option as it's first value, and also in the back end where you configure the custom modules Expedited shows above Standard. (In Google payment module where you place the default values of each shipping option).

If anyone knows how to change this I would really appreciate the help. If it's been answered elsewhere, I apologize, I can't find it.

28 Jun 2007, 4:18 AM
#1820
teebo avatar

teebo

Zen Follower

Join Date:
Jun 2007
Posts:
104
Plugin Contributions:
0

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

DarkAzrael:

Ok guys, last question..... I swear!!!

How do I change the order of options in the shipping dropdown menu in google checkout. After placing item in cart and clicking the google checkout option the google checkout screen that display populates with "Expedited" shipping not "Standard" and as such the initial cost that you see is higher, which may put someone off. In the Zen checkout Standard shows above Expedited (Configured by sort order).

The drop down menu on the google checkout page has the Expedited option as it's first value, and also in the back end where you configure the custom modules Expedited shows above Standard. (In Google payment module where you place the default values of each shipping option).

If anyone knows how to change this I would really appreciate the help. If it's been answered elsewhere, I apologize, I can't find it.

change the sort order