New Zenner
- Join Date:
- Oct 2006
- Posts:
- 25
- Plugin Contributions:
- 0
Google Checkout module for ZC 1.3.x (beta)
I have the EXACT same issue. Haven't figured it out yet...
Views: 1,101,136
New Zenner
I have the EXACT same issue. Haven't figured it out yet...
New Zenner
brownsgreens:
I have the EXACT same issue. Haven't figured it out yet...
if you mean the same thing i posted, do you have your bank account verified with google yet? I dont, but I assumed I could still receive payments, or atleast would get an error.
Totally Zenned
What do you mean it finishes without any errors? Does it not take you to the google checkout page and ask for shipping info and payment info? Please be a little more clear.
njpins:
i recently installed zencart 1.35 and the patch.. then the dr byte revision of thegoogle checkout payment module.. when i make a test order google checkout shows up as a payment option, i select it, then the order just finishes without any errors. it mails a confirmation to the user and adds it to my orders page in admin. however it doesnt do anything with google. it doesnt ask the customer for their credentials and nothing shows up in my googlecheckout account.
New Zenner
voltage:
What do you mean it finishes without any errors? Does it not take you to the google checkout page and ask for shipping info and payment info? Please be a little more clear.
Yes, its almost as if i chose check/moneyorder. I select google checkout as the payment option. I click next. It takes me to the confirmation page. I click next again. Then it takes me to the thankyou page.
Since my last post I made sure that i was using the flat rate shipping module and had that option checked in the googlecheckout payment module settings. still didnt help though.
New Zenner
I have problem with product with options and shipping charge. All the options are displayed something like "---" in google cart. Shipping fee is not add to google cart also. Please share your soultion.
Many thanks
New Zenner
njpins:
Yes, its almost as if i chose check/moneyorder. I select google checkout as the payment option. I click next. It takes me to the confirmation page. I click next again. Then it takes me to the thankyou page.
I figured it out, and im feeling kind of dumb for being a tech who didnt rtfm.
the reason is because i didnt not rename the templates folder when copying everything over for google checkout, so the checkout button doesnt show up on the shipping page. i just copied the files to where they need to be and it works now.
I didnt read the readme this morning when i installed it because it didnt format correctly in notepad. i used vi just now and felt really dumb.
Totally Zenned
Thats interesting. I'm using 1.3 (not 1.35) and I didn't realize that I don't have it working either! :wacko: I have the button in the shopping cart page, but no button shows up in the checkout payment screen. Meaning, the customer can choose the zencart checkout or google checkout from the shopping cart page, but if the customer chooses the zencart checkout from the shopping cart, there is no option for google payment on the checkout payment page. And I DID copy over the templates.
Any thoughts?
New Zenner
voltage:
Thats interesting. I'm using 1.3 (not 1.35) and I didn't realize that I don't have it working either! :wacko: I have the button in the shopping cart page, but no button shows up in the checkout payment screen. Meaning, the customer can choose the zencart checkout or google checkout from the shopping cart page, but if the customer chooses the zencart checkout from the shopping cart, there is no option for google payment on the checkout payment page. And I DID copy over the templates.
Any thoughts?
I am pretty sure that is how it is supposed to work. Dissapointing, I know. The main reason for installing the module instead of just making a link is for the notifications via the API callback. So now I have to figure out how to get ssl working in apache2, but thats a differant forum
Totally Zenned
Well, not so much disappointing as surprising. But its a good thing in my opnion. One of the most confusing thing about the paypal mod is that the customer signs up for an account, goes through the whole checkout process, hits confirm, is take to a new screen asking if they have an account, they then re input their info or at least confirm their payment and shipping info and then hit confirm. Whew! Too much work.
In fact, for all of those people who use paypal only and have been screaming for a checkout not requiring an account, this is it.
New Zenner
GlobalVillage:
I am seeing this error in the Integration Issue Detail:
XML failed to validate against the schema at line: 48, column: 48, with error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'shipping-taxed'. One of '{"http://checkout.google.com/schema/2":rate, "http://checkout.google.com/schema/2":tax-area}' is expected.
Has anyone using GC had a sale complete yet?
I got the same warning...
XML failed to validate against the schema at line: 46, column: 46, with error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'shipping-taxed'. One of '{"http://checkout.google.com/schema/2":rate, "http://checkout.google.com/schema/2":tax-area}' is expected.
What is this warning? Is it becuase I have multiple flat rates?
Thank you,
New Zenner
gems14k:
I got the same warning...
XML failed to validate against the schema at line: 46, column: 46, with error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'shipping-taxed'. One of '{"http://checkout.google.com/schema/2":rate, "http://checkout.google.com/schema/2":tax-area}' is expected.
What is this warning? Is it becuase I have multiple flat rates?
Thank you,
I am using the table rate but I was not putting enough info in the rate table. Under $30 I charge $6.95 and over $30 shipping is free.
I assumed this was what the rate table needed:
29.99:6.95,30:0.00
Anything over thirty would be 0.00
Nope ya gotta do it this way
29.99:6.95,5000:0.00
This way any amount over 29.99 up to 5000 will show 0.00
The error I was getting from GC was because it was not passing a shipment amount. Check your flat rate setup as it may not be passing the shipping on to GC
New Zenner
I'm getting the same XML error (Invalid content was found starting with element 'shipping-taxed'. One of '{"http://checkout.google.com/schema/2":rate, "http://checkout.google.com/schema/2":tax-area}' is expected), using table-based shipping. The table seems to be fine; the proper shipping amounts are being passed on to Google Checkout and added to my test orders, but I'm still getting the error. Thus far, it's got me stumped.
Also, for test orders placed through Google Checkout (using the sandbox), no sign of the order ever shows up in the Zen admin pages...nothing in reports, no customer details, etc. I'm not sure if the XML error above is preventing the API callback from working correctly, or if this is a completely separate and unrelated issue. I'd be interested in hearing if any other people with the XML error are having the same problem.
Any thoughts or advice would be most appreciated, and I apologize if I've committed any newbie faux pas in my inaugural post...
New Zenner
I got my earlier issue worked out with the checkout button not appearing.
Now, when I'm using sandbox mode, I seem to have the same problem as the previous post. I'm not getting xml errors, but the order processes at google, then sends me back the my site, however my purchase is still sitting in my shopping cart and zen hasn't processed it as an order.
Any ideas?
New Zenner
GlobalVillage:
I am seeing this error in the Integration Issue Detail:
XML failed to validate against the schema at line: 48, column: 48, with error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'shipping-taxed'. One of '{"http://checkout.google.com/schema/2":rate, "http://checkout.google.com/schema/2":tax-area}' is expected.
Has anyone using GC had a sale complete yet?
Everyone,
Thanks for reporting this issue. It's a bug in the code; there's an extra statement that does not belong.
Here's what you can do to fix it:
Open the following file in a text editor:
/admin/googlecheckout/gcheckout.php
Remove the following statement @ Line 317 (Please note that similar statement @ Line 267 should NOT be removed)
$gcheck->element('shipping-taxed', 'true');
Please reply back if this doesn't help.
Thanks,
Jacob
New Zenner
Jacob, thanks for the fix! The XML errors are gone now.
Unfortunately, it does look like the other integration problem experienced by browngreen and I (items still remain in the shopping cart after completing the order, and the order isn't processed by Zen) is indeed a separate issue. Google Checkout doesn't report anything as being wrong, but it seems something just isn't happening with the callback.
Totally Zenned
voltage:
How would you recommend integrating this with superorders? The mod calls for two edits to the file in admin/orders.php. If you use super orders, the file used it admin/super_orders.php?
Whatever the mods are for orders.php, find the quivalent line in super_orders.php and make the same change. Remember, super_orders.php is based on orders.php, and has all the same features (hence the same code), just more bells and whistles.
New Zenner
Everyone,
For those of you who have other modules installed on your Zen Cart installation, overwriting your files might break your exising installation. So I updated the contribution which now includes step-by-step installation instructions: http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_48&products_id=314
I hope this helps many people. Please don't hesitate to leave any questions or feedback; I'd be more than happy to help you get started.
Thanks,
Jacob
Obaa-san
Please add your contribution to the Downloads Section.
Zen Follower
Attribute bug.
If the attribute are not showing up at Google CheckOut page, you can edit the following code to fix it. This is a temporary fix.
Change following on line 91 and 101.
$attributes = $db->Execute("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix
from " . TABLE_PRODUCTS_OPTIONS . " popt, " .
TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " .
TABLE_PRODUCTS_ATTRIBUTES . " pa
where pa.products_id = '".makeSqlInteger($products[$i]['id']).
"'and pa.options_id = '" . makeSqlString($option) . "'
and pa.options_id = popt.products_options_id
and pa.options_values_id = '" . makeSqlString($value) . "'
and pa.options_values_id = poval.products_options_values_id
and popt.language_id = '" . $languages_id . "'
and poval.language_id = '" . $languages_id . "'");
to
$attributes = $db->Execute("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix
from " . TABLE_PRODUCTS_OPTIONS . " popt, " .
TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " .
TABLE_PRODUCTS_ATTRIBUTES . " pa
where pa.products_id = '".makeSqlInteger($products[$i]['id']).
"'and pa.options_id = '" . makeSqlString($option) . "'
and pa.options_id = popt.products_options_id
and pa.options_values_id = '" . makeSqlString($value) . "'
and pa.options_values_id = poval.products_options_values_id
");
Your are removing 2 lines:
and popt.language_id = '" . $languages_id . "'
and poval.language_id = '" . $languages_id . "'
The value of $languages_id is NULL causing no attribute to appear. By removing it, the attribute will appear. Website with only one language should not be have any problems. Websites with 2 or more languages may or may not have problems. I have not tested it out on multilanguage sites.
Zen Follower
**** MAJOR BUG: ****
If you place an order through Google Checkout, it will appear in your Admin orders.
The address of the order will be added/link to the Customers address book If it finds a customer with the same name.
If you delete the Google Checkout order, the address book for the customer will be ruin!
All the addresses in the address book will be change to same address. (i.e. If you have 10 address entry in your address book. All 10 will have the same address.)
If you are attempting to re-create the error, make sure you backup your database before you delete the order.
Tell staff why this post should be reviewed.