Zen Cart Logo
Forums / Addon Payment Modules / Google Checkout module for ZC 1.3.x (beta)

Google Checkout module for ZC 1.3.x (beta)

Locked

Views: 1,099,815

Results 1,181 to 1,200 of 3,921
This thread is locked. New replies are disabled.
17 Apr 2007, 12:11 AM
#1181
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Google Checkout module for ZC 1.3.x (beta)

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.

17 Apr 2007, 3:43 AM
#1182
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

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.

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

17 Apr 2007, 4:03 AM
#1183
globalvillage avatar

globalvillage

New Zenner

Join Date:
Aug 2006
Posts:
20
Plugin Contributions:
0

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

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:

 > 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?

17 Apr 2007, 5:41 AM
#1184
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (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?

17 Apr 2007, 7:31 AM
#1185
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (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...

17 Apr 2007, 8:21 AM
#1186
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

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/googlecheckout/responsehandler.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

17 Apr 2007, 9:08 AM
#1187
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

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

Sorted... Thanks Woodymon
Errors were as follows

1. Callback method: XML
Mine set as html
2. <http://code.google.com/apis/checkout/developer/release_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

17 Apr 2007, 10:59 AM
#1188
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

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

17 Apr 2007, 11:17 AM
#1189
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

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

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...

17 Apr 2007, 2:08 PM
#1190
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

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

17 Apr 2007, 2:15 PM
#1191
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

  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?

  1. 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 ;-)

  2. Why no support of text email? The lack of basic text email messaging and formatting support is so unprofessional.

  3. 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.

  1. 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.

  2. 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

17 Apr 2007, 4:40 PM
#1192
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Google Checkout module for ZC 1.3.x (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

17 Apr 2007, 5:04 PM
#1193
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

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

// ** 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

17 Apr 2007, 5:24 PM
#1194
mgraphic avatar

mgraphic

New Zenner

Join Date:
Oct 2005
Posts:
25
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (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?

17 Apr 2007, 6:18 PM
#1195
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

mgraphic:

Does Google document the formats of the order status xml requests?

I would start here.
http://code.google.com/apis/checkout/developer/release_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

17 Apr 2007, 6:19 PM
#1196
ropu avatar

ropu

Zen Follower

Join Date:
Oct 2006
Location:
argentina
Posts:
243
Plugin Contributions:
0

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

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

// ** Google Checkout **
if($selection[$i]['id'] == "googlecheckout")
continue;
// ** Google Checkout **

> 
> 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
 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
<?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
17 Apr 2007, 6:23 PM
#1197
ropu avatar

ropu

Zen Follower

Join Date:
Oct 2006
Location:
argentina
Posts:
243
Plugin Contributions:
0

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

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/developer/index.html#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

17 Apr 2007, 6:32 PM
#1198
ropu avatar

ropu

Zen Follower

Join Date:
Oct 2006
Location:
argentina
Posts:
243
Plugin Contributions:
0

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

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

17 Apr 2007, 6:41 PM
#1199
mgraphic avatar

mgraphic

New Zenner

Join Date:
Oct 2005
Posts:
25
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (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.

17 Apr 2007, 7:39 PM
#1200
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

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

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/showpost.php?p=360379&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