-
Re: Google Checkout module for Zen Cart (beta)
Hi ropu,
Just PM'd info below:
National and International Per Item Shipping
http://www.zen-cart.com/index.php?ma...roducts_id=334
Basically the shipping "mod" above just includes the easy steps to create your own two basic flat rate/per-item Zen Cart shipping modules, one for shipping to USA addresses and one for all other addresses. Very simple in concept and implementation. The Zen Cart founders turned me on to the idea several years ago and I have employed ever since.
The idea is you set a different handling charge for domestic and international addresses. And then you add a per item shipping charge, which is also different for domestic and international addresses. It very well approximates the actual shipping costs for USPS Media Mail and USPS Air Mail services, without the need to log in to shipping provider for shipping estimates and third party shipping charges. Really saves on confusion for the customer and shop owner. It is only recommended for those shops shipping items of similar size, shape, packaging and value. In our case books and DVD's.
Hope this clarifies the need.
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
Hi global
have u tried with newer releases?
ropu
I did try the new release and I got this error:
>>
Error parsing XML; message from parser is: Invalid value for body of allowed-areas in checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/shipping-methods/merchant-calculated-shipping/address-filters: Must be a U.S. 2-letter postal code or state name
<<
I restored it back to the old version to at least have it online.
-
Re: Zen Cart and Jrox Affiliate Integration with Google
I was told to direct this question to this part of the forum. Can anybody PLEASE help me?
Any assistance is appreciated.
Quote:
Originally Posted by
theangel2g
How do I make the below changes what files etc. I was referred back to Zen Cart for this information. I did the first part now I need help with the 2nd part.
Answer:
(This is a copy and paste from Jrox forum:)
actually, we've been approved for tracking.
In order to use JAM with Google Checkout, you need to contact Google and ask them to whitelist your domain.
Secondly, you will need to edit the shopping cart you are using with Google Checkout to add some XML code in it:
http://code.google.com/apis/checkout/developer/checkout_pixel_tracking.html
QUESTION: what file exactly to edit? Im using zen cart
Answer:
this is actually done on the shopping cart side, not JAM.
once we get more information on this, we'll post it.
-
Re: Zen Cart and Jrox Affiliate Integration with Google
I got this error today
*****
We encountered an error trying to access your server at .../googlecheckout/responsehandler.php -- the error we got is: roproxy.prod.google.com
******
Anyone knows what causes this?
-
Re: Google Checkout module for Zen Cart (beta)
I regenerated my .htaccess and .htpasswd files today using only my sandbox merchant account and password, and set the CHMOD on my googlecheckout directory to 755. These actions eliminated the error message above and replaced it with this new one:
We timed out waiting for your server at http://www.Jay42.com/googlecheckout/responsehandler.php -- the error we got is: Read timed out Your server must respond faster to merchant calculation callback requests.
Am I getting warmer....or colder? :blink:
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
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:
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.
When I inserted a very brief three word comment the update submitted correctly.
I observe no errors in response_error.log.
However I observe in response_message.log
Code:
Messages cannot be longer than 255 characters.
Why the limitation?
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.
Code:
04/03/2007 12:23:17 True Shipped
Shipping Tracking Data:
Carrier:
Tracking Number:
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.
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
im taking note of this. i'll be answereing each point when they are solved or have an answer
thx again
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
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?.
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
The continue shipping url could work fine
but have some issues!
1: it can bee seen in the cart you sent to google, so buyer can know the url!
2: if u dont anable the url until new order notif arrives will solve problem 1, but, google do not warranty when New order notif arrives. it usually take few secs, but is NOT synchronic, so it may take some time and the continue url wont be enabled, making the buyer confuse...
but im open to ideas...
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
sorry about that, those msg get to my gmail account... even in vacations i can log out from gmail :P
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Regards to emails sent by Google Checkout to (both Buyer & Seller/admin). We do all our email in text (not HTML). The text email messages we receive back from Google Checkout are not well formatted messages and very difficult to read.
1. Adding simple line breaks to the email template would fix most of the text formatting issues.
2. Could the "From" and Reply-To email address for the messages sent out by Google be configured with our shop (sellers) email address? And then allow customers to respond to the email message. Stating "Please do not reply to this message." is VERY BAD customer service and will turn off our customers!!!
3. Also at the bottom of message I observe: "Have questions about this order? Contact SellerName".
Besides the SellerName it would also be good to include the sellers email address.
4. On the test "buyers" shipping status message which I received, I observe the address under "Purchased From" is only half correct. That is only street number but not the street name is included. (might be a problem with my account set-up at Google, will check into it).
5. Need a location for the buyer to enter "Attn To:" when submitting order, and then if entered by customer, display Attn To: within the "Ship to:: address.
6. Ability to remove "Shipping Tracking line" in the email message.
7. Method to include Shop (Zen Cart) order number as well as Google Order number.
8. Shipping Status label and the word Shipped are not adjacent to each other.
9. Itemize each ordered product on it's own item line (item qty, item price, total amt for the line).
Then a dashed line (separator)
Then a SUBTOTAL line.
Then a S&H line.
Then a Tax line (if applies...keep in mind some locales charge S&H before tax, others after tax).
Then a dashed line (separator)
Then the TOTAL line (Emphasize IN CAPS).
10. Remove "(includes Tax (State) $0.00)" from Total line and move to under SubTotal as above. And for locales that don't apply tax, remove Tax line altogether.
11. In email to buyers, add a URL link to Buyers Account login, adjacent to "Check the status of this order anytime in your Google Account".
12. Best to look at how Zen Cart formats customer and admin email messages (for both HTML and text formats). And check out how PayPal IPN does it and emulate. no need to reinvent the wheel here.
Below I've ADDED line breaks and improved formatting of the Order "Status" change email message which Buyers currently receive. Hopefully similar formatting can be incorporated into future GC ZC integration:
Purchased from:
FNAME LNAME
Street Address
City ST POSTALCODE
COUNTRY
Ship to:
FNAME LNAME
Street Address
City ST POSTALCODE
COUNTRY
Hello FNAME,
Great news! Your order has shipped, and should arrive soon. Your credit card has successfully been charged for this order.
Track USPS package #n/a
Order Details - DATE - TIME TZ-00:00
Google Order #123456789012345
Shipping Status:
Qty Item Price <<<< This line is out of sequence and needs moved down!!!!
Shipped
ITEM_QTY ITEM_NAME $ITEM_PRICE
Shipping & Handling (Shipping Method) : $SHIP_AMT
Total: $TOTAL_AMT (includes Tax (Zone) $TAX_AMT)
Check the status of this order anytime in your Google Account.
Have questions about this order? Contact SELLER_NAME
Need help? Visit the Google Checkout help center. Please do not reply to this message. ©2007 Google
--
Thanks,
Woody
im emailing google guys with this suggestions..
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
tj1
Thanks Woodymon.
I sell true wholesale so profit margin is very small and I also offer free shipping on all domestic orders.
The low order fee is not for using a credit card to pay, but rather a convenience service fee for such a small order regardless of payment method.
I believe this is acceptable, I've literally seen thousands of merchants implementing something similar.
I did a few searches trying to find if this is a violation of the credit card companies' TOS, but I couldn't come up with anything. If you find something please let me know.
I hope ropu can come up with a solution. I'll leave it as it is for now, hopefully I won't get many small orders through GC and customers won't notice and abuse this loophole.
hi, im not sure how it works internally min sell, but waht u can do is add an item in the GC cart that contemplates the charge...
this can be done in googlecheckout/gcheckout.php after the block that start in line 108
if need further help, will try to figure out a solution, but please try to fins out how the module works, how it detects witch is the minimum order, how to get the cost of not reaching that minuium, and all info regarding that module so i can guide u to the solution
hope this helps, ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
I agree that a bit more clarification in the readme of who should run /admin/htpasswd.php and who should run the provided tool on Ropu's site (and why the difference). And the readme should not include http:// to describe an absolute path.
Woody
thx woody!
the .htaccess satarted as a hack, later a tool and now part of the module distro.
:D
this is why i still have it hosted in tools, because it can also be used by other non zencart merchants...
but all zencart merchants are encouraged to use the one that is provided in the module, because is easier and automatically detects the directory and creates the necessary files
ropu
-
Re: The order does not show in my Sandbox
Quote:
Originally Posted by
Sojourner
My orders are showing up in the Customer Orders section and are listed as pending. When I log in to my sandbox account there are no orders there.
If I do
https://www.mydomain.com/cart/google...nsehandler.php
I see the following:
Mon Apr 9 15:37:02 US Mountain Standard Time 2007:- Invalid
Is that causing the problem?
I'm in Michigan so the time should be eastern time; however, I do not see where to change it in the admin section.
Other than no orders showing up in my sandbox account everything else seems to be working great. I go through the order process and the confirmation email is sent to my test user.
Misc Information about my setup:
I am testing using the sandbox for googlecheckout with the latest versions of zen-cart and googlecheckout. (downloaded from Ropu's sig)
I have activated the sandbox account and set the Integration settings to the following:
API callback:
https://www.mydomain.com/cart/google...nsehandler.php
Callback method: XML
Shopping cart post security checkbox is checked.
I do have SSL enabled.
I am on a shared windows server that has PHP4 and curl installed.
The MySQL 5 database is set to cache to the database.
Since I do not have the getallheaders function I had to comment out the security authentication checks. I did Ropu's recommendation of creating the .htaccess and .htpassword files.
I've checked for spaces in my merchant key and merchant ID and both look good. I got them from the sandbox account and double checked that I am not using my production keys.
hi
one thing, there is no need to comment the auth code, just enable 2. .htaccess Basic Authentication Mode with PHP over CGI?
from the admin UI in the google checkout moudule, and will be done automaticaly by the program
2. double check that ur orders arnet in the archive tab in sandbox
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
DragonLord
I posted earlier with a problem with google checkout
I upgraded my zen cart from 1.3.5 to 1.3.7 and I also upgraded to the latest version of google checkout module.
My host runs php as cgi and I set up the htaccess files using the generator code supplied.
The problem is that when I place an order as a customer through google checkout I get an error screen that says "oops zencart has sent google a bad shopping cart."
When I go to my google checkout merchant account it in my integration issues it says " Duplicate shipping name Table Rate found."
In the xml there are 2 different lines that read
<flat-rate-shipping name="Table Rate">
I have not been able to find out what is causing this error. I have been looking through this thread for the last 2 days trying different suggestions but nothing seems to work.
Please help me
flat rates items are an issue right now
a fast solution is recommended,.
in the includes/modules/payment/googlechekout.php line 50
change this
PHP Code:
$this->shipping_support = array("flat", "item", "table", 'freeoptions', 'freeshipper', 'perweightunit', 'storepickup');
with
PHP Code:
$this->shipping_support = array();
this is a TEMPORAL fast solution, but not the best
it will do merchant callculation callback for flat rate shippings. the issue is in the creation of the cart, im working on it to fully support all flat rate shippings
ropu
-
Re: usps shipping calculation failed
Quote:
Originally Posted by
vrwired
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
that issue is because of a proxy config in my srv, try to point to ur server with an HTTP address instead of an HTTPS
thx
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Jay42
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:
Any suggestions to correct this would be appreciated. Thanks.
it seams that u have the wrong credentials!
try entering http://www.jay42.com/googlecheckout/responsehandler.php and put as user ur merchant id and password ur merchant key
if u cannot enter, u must re run the htaccess.php generator.
also some people reported that some hosting do not allow access to folders with 777 perms... have u turned back to original permission??
hope this helps
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Hi ropu,
Just PM'd info below:
National and International Per Item Shipping
http://www.zen-cart.com/index.php?ma...roducts_id=334
Basically the shipping "mod" above just includes the easy steps to create your own two basic flat rate/per-item Zen Cart shipping modules, one for shipping to USA addresses and one for all other addresses. Very simple in concept and implementation. The Zen Cart founders turned me on to the idea several years ago and I have employed ever since.
The idea is you set a different handling charge for domestic and international addresses. And then you add a per item shipping charge, which is also different for domestic and international addresses. It very well approximates the actual shipping costs for USPS Media Mail and USPS Air Mail services, without the need to log in to shipping provider for shipping estimates and third party shipping charges. Really saves on confusion for the customer and shop owner. It is only recommended for those shops shipping items of similar size, shape, packaging and value. In our case books and DVD's.
Hope this clarifies the need.
Woody
htx woody, i've seen it and working with it!
thx again for all ur help to me and all merchants! very appreciated!!
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
GlobalVillage
I did try the new release and I got this error:
>>
Error parsing XML; message from parser is: Invalid value for body of allowed-areas in checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/shipping-methods/merchant-calculated-shipping/address-filters: Must be a U.S. 2-letter postal code or state name
<<
I restored it back to the old version to at least have it online.
hi
this error must be that some of ur tax us zones has a not valid state code name.
please use http://demo.globant.com/~brovagnati/tools Decode Shopping Cart to see how ur cart is created, (or have a look in the integration section)
there u must find witch state is wrong (or empty, etC)
ropu
-
Re: Zen Cart and Jrox Affiliate Integration with Google
Quote:
Originally Posted by
theangel2g
I was told to direct this question to this part of the forum. Can anybody PLEASE help me?
Any assistance is appreciated.
hi
u need to modify googlechekcout/gcheckout.php near line 188
hope this helps
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Jay42
I regenerated my .htaccess and .htpasswd files today using only my sandbox merchant account and password, and set the CHMOD on my googlecheckout directory to 755. These actions eliminated the error message above and replaced it with this new one:
We timed out waiting for your server at http://www.Jay42.com/googlecheckout/responsehandler.php -- the error we got is: Read timed out Your server must respond faster to merchant calculation callback requests.
Am I getting warmer....or colder? :blink:
hi
try using Responsehandler Test
this looks like ur shipping provider timed out,
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Here's my results:
Time to response: 5.2493069171906 segs
Note: This script MUST response in less than 3 sec. so GC srv doesn't timeout.'
Any way to shorten response time?
-
Re: Google Checkout module for Zen Cart (beta)
Hi
im plannig drop a new release on monday
but now i drop BETA RELEASE for testers!! stable, but not fully tested...
April Friday 13th 2007 v1.3RC2 (ropu)
- Support for UK merchants
http://code.google.com/apis/checkout...ase_notes.html (apr13)
- Updated Templates to Zencart v1.3.7
- Docs update
- Minor bug fix
- Added Shipping Generator Tool in the stardard package (Optional)
- Flat rate shipping bug fixed
- Improved tax and shipping restrictions
UPDATE from v1.3*
================
Modified Files:
1. YOUR_ZENCART_FOLDER/admin/includes/functions/extra_functions/added_function_for_google_checkout.php
3. YOUR_ZENCART_FOLDER/googlecheckout/gcheckout.php
4. YOUR_ZENCART_FOLDER/googlecheckout/responsehandler.php
5. YOUR_ZENCART_FOLDER/includes/modules/payment/googlecheckout.php
6. YOUR_ZENCART_FOLDER/includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
7. YOUR_ZENCART_FOLDER/includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php
Removed one template! tpl_checkout_payment_default.php
New Files: (Optional)
1. YOUR_ZENCART_FOLDER/googlecheckout/shipping_generator/*
must remove/install the module
its done, but i need some beta test... it's working with flat rates, and with both items national and international
try it here
http://demo.globant.com/~brovagnati/zen_demo2
here is the package (BETA RELEASE for testers!! but stable)
http://demo.globant.com/~brovagnati/....3RC2_beta.zip
thx for everything
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Hi there,
I've read through many (but not all!) pages of this thread, and it looks like the mod for zen cart does not yet support downloads, is that right? Someone from Google posted this on the Google forum:
Quote:
Checkout is designed primarily for shipping tangible goods. Digital
delivery is not built in to Checkout and you will have to work with a
shopping cart or e-commerce developer if you would like to automate
delivery.
Don't let this stop you, though. It is definitely acceptable to use
intangible goods with Google Checkout.
Joel
GoogleCheckoutPro
So it sounds like there *should* be a way to integrate it, but I'm just not sure how??? Has anyone had any success with this yet?
-
Re: Google Checkout module for Zen Cart (beta)
ROPU..http://200.69.205.154/~brovagnati/zen_demo2/
Add product to cart produces errors...
-
Re: Google Checkout module for Zen Cart (beta)
Hi ropu-
Your 1.3-RC2beta update fixed my shipping issues!!!!! Thank you!!!!
With that said below are some suggestions for mod improvement (in order of priority):
1. Email formatting issues for messages sent to both shop admin and customer, accepting email in text format only. (test email format support is a MUST!)
2. Email addressing issues (customer should at least be able to reply to the "Order Receipt" message and thus the reply to address should be the shop admin email address).
3. On the last Google Checkout page which displays after an order is processed, provide an option for a link and a redirect to a Zen Cart checkout success page.
4. Support for "split login page" functionality built into Zen Cart 1.37.
Other suggestions:
- a few additional clarifications/edits in the mod docs
- clean-up of "shipping methods generator" readme and more comprehensive explanation/example on how to use the "shipping methods generator" is needed.
I will PM you my suggestions regards to the above.
Also is it possible to generate a wishlist in this thread for features we would like to see implemented in the Google Checkout for Zen Cart mod. Of course with an understanding of the current limitations and status of the Google Checkout system itself.
Thanks again for making shipping happen. Now we can test the mod more thoroughly ;-)
Woody
-
Re: Google Checkout module for Zen Cart
I'm about ready to scrap this, but figured I'd give it one more shot....
I ran the Responsehandler test again and got these results:
Quote:
XML We Sent:
Authorization: Basic XXXXXX:XXXXXX
Content-Type: application/xml;charset=UTF-8
Accept: application/xml;charset=UTF-8
X-Origin-IP: 71.228.86.156
XML We Received:
HTTP/1.0 200 OK
Date: Sat, 14 Apr 2007 09:04:33 GMT
Server: Apache/2.0.54 (Unix) PHP/4.4.4 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.3.2
X-Powered-By: PHP/5.2.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: zenid=xxxxxxxxxxxxxxxxxxxxxxxxxx; path=/; domain=www.Jay42.com
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1
X-Cache: MISS from proxy.globant.com
Proxy-Connection: close
Sat Apr 14 2:04:33 PDT 2007:- Invalid
Time to response: 0.66205787658691 segs
Note: This script MUST response in less than 3 sec. so GC srv doesn't timeout.'
I was encouraged by the fact my response time was far less than 3 seconds, so again I placed a sandbox order and got the default shipping rates - not the UPS rates. Then, I logged into my Merchant Sandbox and retreived the following error message:
I've read and re-read all the posts in this forum over and over again, and am really at a loss as to what is causing these errors.
I'm not a programmer and certainly no expert on the meaning of the results in the above test, so perhaps there is something you can tell me that can help me fix it???
Also, what I'd really like to know is....who are you, Ropu? Do you work for Google? I can't imagine you'd spend as much time on this mod as you seem to if you were doing it for free, or for a few Paypal donations.
The obvious reason that store owners want this mod installed is for the free charges until the end of the year. My average order is about $500, so the 2.5% savings I would experience equals $12.50 more in my pocket on just about every order I fill. That adds up. But I really can't become a Google Beta tester...I simply don't have the time....I have a business to run.
So if you do work for Google, Ropu, tell them you need help in getting a stable release to market for the Zen Cart community ASAP....a release that even a novice user can install effortlessly. If you are doing this from the kindness of your heart, and not getting paid, then please email me when you have a stable production version and I will Paypal you my donation. And please let us all know who you are.:lookaroun
-
Re: Google Checkout module for Zen Cart
Quote:
Originally Posted by
Jay42
I'm about ready to scrap this, but figured I'd give it one more shot....
The obvious reason that store owners want this mod installed is for the free charges until the end of the year. My average order is about $500, so the 2.5% savings I would experience equals $12.50 more in my pocket on just about every order I fill. That adds up. But I really can't become a Google Beta tester...I simply don't have the time....I have a business to run.
I have no comments on your timeout issues. But I'm sure ropu will be able to assist. He always comes though.
But I wanted to respond as to the reason I've employed Google Checkout which is to provide an alternative low-cost checkout option which competes with PayPal (too many people still see PayPal during the checkout process and walk away). So I'm using the mod because of the free checkout fees, although that is a very nice extra.
I suspect the reasoning behind Google Checkout not charging transaction fees through the end of the year has something to do with Google expecting it would take some time for Google Checkout to mature and to allow time for integrating Google Checkout support into popular ecommerce applications (meaning BETA). Google was probably thinking that would help minimize the potential pissing and moaning about various issues throughout the beta process, if the service was not free.
If you don't want to beta test then probably best to sit on the sidelines for awhile longer until an official non-beta version is released.
At the same time it might be good idea to submit your desires to Google and/or post on the Google Groups Google Checkout Merchant Support forum.
Good luck,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
ropu,
On the Zen Cart admin orders index page, a line item appears for each order, which includes the shipping method employed to process the order.
So in my installation "itemnational" or "iteminternational" or "free", should display for the shipping method.
However on the admin orders index page "table" is displayed as the "shipping method" when purchasing with Google Checkout.
Any suggestions on displaying the actual shipping module name instead? (as other payment modules do).
Thanks,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
1. Regards to Google Checkout info posted to ZC admin orders page...
I observe ALL the responses from Google Checkout display in the comments area in Zen Cart admin orders page.
Keep in mind all info posted to the comments area is available to the customer if they log into their Zen Cart (via MyAccount) which is possible if an customer with an preexisting Zen Cart account submits an order through Google Checkout or if a new customer wants access to their order through Zen Cart... which will likely be the case when downloads are supported by Google Checkout.
So it would be best if the Google Checkout mod posted most of the responses to an area on the orders page which is only accessible to the admin. (similar to as the PayPal IPN payment mod does... display the data in an HTML table above the order comments area).
The only Google Checkout responses that should be displayed in the comments area is info that the customer should specifically have access to and would also likely be submitted to the customer through an email notification. That would include state changes from pending to processing (or other orders status changes such as canceled or refunded). (again just like the PayPal IPN mod does).
If you don't have PayPal IPN mod installed or not sure which I refer to please let me know and I can show you an example of what data PayPal data shows in the comment boxes (and thus is accessible by the customer) and what data is posted to the admin orders page (which is NOT accessible by the customer).
2. On a related admin issue...
For an order submitted through Google Checkout I observe displayed in the first comment box on the ZC admin orders page "Buyer's Password: 34600848543"
If a customer already has a Zen Cart account, then checks out through Google Checkout with the same email address, it appears Google Checkout relates that order data to the preexisting Zen Cart account. If this is the case is the previous customer Zen Cart password overwritten with the new password created by Google Checkout, or does the pre-existing Zen Cart customer account password still hold true?
Also say if a customer whom never has set-up a Zen Cart account checks out with Google Checkout, and then later revisits the shop and decides to set-up a new account. How does that process work? Zen Cart would see an account was already set-up with that specific email address and thus not allow the customer to create a new Zen Cart account with that email address.
But the customer might not understand this and become confused. What is the mechanism in place to deal with such an issue. Maybe prompt customer to click on "password forgotten" link to obtain via email the account password created by Google Checkout.
And are there any security risks to consider here?
Hope this all makes sense.
Thanks,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
ropu,
Here is some strangeness I'm observing while testing the mod in sandbox mode...
As a customer I add a single item to my shop cart then check out via Google Checkout. Then on the Google Checkout page I decide to not complete the transaction (for any reason) and then I close my browser window. Then I later revisit the shop. When I do, I unexpectedly observe the shopping cart sidebox is displayed. And the contents of the SC sidebox is "1 ea. - " with "Total $0.00". That is no actual product name is listed, just 1 each with no price and then a zero total.
This is strange as the shopping cart sidebox should not display when there were no items in the shop cart. It appears that Zen Cart is attempting to recall contents of the abandoned shop cart (when the Google Checkout order was not completed) but cannot. It's as if a 'ghost" non-item is still in the shopping cart.
But this does not become a real issue until I add an item to shop cart then proceed to the shopping cart page. At that point a yellow warning box appears stating the item in my shop cart is no longer available in inventory and has been deleted from my shopping cart.
Although this applies to the "ghost" item and not the item I just added to my shop cart, it is confusing nevertheless and not suppose to be occurring. A customer might think like I did that the message had to do with the item I just added to the shopping cart.
I installed the new Google Checkout mod on two different ZC 1.37 test shop installs and observe the same behavior. Anyone else able to replicate?
Woody
-
Re: Google Checkout module for Zen Cart (beta)
ropu,
You previously responded to my question regards to the "checkout" link in Zen Cart header, and stated that even when Google Checkout is installed, the link still directs to the step 1 of regular Zen Cart checkout (when customer is logged into Zen Cart).
Best if your mod could override this behavior, so when a customer is already logged into Zen Cart, the "checkout" link will redirect to the shopping cart page instead. Otherwise customers whom are already logged into Zen cart would miss the opportunity to check out through Google Checkout.
When you got involved in this "integration" project did you really know what you were getting yourself into? :smile:
Please stop me if I'm not making sense. :wink2:
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Regards identifying products which cannot be checked out with Google Checkout. For temporary purposes, until the Google Checkout for Zen Cart mod supports downloads, I added this to tpl_product_info_display.php
Code:
<!-- bof Google Checkout -->
<?php
if ($products_virtual = 1) {
echo '<div class="no_checkout">This download product is available through regular checkout. However currently it is not available via Google Checkout.</<br /><br /></div>';
}
?>
<!-- eof Google Checkout -->
Anyone know if Google provides a special image/icon to display for such items?
I still need to add the logic to test if the virtual downloads support checkbox in the Google Checkout payment module has been checked or not and also create a language define.
Woody
-
Re: Google Checkout module for Zen Cart (beta)
This is a little smarter. No define yet as first need to find out if Google provides an image to indicate when an item s not available through Google Checkout.
Code:
<!-- bof Google Checkout -->
<?php
if ($products_virtual = 1) {
if(MODULE_PAYMENT_GOOGLECHECKOUT_VIRTUAL_GOODS == 'True') {
echo '<div class="warning">This download product is available through regular checkout. However it currently is not available via Google Checkout.<br /><br /></div>';
}
}
?>
<!-- eof Google Checkout -->
Woody
-
Re: Google Checkout module for Zen Cart (beta)
If you have split-login enabled in Zen Cart 1.37 and wish to add a Google Checkout "panel" to the login page, then follows is a simple code snippet you can insert into tpl_login_default.php which comes with v.1.3RC2 mod.
Appx Line 57 in tpl_login_default.php
AFTER:
Code:
</form>
</fieldset>
<br class="clearBoth" />
BUT BEFORE:
Code:
<!--EOF PPEC split login- DO NOT REMOVE-->
<?php } else { ?>
<!--BOF normal login-->
INSERT:
Code:
<br />
<?php // ** BOF GOOGLE CHECKOUT ** ?>
<br />
<fieldset>
<legend><?php echo 'OR USE GOOGLE CHECKOUT'; ?></legend>
<table><tr><td>
<div class="information">Or if you prefer you can checkout with <b>Google Checkout</b>. If you have an item in your shopping cart (not a download product) the Google Checkout button displays in full color indicating Google Checkout is available for your order. If it appears gray then Google Checkout is not available (either you have a download product in your shopping cart or you have yet to add any items to your shopping cart).</div>
</td>
<td>
<?php
// ** GOOGLE CHECKOUT **
include(DIR_WS_MODULES . 'show_google_components.php');
// ** END GOOGLE CHECKOUT **
?>
</td></tr></table>
</fieldset>
<br class="clearBoth" />
<?php // ** EOF GOOGLE CHECKOUT ** ?>
Note this is a quick and dirty (not elegant) solution...
(1) Includes some (wordy) text for those whom want to provide instructions regarding the unavailability of Google Checkout for download items. Edit as you desire.
(2) It has NOT been tested with PayPal EXPRESS enabled. If you use PayPal EXPRESS do not use. Later when I get around to testing PayPal Express I will update and post fresh code.
(3) A heading is hard coded in. Later I will make a languages define.
(4) For purists please note the code uses a table. Later I will properly apply CSS.
(5) The code is not yet smart enough to know if you have the Google Checkout payment module disabled or uninstalled. So if you disable or uninstall the mod then you will want to remove the code from the template. Later I will add some simple testing to check if the mod is disabled or installed.
If anyone beats me to it please do post improvements ;-)
-Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Code:
<!-- bof Google Checkout -->
<?php
if ($products_virtual = 1) {
if(MODULE_PAYMENT_GOOGLECHECKOUT_VIRTUAL_GOODS == 'True') {
echo '<div class="warning">This download product is available through regular checkout. However it currently is not available via Google Checkout.<br /><br /></div>';
}
}
?>
<!-- eof Google Checkout -->
Well it appeared this was working last eve, but now it appears not. If anyone has suggestions to repair my noob logic above, please do suggest.
Thanks,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
This question has probably already been addressed - I apologize that I just can not find it. I installed GC in Zen 1.3.7 - everything works great. EXCEPT, that in GC the customer sees all the shipping options are shown - just they all say "0". It would not take to many $0.00 shipping costs to put me out of business. I tried the
googlecheckout/shipping_generator , but it only seems to compute 'freeshipper' and 'store pickup' (which both happen to be set to $0.00) . I have USPS and UPS shipping modules enabled, however, the above file does not seem to find them. In the admin/modules I left all the GC shipping options at 0. If
googlecheckout/shipping_generator is supposed to generate a new file - could someone just send it to me so I don't mess my store up. Thanks in advance.
-
Re: Google Checkout module for Zen Cart (beta)
Hello Guys, can i have a little help with google checkout? I followed the installation directions to a tee, and It seems to be properly integrated, but when I test it and go through the checkout process I get an error message. I place an item into my shopping cart, click google checkout and see this message: Oops! Asgard Electronics has sent Google a shopping cart with errors in it. We'll contact them to ask that they fix this problem. As this could be a temporary issue, you can go back in your browser to try checking out again.
I am running V1.3.7, with a few add-ons like easy populate, and a customized template. Any suggestions?
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
2004g35
I tried the googlecheckout/shipping_generator , but it only seems to compute 'freeshipper' and 'store pickup' (which both happen to be set to $0.00) . I have USPS and UPS shipping modules enabled, however, the above file does not seem to find them.
Assuming you have the latest 1.3RC2_beta mod installed?
Post the full list of modules you observe in Zen cart admin: config > modules > shipping (just copy and paste the entire list like below):
Code:
Flat Rate flat
Free Shipping Options freeoptions
FREE SHIPPING! freeshipper 2
Per Item item
Per Item International iteminternational 1
Per Item National itemnational 0
Per Unit perweightunit
Store Pickup storepickup
Table Rate table
United Parcel Service ups
United States Postal Service usps
Zone Rates zones
Be sure to include the sort order numerals as above.
And also post the entire output of the shipping generator, that is, the two arrays generated after you click the 'generate' button.
- Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
DarkAzrael
Oops! [/I][/SIZE] Asgard Electronics has sent Google a shopping cart with errors in it. We'll contact them to ask that they fix this problem. As this could be a temporary issue, you can go back in your browser to try checking out again.
I am running V1.3.7, with a few add-ons like easy populate, and a customized template. Any suggestions?
Assuming you have the latest version of 1.3RC2_beta google Checkout mod installed?
Do any errors show up in either your response_error.log file or in your Google checkout account at Google? Settings tab then click on "integration" in left column. Then look at bottom of page under "Integration Issues".
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Woodymon - sorry for being so dense. I see the list, I am just not understanding where I am supposed to paste it at. http://www.bobkatgifts.net/googleche...ing_generator/ Thanks again for your patience.
-
Re: Google Checkout module for Zen Cart (beta)
Thanks for the help! I looked at my google account under integration and I see this: "Duplicate shipping name Per Unit found". Any suggestions?
-
Re: Google Checkout module for Zen Cart (beta)
I have the following set up as shipping options:
Modules Sort Order Action
Flat Rate flat
Free Shipping Options freeoptions
FREE SHIPPING! freeshipper
Per Item item 1 http://www.asgardelectronics.com/pri...atus_green.gif
Per Unit perweightunit
Store Pickup storepickup
Table Rate table
United Parcel Service ups
United States Postal Service usps
Zone Rates zones
Only per item is enabled atm.
I am not sure what you are referring to about the generate button, could you give me a little more detail about that?
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
DarkAzrael
I have the following set up as shipping options:
I am not sure what you are referring to about the generate button, could you give me a little more detail about that?
You did not post which version of the GC mod you have installed?
If the shipping modules are not installed in Zen Cart then the Google Checkout mod cannot see them when generating the correct shipping config for GC.
Did you not install the run the shipping generator script? Info on this subject is in the readme/installtion docs in latest version (1.3RC2).
Woody
-
Re: Google Checkout module for Zen Cart (beta)
I have 1.3RC1 installed, I can not find 1.3RC2. I am not sure which shipping script you are referring to, I don't see anything about it in the documentation. The link where I found the "latest version" : http://code.google.com/p/google-checkout-zencart/
Should I be getting it from somewhere else?
-
Re: Google Checkout module for Zen Cart (beta)
Found the latest beta version and reinstalled, it's working fine now. Thanks for the help!
-
Re: Google Checkout module for Zen Cart (beta)
Just so you all know Google Checkout for UK is now available.
See http://googlecheckout.##########################/2...ves-in-uk.html
A short thread on the subject.
http://www.zen-cart.com/forum/showthread.php?t=63199
I've invited them over to this long thread. ;-)
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Well it appeared this was working last eve, but now it appears not. If anyone has suggestions to repair my noob logic above, please do suggest.
I've posted a related more general question here.
http://www.zen-cart.com/forum/showthread.php?t=63446
Any knowledgeable PHP programmers out there with a tip?
Thanks,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Can someone install Google Checkout on my Zen Cart Site?
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Wildwayne
Can someone install Google Checkout on my Zen Cart Site?
There is a "commercial help wanted" board where you can post your need.
But since the mod is still beta I recommend that unless you are familiar with shipping and payment module configuration, and editing templates, it is best to wait a while until both the mod and the checkout system matures. Otherwise you will be repeatedly paying someone to constantly upgrade for you. Just a thought.
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
misty
Thx misty
they are NO error, just debug info... the first is the shipping modules installed and the second the XML cart sent to google!
but thx for the remark, they shouldnt be there... :D
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
ropu,
On the Zen Cart admin orders index page, a line item appears for each order, which includes the shipping method employed to process the order.
So in my installation "itemnational" or "iteminternational" or "free", should display for the shipping method.
However on the admin orders index page "table" is displayed as the "shipping method" when purchasing with Google Checkout.
Any suggestions on displaying the actual shipping module name instead? (as other payment modules do).
Thanks,
Woody
hi woody, true! i've never been aware of that issue... i'll fix it!
thx again!
ropu
-
Re: Google Checkout module for Zen Cart
Quote:
Originally Posted by
Jay42
I'm about ready to scrap this, but figured I'd give it one more shot....
I ran the Responsehandler test again and got these results:
I was encouraged by the fact my response time was far less than 3 seconds, so again I placed a sandbox order and got the default shipping rates - not the UPS rates. Then, I logged into my Merchant Sandbox and retreived the following error message:
I've read and re-read all the posts in this forum over and over again, and am really at a loss as to what is causing these errors.
I'm not a programmer and certainly no expert on the meaning of the results in the above test, so perhaps there is something you can tell me that can help me fix it???
Also, what I'd really like to know is....who are you, Ropu? Do you work for Google? I can't imagine you'd spend as much time on this mod as you seem to if you were doing it for free, or for a few Paypal donations.
The obvious reason that store owners want this mod installed is for the free charges until the end of the year. My average order is about $500, so the 2.5% savings I would experience equals $12.50 more in my pocket on just about every order I fill. That adds up. But I really can't become a Google Beta tester...I simply don't have the time....I have a business to run.
So if you do work for Google, Ropu, tell them you need help in getting a stable release to market for the Zen Cart community ASAP....a release that even a novice user can install effortlessly. If you are doing this from the kindness of your heart, and not getting paid, then please email me when you have a stable production version and I will Paypal you my donation. And please let us all know who you are.:lookaroun
hI jay
as u can see in the XML response, u have sent an invalid XML message. it seems that u didn't put any XML in the textarea. try adding the xml that the integration section shows u as an error and try again
thx
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Well it appeared this was working last eve, but now it appears not. If anyone has suggestions to repair my noob logic above, please do suggest.
Thanks,
Woody
woody, i use this code to detect virtual goods
PHP Code:
<?php
if(MODULE_PAYMENT_GOOGLECHECKOUT_VIRTUAL_GOODS == 'True' && $cart->get_content_type() != 'physical' ) {
echo '<div class="warning">' . MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_VIRTUAL . '</div>';
}
?>
hope this helps
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
ropu,
On the Zen Cart admin orders index page, a line item appears for each order, which includes the shipping method employed to process the order.
So in my installation "itemnational" or "iteminternational" or "free", should display for the shipping method.
However on the admin orders index page "table" is displayed as the "shipping method" when purchasing with Google Checkout.
Any suggestions on displaying the actual shipping module name instead? (as other payment modules do).
Thanks,
Woody
Will be in RC2
thx
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
1. Regards to Google Checkout info posted to ZC admin orders page...
I observe ALL the responses from Google Checkout display in the comments area in Zen Cart admin orders page.
Keep in mind all info posted to the comments area is available to the customer if they log into their Zen Cart (via MyAccount) which is possible if an customer with an preexisting Zen Cart account submits an order through Google Checkout or if a new customer wants access to their order through Zen Cart... which will likely be the case when downloads are supported by Google Checkout.
So it would be best if the Google Checkout mod posted most of the responses to an area on the orders page which is only accessible to the admin. (similar to as the PayPal IPN payment mod does... display the data in an HTML table above the order comments area).
The only Google Checkout responses that should be displayed in the comments area is info that the customer should specifically have access to and would also likely be submitted to the customer through an email notification. That would include state changes from pending to processing (or other orders status changes such as canceled or refunded). (again just like the PayPal IPN mod does).
If you don't have PayPal IPN mod installed or not sure which I refer to please let me know and I can show you an example of what data PayPal data shows in the comment boxes (and thus is accessible by the customer) and what data is posted to the admin orders page (which is NOT accessible by the customer).
2. On a related admin issue...
For an order submitted through Google Checkout I observe displayed in the first comment box on the ZC admin orders page "Buyer's Password: 34600848543"
If a customer already has a Zen Cart account, then checks out through Google Checkout with the same email address, it appears Google Checkout relates that order data to the preexisting Zen Cart account. If this is the case is the previous customer Zen Cart password overwritten with the new password created by Google Checkout, or does the pre-existing Zen Cart customer account password still hold true?
Also say if a customer whom never has set-up a Zen Cart account checks out with Google Checkout, and then later revisits the shop and decides to set-up a new account. How does that process work? Zen Cart would see an account was already set-up with that specific email address and thus not allow the customer to create a new Zen Cart account with that email address.
But the customer might not understand this and become confused. What is the mechanism in place to deal with such an issue. Maybe prompt customer to click on "password forgotten" link to obtain via email the account password created by Google Checkout.
And are there any security risks to consider here?
Hope this all makes sense.
Thanks,
Woody
woody, i dont have Paypal IPN, y u can mail me screenshoots would be nice :D
i've also added that if the user is a prexistance one, (he bought logged in Zencart), the User/pass line wont be shown, as his pass is not changed. (v1.3RC2 NOT beta)
Regarding the user creation, is inevitable to create one. This users are stored in google_checkout table for cross reference GC buyer id- zencart buyer id.
The password is the buyer number id. but created just the first time. if he logs in, and changed, that one will be preserved.
i he tries to create a user with his GC mail, he must prompt for a forgotten password... any other idea to get by passed this??
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
ropu,
Here is some strangeness I'm observing while testing the mod in sandbox mode...
As a customer I add a single item to my shop cart then check out via Google Checkout. Then on the Google Checkout page I decide to not complete the transaction (for any reason) and then I close my browser window. Then I later revisit the shop. When I do, I unexpectedly observe the shopping cart sidebox is displayed. And the contents of the SC sidebox is "1 ea. - " with "Total $0.00". That is no actual product name is listed, just 1 each with no price and then a zero total.
This is strange as the shopping cart sidebox should not display when there were no items in the shop cart. It appears that Zen Cart is attempting to recall contents of the abandoned shop cart (when the Google Checkout order was not completed) but cannot. It's as if a 'ghost" non-item is still in the shopping cart.
But this does not become a real issue until I add an item to shop cart then proceed to the shopping cart page. At that point a yellow warning box appears stating the item in my shop cart is no longer available in inventory and has been deleted from my shopping cart.
Although this applies to the "ghost" item and not the item I just added to my shop cart, it is confusing nevertheless and not suppose to be occurring. A customer might think like I did that the message had to do with the item I just added to the shopping cart.
I installed the new Google Checkout mod on two different ZC 1.37 test shop installs and observe the same behavior. Anyone else able to replicate?
Woody
please post the step-by-step to reproduce it, and i'll test it
also tell me if u can do it in http://demo.globant.com/~brovagnati/zen_demo2/
thx
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
woody, i use this code to detect virtual goods
PHP Code:
<?php
if(MODULE_PAYMENT_GOOGLECHECKOUT_VIRTUAL_GOODS == 'True' && $cart->get_content_type() != 'physical' ) {
echo '<div class="warning">' . MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_VIRTUAL . '</div>';
}
?>
Thanks ropu,
Just tried that and this portion of the code
PHP Code:
$cart->get_content_type() != 'physical'
causes the page to not fully load.
Error in web server error log is:
Code:
PHP Fatal error: Call to a member function get_content_type() on a non-object in /home/myaccount/public_html/myshop/includes/templates/mytemplate/templates/tpl_product_info_display.php on line 130
Uncertain how to interpret "Call to a member function on a non-object"
Something to do with passing a parameter correctly and/or data type?
In /includes/classes/shopping_cart.php I see
PHP Code:
class shoppingCart extends base {
.
.
.
function get_content_type($gv_only = 'false') {
global $db;
.
.
.
if ($gv_only == 'true') {
return $gift_voucher;
} else {
return $this->content_type;
}
}
Any ideas?
Thanks,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Thanks ropu,
Just tried that and this portion of the code
PHP Code:
$cart->get_content_type() != 'physical'
causes the page to not fully load.
Error in web server error log is:
Code:
PHP Fatal error: Call to a member function get_content_type() on a non-object in /home/myaccount/public_html/myshop/includes/templates/mytemplate/templates/tpl_product_info_display.php on line 130
Uncertain how to interpret "Call to a member function on a non-object"
Something to do with passing a parameter correctly and/or data type?
In /includes/classes/shopping_cart.php I see
PHP Code:
class shoppingCart extends base {
.
.
.
function get_content_type($gv_only = 'false') {
global $db;
.
.
.
if ($gv_only == 'true') {
return $gift_voucher;
} else {
return $this->content_type;
}
}
Any ideas?
Thanks,
Woody
yes, sorry my mistake, i forgot to add this
PHP Code:
$cart = $_SESSION['cart'];
:D
btw, the error is saying that u are trying to call to a method on a variable that is not an object.
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
Hi ropu-
Your 1.3-RC2beta update fixed my shipping issues!!!!! Thank you!!!!
With that said below are some suggestions for mod improvement (in order of priority):
1. Email formatting issues for messages sent to both shop admin and customer, accepting email in text format only. (test email format support is a MUST!)
2. Email addressing issues (customer should at least be able to reply to the "Order Receipt" message and thus the reply to address should be the shop admin email address).
3. On the last Google Checkout page which displays after an order is processed, provide an option for a link and a redirect to a Zen Cart checkout success page.
4. Support for "split login page" functionality built into Zen Cart 1.37.
Other suggestions:
- a few additional clarifications/edits in the mod docs
- clean-up of "shipping methods generator" readme and more comprehensive explanation/example on how to use the "shipping methods generator" is needed.
I will PM you my suggestions regards to the above.
Also is it possible to generate a wishlist in this thread for features we would like to see implemented in the Google Checkout for Zen Cart mod. Of course with an understanding of the current limitations and status of the Google Checkout system itself.
Thanks again for making shipping happen. Now we can test the mod more thoroughly ;-)
Woody
woody, the email format is a google issue, i've mail them with ur last suggestions.
yes, u are right bout the shipping_genaration readme, but know that i wrote it in 5 mins after finishing on friday, i'll update it.
regarding the wish list, i PM dr Byte asking if we can have a forum just like pay pal, where inside it we can have different thread (as u suggested me :D), one could be that wish list.
im waiting for a positive answer from him :P
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
yes, sorry my mistake, i forgot to add this
PHP Code:
$cart = $_SESSION['cart'];
btw, the error is saying that u are trying to call to a method on a variable that is not an object.
ropu
getting closer...I think.
I used this code
PHP Code:
<?php
$cart = $_SESSION['cart'];
if ( MODULE_PAYMENT_GOOGLECHECKOUT_VIRTUAL_GOODS == 'True' && $cart->get_content_type() != 'physical' ) {
echo '<div class="warning">' . MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_VIRTUAL . '</div>';
}
?>
Then I visited an eBook product page. The page rendered as normal but the expected warning text did not display.
So after:
$cart = $_SESSION['cart'];
For debugging I added:
echo $cart;
And I observed:
Any ideas?
Thanks,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Thank you ropu and everyone for their diligence in developing GCO for ZC. I gave up testing around page 30, but have been tuning in to these forums ever since.
since ZC as of 1.3.7 has Paypal Express Checkout code in the core files, I wanted to suggest that in the next version of GCO be compatible with the existing PPE (have both PPE and GCO working at the same time). As it stands now, there is merging of some template files, to get both working....which isn't a big deal (as a computer novice it will take me a few days to do correctly or copy chain_man's code (thanks!) )....but I don't think I can stay on-top of merging files, with every ZC/paypal express update.
I have learned a great deal about ZC, mods and editing code in these last few months, but think when it comes to accepting payments, this should be along with paypal part of the core/base files, and not a mod left to a few hard working people....but fully supported by the ZC developers and included in each new ZC release.
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
I thought I did provide a "step-by-step". I could write a novel if you want :wink2:
Will checkout your demo to see if I can replicate issue there.
Woody
-
Shipping amount not showing in Google
Address is fine but the cost of shipping doesn't appear. It says: (Shipping and tax calculated on next page)
But when you go to the next page there are no shipping fees. It worked before but I obviously did something wrong. Any help is appreciated.
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
getting closer...I think.
I used this code
PHP Code:
<?php
$cart = $_SESSION['cart'];
if ( MODULE_PAYMENT_GOOGLECHECKOUT_VIRTUAL_GOODS == 'True' && $cart->get_content_type() != 'physical' ) {
echo '<div class="warning">' . MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_VIRTUAL . '</div>';
}
?>
Then I visited an eBook product page. The page rendered as normal but the expected warning text did not display.
So after:
$cart = $_SESSION['cart'];
For debugging I added:
echo $cart;
And I observed:
Any ideas?
Thanks,
Woody
yes woody, the issue is that the shipping_cart.php class is not loaded before u are trying to grap the object from session, so it doesnt know what class to use. so u must include that file before getting the cart from session.
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
dharma
Since ZC as of 1.3.7 has Paypal Express Checkout code in the core files, I wanted to suggest that in the next version of GCO be compatible with the existing PPE (have both PPE and GCO working at the same time).
With the latest 1.3RC2 update Ropu has included the current 1.37 template files (as provided by Chainman), so no need for template merging, unless you have customized your login or shopping cart template pages or admin orders page.
So "compatibility" with PPEC is a non-issue.
Quote:
when it comes to accepting payments, this should be along with paypal part of the core/base files, and not a mod left to a few hard working people....but fully supported by the ZC developers and included in each new ZC release.
Not sure what you mean by "fully supported".
Keep in mind that DrByte is doing the updates on the PPEC (and PP IPN) mods along with supporting/developing Zen Cart proper. I don't think he has much time left over to also develop Google Checkout mod. But maybe he does and just does not require sleep :wink2:
(Note the PPEC module had been changing almost as fast as the GC module, until recently.)
I'm sure the founders are happy to have ropu do the heavy lifting.
Including GC in core is good idea from the shopowner perspective (as good as including PPEC anyway). But that would have to wait at least after the mod is out of beta and that will be some time. And I suspect the support team would first need to agree to become a Google Checkout partner before it would ever become a built in payment module. And they would have to find the time and expertise to support.
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Thanks woody for your response...I am going by the GCO version available in the downloads 1.0.4r...as it is still there I assumed that was the last stable version....by fully supported, I meant that any bug fixes, patches etc in both PPE and GCO be updated then rolled into the next upgrade of ZC as a whole.
I am not a big fan of paypal, and am excited by google checkout...but I guess I will have to wait a bit longer...I just wish you guys weren't alone on it, seems like a big job...
anyway, I do appreciate all the hard work everyone has done so far and am looking forward to it all coming together...
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
yes woody, the issue is that the shipping_cart.php class is not loaded before u are trying to grap the object from session, so it doesnt know what class to use. so u must include that file before getting the cart from session.
ropu
That makes sense. But I assume the class was loaded by config.core.php
(autoloader array for catalog application_top.php)
See http://www.zen-cart.com/wiki/index.p...als#InitSystem wikitutorials
At any rate, when I insert into tpl_product_info_display.php:
require(DIR_WS_CLASSES . 'shopping_cart.php');
above:
$cart = $_SESSION['cart'];
The page stops loading wherever the require was inserted.
I also tried making it the first line in the file after the comments in the header.
I also tried:
include(DIR_WS_CLASSES . 'shopping_cart.php');
include or require, either appears to have the same effect.
I observe the error in error log:
PHP Fatal error: Cannot redeclare class shoppingcart in /home/myaccount/public_html/myshop/includes/classes/shopping_cart.php on line 1878
Any more ideas?
Thanks again,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
dharma
Thanks woody for your response...I am going by the GCO version available in the downloads 1.0.4r...as it is still there I assumed that was the last stable version....by fully supported, I meant that any bug fixes, patches etc in both PPE and GCO be updated then rolled into the next upgrade of ZC as a whole.
Get the much newer mod version. 1.3RC2_beta. Ropu posted a link to it on Friday.
ropu is the developer following up on the work others had implemented before him. He has taken this mod very far in the last month. It can be very difficult if more than one person is developing a mod. The left hand will not necessarily know what the right hand is doing. And note the mod is based on the Google Checkout API (and has to be maintained to support the API).
The rest of us are just shopowners whom are beta "testers'. You should be one too! Just download the mod, install, test and post your findings.
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
That makes sense. But I assume the class was loaded by config.core.php
(autoloader array for catalog application_top.php)
See
http://www.zen-cart.com/wiki/index.p...als#InitSystem wikitutorials
At any rate, when I insert into tpl_product_info_display.php:
require(DIR_WS_CLASSES . 'shopping_cart.php');
above:
$cart = $_SESSION['cart'];
The page stops loading wherever the require was inserted.
I also tried making it the first line in the file after the comments in the header.
I also tried:
include(DIR_WS_CLASSES . 'shopping_cart.php');
include or require, either appears to have the same effect.
I observe the error in error log:
PHP Fatal error: Cannot redeclare class shoppingcart in /home/myaccount/public_html/myshop/includes/classes/shopping_cart.php on line 1878
Any more ideas?
Thanks again,
Woody
woody the file should be included before the session is started.
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
woody the file should be included before the session is started.
ropu,
The error log entry I reported appears to indicate that it is indeed loaded before the product info page displays.
And I have restarted my browser and observe same issue. Or do I have to do something special to kill the session? Should I empty the sessions table in the DB?
I also put the include at the bottom of application_top.php but then the site would not load.
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
ropu,
The error log entry I reported appears to indicate that it is indeed loaded before the product info page displays.
And I have restarted my browser and observe same issue. Or do I have to do something special to kill the session? Should I empty the sessions table in the DB?
I also put the include at the bottom of application_top.php but then the site would not load.
Woody
try doing a
PHP Code:
session_destroy():
and then re-run the code.
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
try doing a
PHP Code:
session_destroy():
and then re-run the code.
this code work for me
PHP Code:
<?php
/*
* Created on 16/04/2007
*
* Coded by: Ropu
* Globant - Buenos Aires, Argentina - zen_demo2
*/
chdir('./..');
include_once('includes/application_top.php');
print_r($_SESSION['cart']);
print_r($_SESSION['cart']->get_content_type());
?>
add this in the googlechekout/ dir
http://200.69.205.154/~brovagnati/ze...woody_cart.php
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
try doing a
PHP Code:
session_destroy():
and then re-run the code.
I'm not surre how/where to do this. Should i put at the top of the template file or ??
I deleted all the entries in the sessions table. But still did not solve.
Below is my relevant code in my template file:
PHP Code:
<?php
include('includes/classes/shopping_cart.php');
$cart = $_SESSION['cart'];
echo $cart;
if ( MODULE_PAYMENT_GOOGLECHECKOUT_VIRTUAL_GOODS == 'True' && $cart->get_content_type() != 'physical' ) {
echo '<p class="productGeneral">Blah blah blah.</p><br />';
}
?>
But when
PHP Code:
include('includes/classes/shopping_cart.php');
is located as above the product_info_display page does not fully load.
and I see error in error log as just explained.
Code:
PHP Fatal error: Cannot redeclare class shoppingcart
If I remove the include then the page loads fine but no text displays reporting the product is a download product.
What am I doing wrong? I think I'm going in circles.
Woody
-
Re: Google Checkout module for Zen Cart (beta)
PHP Code:
<?php
/*
* Created on 16/04/2007
*
* Coded by: Ropu
* Globant - Buenos Aires, Argentina - zen_demo2
*/
chdir('./..');
include_once('includes/application_top.php');
print_r($_SESSION['cart']);
print_r($_SESSION['cart']->get_content_type());
?>
What do I do with the above code?
Quote:
add this in the googlechekout/ dir
OK i downloaded the file and put in googlecheckout directory.
I just tried to chat via GTalk and you were away.I think I'm mucking up this thread with this. Hopefully iniitiate a new thread soon :wink2:
Woody
-
Re: Google Checkout module for Zen Cart (beta)
How does ZC Orders admin send updates to GC orders status?
-
Re: Google Checkout module for Zen Cart (beta)
Hi all
im releasing v1.3RC2 of the module
here is the link
http://google-checkout-zencart.googl...rt-v1.3RC2.zip
Date: Mon Apr 16 13:27:15 2007
Changes from v1.3RC1
Added Files:
trunk/googlecheckout/shipping_generator/
trunk/googlecheckout/shipping_generator/README
trunk/googlecheckout/shipping_generator/index.php
trunk/googlecheckout/shipping_generator/multigenerator.php
trunk/googlecheckout/shipping_generator/multishipping_generator.js
trunk/googlecheckout/shipping_generator/multishipping_generator.php
trunk/googlecheckout/shipping_generator/shipping_method_generator.php
Removed Files:
trunk/includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php
Modified Files:
trunk/INSTALLATION
trunk/README
trunk/admin/includes/functions/extra_functions/added_function_for_google_checkout.php
trunk/googlecheckout/gcheckout.php
trunk/googlecheckout/responsehandler.php
trunk/includes/languages/english/modules/payment/googlecheckout.php
trunk/includes/modules/payment/googlecheckout.php
trunk/includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
trunk/includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php
Change Log:
04/16/2007 v1.3RC2 (ropu)
- Support for UK merchants
http://code.google.com/apis/checkout...ase_notes.html (apr13)
- Updated Templates to Zencart v1.3.7
- Remove tpl_checkout_payment_default.php
- Docs update
- Minor bug fix
- Added Shipping Generator Tool in the stardard package (Optional)
- Flat rate shipping bug fixed
- Improved tax and shipping restrictions
- Added configurable Continue shopping URL.
- Fix Warning: Invalid argument supplied for foreach() in
/home/public_html/googlecheckout/gcheckout.php on line 390
- Fixed shipping not showing correctly in the orders page
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
mgraphic
How does ZC Orders admin send updates to GC orders status?
hi mg
GC uses cURL to send xml request to GC servers.
u can find that code in admin/orders.php and /admin/includes/functions/extra_functions/added_function_for_google_checkout.php
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
hi mg
GC uses cURL to send xml request to GC servers.
u can find that code in admin/orders.php and /admin/includes/functions/extra_functions/added_function_for_google_checkout.php
ropu
So - The orders page in ZC sends the updates to your Google account, or does Google send requests for updates?
Just wondering - My sandbox account is not being updated of the order process changes.
-
Re: Google Checkout module for Zen Cart (beta)
in updating from previous versions - including r1.3RC2_beta - do you recommend removing any files first. Or will loading on top of it be okay. Thank,
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
mgraphic
So - The orders page in ZC sends the updates to your Google account, or does Google send requests for updates?
Just wondering - My sandbox account is not being updated of the order process changes.
ZC send google state change notifications
have a look to the README TRACKING USERS AND ORDERS http://google-checkout-zencart.googl...n/trunk/README
there is described how state are changed
also google send notifications to ZC, these are merchant-calculation-callbacks, new-order-notification, risk-information, etc more info here
http://code.google.com/apis/checkout...tification_api
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
2004g35
in updating from previous versions - including r1.3RC2_beta - do you recommend removing any files first. Or will loading on top of it be okay. Thank,
Overriding files will be ok
but remember to remove and re install the module from the admin UI, because some new configurations are added
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
hi, im not sure how it works internally min sell, but waht u can do is add an item in the GC cart that contemplates the charge...
this can be done in googlecheckout/gcheckout.php after the block that start in line 108
if need further help, will try to figure out a solution, but please try to fins out how the module works, how it detects witch is the minimum order, how to get the cost of not reaching that minuium, and all info regarding that module so i can guide u to the solution
hope this helps, ropu
Hi Ropu, my php knowledge is very limited so I wouldn't really know how add the item in the GC cart.
Orders show in ZenCart correctly reflecting the low order fee, but the GC payment received is less than the total shown on ZenCart, which includes the Low Order Fee.
Low Order Fee is a standard feature of ZC. whether the low fee order is added or not is determined by the subtotal. In my case, I have it configured so that if an order is less than $25, a low order fee of $2 is charged.
Could you come up with the code for the GC cart so that if the subtotal is less than $25, it adds an item called 'Low Order Fee' with a price of $2?
Thanks.
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
tj1
Low Order Fee is a standard feature of ZC. whether the low fee order is added or not is determined by the subtotal.
ropu-
To follow-up on this below are other order total modules. All except the top one is built into Zen Cart 1.37.
Code:
Order Total Modules :
-------------------------------
Modules Sort Order
-------------------------------
Better Together Discount ot_better_together 292
-------------------------------
COD Fee ot_cod_fee
Discount Coupon ot_coupon
Group Discount ot_group_pricing
Gift Certificates ot_gv
Low Order Fee ot_loworderfee
------------------------------
Shipping ot_shipping 200
Sub-Total ot_subtotal 100
Tax ot_tax Info
Total ot_total 999
------------------------------
GC deals with Total, Tax, and Shipping in it's own way.
(BTW is tax always calculated before or after shipping in Google Checkout? Some regions differ in this regard).
Not so sure if/how GC supports Sub-total.
Maybe the GC mod already supports the other default order total modules? I wouldn't know as I don't use them, yet (or I probably missed them mentioned in the readme ;-).
The Order Total module I use is not built-in but rather is an add-on called 'Better Together' (by swguy). Basically it supports: "buy product A get 50% off product B" or "buy product C and get product D for free" scenarios.
If there is any hope of Google Checkout supporting such functionality then please let me know. Thanks.
Thanks,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
ropu
Hi global
have u tried with newer releases?
ropu
I just installed google-checkout-zencart-v1.3RC2.zip and I am still getting the same error:
Quote:
Error parsing XML; message from parser is: Invalid value for body of allowed-areas in checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/shipping-methods/merchant-calculated-shipping/address-filters: Must be a U.S. 2-letter postal code or state name
Any ideas?
-
Re: Google Checkout module for Zen Cart (beta)
I'm still unable to get international shipping working. I use USPS.
I keep getting this:
============
MyStoreName does not ship to this address
============
Has anyone got this working?
-
Re: Google Checkout module for Zen Cart (beta)
UK USER
Installed google-checkout-zencart-v1.3RC2.zip, overwriting previous
installed version...
Then uninstalled Mod and reinstalled via admin.
Placed order, using sandbox, from as yet, non member of zencart..
Order received and processed via Google Sandbox..
Received confirmation as member that order placed.
Confirmation received to my gmail email account that order placed.
HOWEVER, no order shown in zencart or notification received..
so how is this order processed via zencart please
:blink:
Should note that I returned as this as yet non member to zencart,
joined using same email/address etc as used to purchase via google checkout.. no order shown after joining...
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
misty
Should note that I returned as this as yet non member to zencart,
joined using same email/address etc as used to purchase via google checkout.. no order shown after joining...
Hi Misty,
I suspect you meant "registered" versus "returned"? :wink2:
Registering a new Zen Cart account after checking out with and submitting an order through Google Checkout, should not have negative effect of Google Checkout server responses from properly appearing in Zen Cart admin orders (for the matching email registration).
To narrow down why you are not receiving or recording Google Checkout Server response(s):
For completed orders the Buyer should receive two email messages from Google:
1) Purchase receipt - think of this as an order submission confirmation.
2) Order receipt - think of this as a transaction confirmation.
Assuming you did not receive the latter message?
Which shipping method was used when submitting the sandbox order?
What related log data, if anything, is displayed in:
1) /googlecheckout/response_error.log
2) /googlecheckout/response_message.log
3) in your Sandbox Sellers account under Settings > Integration - under "Integration issues".
Did you setup everything in the Sellers Sandbox account integration panel?
a. API callback URL: https://www.yourdomain.com/yourshop/...nsehandler.php
(or similar path). Be sure to set URL to http if you configured your GC payment module in ZC for http.
Note https or http can be used for sandbox testing. Live accounts require https.
b. Callback method: XML
Please report back.
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Sorted... Thanks Woodymon
Errors were as follows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Callback method: XML
Mine set as html
2. http://code.google.com/apis/checkout...ase_notes.html
Google updates at above url...
In the United Kingdom, the default rounding rule is PER_LINE and
the default rounding mode is HALF_UP.
Mine set as default mod settings.. changed to as above..
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Again using SANDBOX ACCOUNT..
1.Tested normal product.. worked fine, though no admin order confirmation sent from zencart, only via Google Checkout account email.
Purchaser email received fine.
2.Tested download product.. order received etc as above...BUT download not enabled after purchase completed...Virtual products were enabled
Both above tests used Flat Rate shipping
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
misty
Sorted... Thanks Woodymon
Errors were as follows
1. Callback method: XML
Mine set as html
2. In the United Kingdom, the default rounding rule is PER_LINE and
the default rounding mode is HALF_UP.
Mine set as default mod settings.. changed to as above..
Again using SANDBOX ACCOUNT..
1.Tested normal product.. worked fine, though no admin order confirmation sent from zencart, only via Google Checkout account email.
Purchaser email received fine.
2.Tested download product.. order received etc as above...BUT download not enabled after purchase completed...Virtual products were enabled
Both above tests used Flat Rate shipping
Misty,
1. Good info on rounding. I never considered rounding policies would be different in various regions of the world. Something to learn. Thanks for heads up. In my neck of the woods we round up to the nearest dollar. Just kidding.
2. Did buyer email account receive TWO email messages from Google (as mentioned in my previous post)? Note that NO email messages for the order submission or transaction are sent from Zen Cart shop cart admin address, as you observe with orders through normal Zen Cart checkout. But when you change order state then email is sent (if you wish) to buyer from Zen Cart shop address.
3. At this time there is no support for instant download products (that is if you sell downloads then you will need to email to customers as attachments or find some other method to distribute). Such info is posted in the thread many times recently ;-)
A new option supports NOT allowing purchases of download products. That is if "Disable Google Checkout for Virtual Goods?"is set to true in the payment module configuration, and then if a download product is added to the customer shopping cart, then the Google Checkout button will appear disabled (in gray, in color... kind of like wizard of oz).
Yes, instant downloads support is on the wishlist.
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Did buyer email account receive TWO email messages from Google (as mentioned in my previous post)?
NO...Order receipt to buyer, purchase receipt to merchant google checkout email addy.
Shipping email/confirm charge sent to purchaser email on zen admin process order..
thanks for clarifying that zencart does NOT email store owner,
as per normal when order initially placed via ie. when purchaser uses paypal/freecharger/credit card
DOWNLOADS..uinderstand current mod version's settings/ handing of downloads at this time..
thanks for downloads explanation...
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
misty
NO...Order receipt to buyer, purchase receipt to merchant google checkout email addy. Shipping email/confirm charge sent to purchaser email on zen admin process order...
I stand corrected. Don't know what I was thinking. Yes, one message to buyer and one to seller at time of order. My apologies for the misinformation. Dunno where the two messages to the buyer idea came from.... wait... I remember now... more on that in just a bit...
Woody
-
Re: Google Checkout module for Zen Cart (beta)
1. When you change status to shipped, TWO emails are sent to customer, both showing from Google Checkout <[email protected]>. Not one message but two!
#1 w/ subject: You have received a note from BigShop
#2 w/ subject: Your order from BigShop has shipped (USD365.00)
Why two messages?
3. Why are email messages sent to customers not properly dated? That is they do NOT provide a standard "Date:" in the message header but do display a "Delivery-date:". Many email clients that I'm aware of (including web mail clients like squirrel mail and such) use the Date: header when printing or forwarding email messages. A blank date on printed email output does not provide for very good accounting or audit control...unless one works for the White House ;-)
4. Why no support of text email? The lack of basic text email messaging and formatting support is so unprofessional.
5. The Google Checkout admin email system is confusing, at least to old school Zen Cart shop-owners.
Normally the customer notified check mark which displays in the ZC admin orders comments indicates an emails is sent to customer from Zen Cart, as is normally expected, not from Google. So that can be confusing.
The number of characters allowed in comments in order status change email messages sent to customers is too limited.
6. Not having the Zen Cart shop order number in the email subject line -AND- prominently displayed elsewhere in the message body makes it difficult to sort order submission and order status change messages. The shop-owners order number should be made readily apparent in all order related email messages. Otherwise follow-up customer support is made difficult for both the customer and the shop-owner.
7. Most significantly, and I have stated this before, but I must repeat, emails to customers should be sent with a Return Path of the shop admin email address, NOT a Return-path: <[email protected]>. Or figure out some other system so that customers can EASILY reply to the messages they receive and allow the reply sent to the shop admin address. Or at least provide that option.
As most shop-owners know Zen cart customers VERY often reply to the order submission and order status change email messages which the shopping cart sends out. This is a NATURAL response to expect of customers. You call a customer and they will likely want to call you back. You send an email to a customer and they will possibly want to email you back. They will not want to wade/trip through a web-based response mechanism.
Keep in mind that although the order status messages appear in the subject line to be sent from the Zen Cart shop, they are not so Seller and Buyer BEWARE!
Not allowing customers to respond to standard order emails is just plain bad, VERY BAD, customer service! This customer support communication issue needs rectified ASAP!
Most or all of these issues don't appear to be specific to the mod integration. Rather they appear to be a conscious result of Google Checkout product management decisions. Google appears to be attempting to over-control most aspects of the customer support process. They appear to want to route ALL communications through their servers, for a variety of reasons. If I am mistaken and this is not a conscious decision then the product managers and development team leaders have made grand mistakes and not provided quality oversight to the API developers.
Sure they can get away with these behaviors when no fees are charged, but when that changes there will be backlash from shop-owner and customer.
Google...best not piss your early adopters off or you will end up being just another PayPal. Word gets around fast.
Give me a Quality Control/QA position at Google Checkout and I will get this all straightened out ;-)
But likely won't be offered that position, or any other, after this diatribe ;-)
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Woody, entirely agree with your last post..
Tested googlecheckout for UK..just to prove
to myself that module worked.. did not at first,
but latest RC did(with Woody's help)..
and am satisfied with achievement..
However, in its current form, regarding download
exclusion(agreed this will probably be rectified
soon) and Woody's points, would not use google
checkout on my own live zensite/s..it does not fully integrate with
zencart, so that store admin remains in control of certain
important aspects;
Google takes some of that control away, and
they need to work on this for me to even contemplate
using their payment option with zencart..
JMHO..other zen members will have their own theories
-
Re: Google Checkout module for Zen Cart (beta)
ropu-
For those upgrading from previous mod versions, for example from 1.3RC1 to 1.3RC2...
Can you confirm there is no longer any need for the following edit in
tpl_checkout_payment_default.php
PHP Code:
// ** Google Checkout **
if($selection[$i]['id'] == "googlecheckout")
continue;
// ** Google Checkout **
And thus those whom have previously edited tpl_checkout_payment_default.php can remove that specific edit?
Can you please confirm?
Thanks,
Woody
-
Re: Google Checkout module for Zen Cart (beta)
The function google_checkout_state_change() only seems to send staus update to Google on only two different proccess:
1->Pending, 2-> Processing
and
2->Processing, 3-> Delivered
This does not make much sense to me, would you want to sent updates on all status changes that Google supports?
Processing, Shipped, Delivered or Cancelled?
Does Google document the formats of the order status xml requests?
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
mgraphic
Does Google document the formats of the order status xml requests?
I would start here.
http://code.google.com/apis/checkout...ase_notes.html
BTW shipped and delivered are not the same. (not directing this at you mgraphic.)
Delivered means the item made it to it's destination.
Shipped means it has left the source and is enroute (or is being processed to be shipped shortly).
Intermixing the two terms causes confusion.
Why do vendors mix the two terms?
Woody
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
Woodymon
ropu-
For those upgrading from previous mod versions, for example from 1.3RC1 to 1.3RC2...
Can you confirm there is no longer any need for the following edit in
tpl_checkout_payment_default.php
PHP Code:
// ** Google Checkout **
if($selection[$i]['id'] == "googlecheckout")
continue;
// ** Google Checkout **
And thus those whom have previously edited tpl_checkout_payment_default.php can remove that specific edit?
Can you please confirm?
Thanks,
Woody
woody, thats confirmed
there is no need to update that template as docs say, because as from zencart v1.3.7 in that template u have one option to disable the radio button for a shipping module. Just need to add to the googlecheckout.php class
PHP Code:
function selection() {
return array('id' => $this->code,'module' => $this->title, 'noradio' => true);
}
have a look to the 'noradio' => true
this will hit in the template in line 136
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 {
so the redio button wont be show!, just the name of the payment module.
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
mgraphic
The function google_checkout_state_change() only seems to send staus update to Google on only two different proccess:
1->Pending, 2-> Processing
and
2->Processing, 3-> Delivered
This does not make much sense to me, would you want to sent updates on all status changes that Google supports?
Processing, Shipped, Delivered or Cancelled?
Does Google document the formats of the order status xml requests?
hi
is this what u a looking for?
http://code.google.com/apis/checkout...tml#appendix_b
and regarding updates, just post without changing states, and a message will be sent with the comments to the buyer.
README show how zencart state changes are mapped to GC ones
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
misty
Woody, entirely agree with your last post..
Tested googlecheckout for UK..just to prove
to myself that module worked.. did not at first,
but latest RC did(with Woody's help)..
and am satisfied with achievement..
However, in its current form, regarding download
exclusion(agreed this will probably be rectified
soon) and Woody's points, would not use google
checkout on my own live zensite/s..it does not fully integrate with
zencart, so that store admin remains in control of certain
important aspects;
Google takes some of that control away, and
they need to work on this for me to even contemplate
using their payment option with zencart..
JMHO..other zen members will have their own theories
hi misty,
could u specify witch important aspects u think that google take in control?
thx in avance
ropu
-
Re: Google Checkout module for Zen Cart (beta)
Thank you for the great resource!
The problem I experience is that the once I update the new order to "Processing" in ZC, the order is also updated in Google merchant. If I update the order in ZC from there, Google merchant does not continue to update.
I will have a "Shipped" item according to ZC, but when I log into Google merchant, it is still stuck in "Processing".
This is frustrating to me, because I know that will cause red flags between our customer service dept. and Google.
-
Re: Google Checkout module for Zen Cart (beta)
Quote:
Originally Posted by
mgraphic
Thank you for the great resource!
The problem I experience is that the once I update the new order to "Processing" in ZC, the order is also updated in Google merchant. If I update the order in ZC from there, Google merchant does not continue to update.
I will have a "Shipped" item according to ZC, but when I log into Google merchant, it is still stuck in "Processing".
This is frustrating to me, because I know that will cause red flags between our customer service dept. and Google.
hmmm...whenever I change to "shipped" in Zen Cart, Google Checkout service promptly receives order status change communication and then Zen Cart receives response back from Google. Response info appears in the admin orders comments area. And Google sends out TWO emails to customer.
For a list of things to check out see:
http://www.zen-cart.com/forum/showpo...postcount=1187
Are you employing custom mappings in Zen Cart for your order status?
In Zen Cart admin > Localization > Order Status what exactly appears in your list? Copy the list and post to this thread, maintaining the exact order of the list.
Woody