While continuing to troubleshoot my Google Checkout shipping config issues, I am also observing some peculiar order processing behaviors in ZC admin.
1. When I attempted to submit an order status "update" via ZC admin, with standard boilerplate text entered into the order comments box, and clicked the "update" button I observed error:
When I inserted a very brief three word comment the update submitted correctly.Code:Error 400: Bad request. The parameters passed to the service did not match as expected. The exact error is returned in the XML response.
I observe no errors in response_error.log.
However I observe in response_message.log
Why the limitation?Code:Messages cannot be longer than 255 characters.
My same boilerplate test works with other payment modules including PayPal.
2. The original order submission email was delivered to admin email address and to customer email address.
However the order "update" email message was not delivered to the admin address, only to the customer email address. I had both the 'Notify Customer" and "Append Comments' checkboxes checked. (copies of the order update emails should be delivered to admin address as well as to the customer, or at least an option provided to enable/disable delivery of order updates to admin email).
3. "Shipper Tracking Information" form field with tracking number and shipper type dropdown displays at bottom of orders page, even though not employing third party or MC type shipping. Would like to be able to disable the display of this info on admin orders form (so helpers won't get confused).
4. ALL Google Checkout server responses are displayed in the comments column. This info is accessible to customers via their MyAccount link (that is if they had a password initialized for them to allow them to log into Zen Cart). Thinking best if much of this info is displayed on the admin orders page (like PayPal IPN does) and not accessible to customer.
5. On a related note if no shipping tracking info is submitted in order status update this is info is indicated in server response comments.
Would like option to be able to disable inclusion of this info in the server response messages/comments. We will manually include tracking info in order status update comments as needed.Code:04/03/2007 12:23:17 True Shipped Shipping Tracking Data: Carrier: Tracking Number:
6. Also the time in message above indicates time for web hosting provider. When possible would prefer time based on timezone location of shop be applied. Otherwise all the various order update comments get out of synch in listing on admin orders page. I will provide more detailed observations on this later.
7. What happens if customer creates a ZC account. And then later checks out though Google Checkout (not logged into ZC) and submits an order thru GC using the same email address which was used to register ZC account?
Is a second ZC account with that same email addy created in ZC admin? Will customer whom created the ZC account be able to login to ZC and view the details of the GC order?
And then vice versa, if no ZC account is created, customer submits order thru GC. This auto creates a ZC account (but customer would not have a password). and then later attempts to sign up for ZC account. Does the customer see a message that an account with that email addy already exists? Can i click password forgotten link on login page to retrieve a password for an account created by GC? What are the validation issues and what should be expected behaviors here?
8. If customer is logged into ZC account and clicks "Checkout" in main menu, browser is directed to step one page of standard ZC checkout procedure. That means they will miss opportunity to checkout via Google Checkout.
Just some casual observations. Even if GC is only suppose to be an "Express" checkout option for ZC, there are many interaction possibilities (permutations) between Zen Cart and Google Checkout to think about. Wrapping one's head around all the code and logic needed to deal with the possibilities must be mind numbing. I'm sure Ropu can infom us in detail.
Suggestions or comments on the above?
Woody
Can someone help me out here? I thought I had everything working, but I just encountered a problem.
I believe this is related to installing the GC module, as I wasn't having this problem before installing it.
If going through the regular checkout process, on the second step I get this error:
Parse error: syntax error, unexpected T_ELSE in /includes/templates/classic/templates/tpl_checkout_payment_default.php on line 147
This is what I have in that part of the file
And this is what the original ZC stock file hasPHP Code:
<?php
if (sizeof($selection) > 1) {
// ** GOOGLE CHECKOUT **
if($selection[$i]['id'] == "googlecheckout")
continue;
// ** END GOOGLE CHECKOUT **
?>
<?php echo zen_draw_radio_field('payment', $selection[$i]['id'], ($selection[$i]['id'] == $_SESSION['payment'] ? true : false), 'id="pmt-'.$selection[$i]['id'].'"'); ?>
<?php } ?>
<?php
} else {
?>
I really don't see what the problem is. However, when comparing the file to that posted here by chain_man, I see his doesn't have this line:PHP Code:
<?php
if (sizeof($selection) > 1) {
if (empty($selection[$i]['noradio'])) {
?>
<?php echo zen_draw_radio_field('payment', $selection[$i]['id'], ($selection[$i]['id'] == $_SESSION['payment'] ? true : false), 'id="pmt-'.$selection[$i]['id'].'"'); ?>
<?php } ?>
<?php
} else {
?>
Do I need to delete this line?PHP Code:
<?php } ?>
Thanks.
Ropu is on vacation until next week. I'm suspecting your issue is not something specific to the ZC mod but to Google Checkout service (but don't take my word for it as I don't know much).
Are you seeing any relevant entries in either your response_error.log or response_message.log?
I don''t recommend posting the info in your logs as they can contain personal info. But if you do post relevant sections, be sure to "obfuscate" first.
You might want to try posting in Google Checkout support forums on Google Groups (see below). Also contact Google support directly.
Link is in your Sellers account help area. Also here:
http://checkout.google.com/support/sell/bin/request.py
(then select "Technical issues and integrating with Google Checkout")
Merchant Help Center
http://checkout.google.com/support/sell/
Merchant Forum
http://groups.google.com/group/googl...erchants-forum
Developers Forum
http://groups.google.com/group/googl...velopers-forum
(until ropu returns from holiday, posting in the last forum above may be your best bet.)
And as an extra bonus there is the "official" Google Checkout Blog
http://googlecheckout.##########################/
Good luck.
Woody
Below is what I'm using for that relevant portion of code and works fine:
WoodyCode:<?php $radio_buttons = 0; for ($i=0, $n=sizeof($selection); $i<$n; $i++) { ?> <?php if (sizeof($selection) > 1) { // ** BOF Google Checkout ** if($selection[$i]['id'] == "googlecheckout") continue; // ** EOF Google Checkout ** if (empty($selection[$i]['noradio'])) { ?> <?php echo zen_draw_radio_field('payment', $selection[$i]['id'], ($selection[$i]['id'] == $_SESSION['payment'] ? true : false), 'id="pmt-'.$selection[$i]['id'].'"'); ?> <?php } ?> <?php } else { ?> <?php echo zen_draw_hidden_field('payment', $selection[$i]['id']); ?> <?php } ?>
Hi, I've been asking in this thread about supporting "instant downloads". The responses I've received have appeared to indicate that Google Checkout does not support instant downloads
However I've been scanning through the Google Checkout forums for ideas, tips, solutions and workarounds. On the Merchants discussion forum I found this Q&A:
So this appears to indicate Google Checkout supports "instant downloads", does it not?.Subject: How can I redirect?
Question: How can I redirect a buyer to a download page right after receiving a payment?
Answer: You have to use the XML API and use the <continue-shopping-url> tag.
Ropu, I know you have much on your plate with supporting other Zen Cart/Google Checkout features. But is "instant downloads" support something you plan to eventually (soon) integrate into your mod? If you need a tester for such functionality please let me know.
Thanks,
Woody
If you desire and request a feature in the Google Checkout for Zen Cart mod, sometimes it's good to know if such functionality is supported by Google Checkout.
Here's a posting board with the latest "wishlist".
New Feature Suggestions for Google Checkout
http://groups.google.com/group/googl...oogle-checkout
Note the URL is a long one...
Bookmarks