Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
GlobalVillage
I have ZenCart 1.3.7 and Google Checkout 1.0.4r installed
The transaction works fine and I have tables set for shipping.
GC creates a Customer and an order with totals and even tax but I still do not have any product added to the database.
As it stands now I have to manually add the items purchased from my GC Inbox.
Does anyone one have a fix/forum post for this? I've searched the 1000+ posts here and have yet to find a detailed explanation.
Thanks all...
Hi global
have u tried with newer releases?
ropu
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Thanks Chainman. I missed seeing that in ropu's 1.3RC1 announce last Friday.
http://www.zen-cart.com/forum/showpo...&postcount=941
Now I see the last item listed:
Thanks Ropu!
However when I scanned thru the "Progam Policies and Guidles" at
http://checkout.google.com/seller/policies.html#4
I'm uncertain how to interpret "Google Checkout must be available as a checkout option at least 95% of the time". This is vague and ambiguous. In this regard how is "time" defined.
I can say about 75% of out items are physical goods and the other 25% are downloads. So would this disqualify us?
However, I can say in regards to total historical shop "sales" the downloads amount to less than 5% in both dollar purchases and unit volume. So would this qualify?
If not I guess this rules us out! Argh.
An unrelated question. If the GC for ZC mod is installed, where does the "checkout" link in Zen Cart main menu (in the header) point to?
Woody
woddy, im not sure about how to interpret those terms, if u want i can double check with jacob, or u can port in http://groups.google.com/group/googl...velopers-forum
regarding the link in the header, it points to regular checkout if logged, or login page if not
ropu
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Thank you Ropu for updated 1.30RC1rev1 mod and the included helpful readme and install documentation.
Good to see the payment module install only requires the merging (replacing) of five clearly defined code snippets into four Zen Cart files (/admin/orders.php and three template files). Makes for a straight forward installation.
Some questions/comments regards to a few entries in each doc.
I. README:
A. I'm a little confused by the organization of the section below. Does this info apply ONLY to those whom are running PHP as CGI? Or does the "spoofed messages" issue apply to everyone?
B. The following item is listed in the "Common Mistakes" section but I don't see this step listed previously in the readme step-by-step process. Is this set in Google Checkout account on the Google server or in the Zen Cart payment module admin?
C. The following entry in the readme toubleshooting section references "see above fix" Not sure what that "above fix" is?
II. INSTALLATION
A. Regards to "Option B" for merging code.
I suspect the path below:
should be:
Thanks!
Woody
woddy
A. spoofed messages apply to anyone that enables this feature. because this basically disables PHP check for Basic Authentication, this is why .htaccess must be added so apache validates it.
B. That must be setted in the Settings->Integrarion section of you Google Checkout Merchant page.
C. changed to "fixed in v1.0.5"
II. Docs fixed
Thx again Woody
ropu
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
chain_man
I would like to see a self-calculating substitute for this file that just reads the Shipping module entries and automatically uses them for GCO setup. This file is the most vulnerable part of this add-in, in my opinion.
I hope this helps.
chain, that was the main idea when starting codign the module.
but Zencart spec are not so strict when defining shipping quotes. The only way is calling the method quotes(), setting the order, the address, etc etc. and u are not certain to get all the methods. Also spending the time it take to calculate them
so i decided to "hardcoded" in the googlecheckout class. i try to create a standard structure and easy(?) to scale...
to make this easier i coded the http://demo.globant.com/~brovagnati/tools/ -> Zencart Automatic Shipping Method Generator
hope this helps
ropu
Re: Google Checkout module for Zen Cart (beta)
Hi ropu,
Many of my posts while you were away on holiday, regarding documentation and such, were suggestions intended for your review and hopefully incorporate relevant edits into documentation. Myself I am past those questions. I was just presenting those points as they were/are confusing to me so I assumed would be confusing to others/noobs.
My main issue is getting past the shipping configuration problem I have posted on. If you have any recommendations or solutions regards to the issue presented in my last post 1090, that is my most pressing need.
Were you able to install the simple shipping mod (itemnational/iteminternational) which I previously (several times) posted the download link to in this support thread? I'm hoping to know soon if Google Checkout for Zen Cart will be compatible with that very basic shipping configuration.
Thanks,
Woody
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
chain_man
Here's my tpl_checkout_payment_default.php
Quote:
Originally Posted by
chain_man
And my tpl_shopping_cart_default.php:
Quote:
Originally Posted by
chain_man
And my tpl_login_default.php:
chain. really thx for thees code, indeed...
i'll double check them, and added in next revision
ropu
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
OK I used Ropu's Shipping Generator to generate the following:
Code:
$this->mc_shipping_methods = array(
'freeshipper' => array(
'domestic_types' =>
array(
'freeshipper' => 'Free Shipper'
),
'international_types' =>
array(
'freeshipper' => 'Free Shipper intl'
),
),
'itemnational' => array(
'domestic_types' =>
array(
'itemnational' => 'Per Item National'
),
'international_types' =>
array(
),
),
'iteminternational' => array(
'domestic_types' =>
array(
),
'international_types' =>
array(
'iteminternational' => 'Per Item International'
),
),
);
$this->mc_shipping_methods_names = array(
'freeshipper' => 'Free Shipper',
'itemnational' => 'USPS Media Mail',
'iteminternational' => 'USPS Air Mail',
);
And then I inserted into googlecheckout.php
(I think this is the same code as Doug previously offered up).
But still same error when submitting order:
Code:
<error-message>Duplicate shipping name FREE SHIPPING! found.</error-message>
I'm stumped.
I should add that no errors are showing up in response_error.log
But I figured out the answer to one of my previous trivia questions:
mc = merchant calculated
Doh! Now only if I could answer some of the more important questions. Such as where do I go from here? And why doe this mod not want to work for me?
Woody
woddy, there is an issue im trying to figure out when ONLY flat rates are used.
i'll update tomorrow, and continue trying to cathc up with all the post, im missing JUST 80 :D
ropu
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
chain. really thx for thees code, indeed...
i'll double check them, and added in next revision
ropu
Glad to help, Ropu!
Re: usps shipping calculation failed
Quote:
Originally Posted by
Jefflam
Hi Ropu,
Thank you for your help.
Here is my test result:
XML We Sent:Authorization: Basic XXXXXX:XXXXXX
Content-Type: application/xml;charset=UTF-8
Accept: application/xml;charset=UTF-8
X-Origin-IP: xx.xxx.xxx.xxx
XML We Received:SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:func(144):reason(134)
Time to response: 0.77490711212158 segs
Ropu, Can you clarify my problem? Do I need to find a good SSL?
Jefflam
I'm having the same problem, but I did successfully install the SSL certificate and have dedicated IP on shared host. When I run the Responsehandler Test for URL https://www.diamondsonthesolesofhers...nsehandler.php,
I get:
SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:func(144):reason(134)
[FONT=Verdana]I'm not sure why this is because I have verified the integrity of the certificate in more than one browser.[/FONT]
The most peculiar thing though, is that if i test an order and enter a coupon code, it is now working almost, the coupon can now be applied (it couldn't verify before I had installed SSL) HOWEVER, there is no discount --> the discount remains at $0.00 even though I have it set up to take 20% off. :frusty:
I tried creating more coupons to test with but get the same result everytime if i make the coupon based on % discount. If i make it based on $ off, I get this:
Invalid coupon code Retry
The minimum order total for this coupon is $40.00 (tester)
Incidentally, i'm using google-checkout-osc-v1.2RC3rev1 contribution for the coupon support - and got this from http://code.google.com/p/google-checkout-oscommerce/
I also looked at error logs in the google merchant checkout account (at integration settings) but I am no longer getting errors there (I was when I didn't have the certificate)... and this point bring me back to my first note that responsehandler says there's a certificate problem... ??? something seems wrong with the script, Ropu.
Any ideas what I can do? ~thanks for your consideration
Re: Google Checkout module for Zen Cart (beta)
Hi Ropu,
Welcome back...hope you had a nice vacation!
I wrote a couple of posts a few days ago, and Woody helped me out a bit, but I am still having the same problem - GCO does not give the UPS shipping rates and uses the default rates instead. My host is running PHP as CGI so I have created the ht files as indicated. I have set my API callback according to the instructions. Here is the error message I get:
Quote:
We encountered an error trying to access your server at
http://www.jay42.com/googlecheckout/responsehandler.php -- the error we got is: Sending failed with HTTP response 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> <p>You don't have permission to access /googlecheckout/responsehandler.php on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html>
Any suggestions to correct this would be appreciated. Thanks.